Menu

#63 DB autoreconnect fails

QMRF Database 2.0.0
closed
None
2012-11-30
2012-09-26
No

Despite all efforts to use autoreconnect options, 3 retry attempts and pinging, the DB connection is only restored during the second query attempt. Check what's wrong!

"SEVERE: The last packet successfully received from the server was 73,310,488 milliseconds ago. The last packet sent successfully to the server was 73,310,492 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 manifests itself on first web page access failing, while the subsequent attempts work. Or log in working only on a second attempt.

Discussion

  • Nina Jeliazkova

    Nina Jeliazkova - 2012-10-29
    • status: open --> pending
     
  • Nina Jeliazkova

    Nina Jeliazkova - 2012-11-01
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB