Skip navigation links

MySQL Forums :: Connector/JDBC and Java :: Error rebooting my Database Service


Advanced Search

Error rebooting my Database Service
Posted by: Cremades Juan Jesús ()
Date: May 08, 2013 02:35AM

Hi everybody,

I have the next error in my apache tomcat server. I has read that is very common, but the solutions suggested hasn't worked for me:

2013-05-08 10:12:35,558 ERROR [org.hibernate.transaction.JDBCTransaction] - JDBC begin failed
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was XXX milliseconds ago. The last packet sent successfully to the server was XXX milliseconds ago.

It happens when my database is reboot but no the Tomcat Server. And the error only happens once. The next call works fine.

Despite of my JDBC url has the autoReconnect=true parameter. The host is reachable too and all the DNS were resolved correctly.



Thanks

Options: ReplyQuote


Subject Written By Posted
Error rebooting my Database Service Cremades Juan Jesús 05/08/2013 02:35AM
Re: Error rebooting my Database Service Todd Farmer 05/08/2013 09:31AM


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.