Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8869447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:29:03+00:00 2026-06-14T17:29:03+00:00

Full text of log message: Log Message: An error occurred while grabbing new users

  • 0

Full text of log message:

Log Message: An error occurred while grabbing new users
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 44,567,434 milliseconds ago. The last packet sent successfully to the server was 44,567,434 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.

This is strange to me because that is over 10 hours. My program was happily and successfully running, including communicating with the database, over the previous 10 hours. The best hypothesis I have is that a single connection in the pool was stale but in that case I don’t know why this wouldn’t be cleaned up automatically or if this exception was related to that operation. How should I handle this?

Am using c3p0 connection pool.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:29:04+00:00Added an answer on June 14, 2026 at 5:29 pm

    c3p0 has lots of means of testing Connections and preventing them from timing out or going stale. the simplest way to solve the particular problem you are seeing would be to simply set the config parameter maxIdleTime to, say, 8 hours (28800 seconds).

    but you might want to start testing Connections in general, for example, by setting idleConnectionTest period to something frequent and setting testConnectionOnCheckin to true. See…

    http://www.mchange.com/projects/c3p0/#configuring_connection_testing

    http://www.mchange.com/projects/c3p0/#configuration_properties

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used full text search mysql. My code is select * from uh_property
Is there a way that this full-text searching query could be translated from MySQL
I've read about full-text search functions in mysql. But in these methods you have
I have a variable full of text, its actually a git log. Each line
I'm adding full-text search to my Rails site and allowing users to enter double
A search procedure using full text search (it means: is hard to reproduce the
We have a full text index on a fairly large table of 633,569 records.
I've got a full text catalogue setup. It has a unique key count of
In MS SQL Full-text search, I'm using ISABOUT in my queries. For example, this
If I add a full text index in PostgreSQL, will my LIKE and ILIKE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.