Project with Spring MVC CommunicationsException
Posted by: Juan Molina Castellanos
Date: June 27, 2015 03:41PM


Hi have a problem with my connection to MySQL. After 8 hours of inactivity I get the exception:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was ...

What can i do to avoid this problem ?

I am using mysql-connector-java version 5.1.15 for now the user of my system need to try twice to do a consulting the database.

Options: ReplyQuote

Written By
Project with Spring MVC CommunicationsException
June 27, 2015 03:41PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.