Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Project with Spring MVC CommunicationsException (no replies)

$
0
0
Hello

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.

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>