org.apache.openjpa.persistence.PersistenceException

The last packet successfully received from the server was 187,404,662 milliseconds ago. The last packet sent successfully to the server was 187,404,662 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.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web37

  • via Unknown by David Beer,
  • via Unknown by David Beer,
  • via Unknown by David Beer,
  • Stack trace

    • org.apache.openjpa.persistence.PersistenceException: The last packet successfully received from the server was 187,404,662 milliseconds ago. The last packet sent successfully to the server was 187,404,662 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. at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4918) at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4878)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    WoodenDoorsWoodenDoors
    4 times, last one
    Unknown visitor
    Unknown visitorOnce,