This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Hibernate: Mysql Auto Reconnect is not happening. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Hibernate: Mysql Auto Reconnect is not happening." Watch "Hibernate: Mysql Auto Reconnect is not happening." New topic
Author

Hibernate: Mysql Auto Reconnect is not happening.

Csk Kumar
Greenhorn

Joined: Mar 07, 2011
Posts: 13
Hi,
I am using Hibernate and Mysql for my application which is running on jboss-5.1.0.GA.

Issue:
Mysql Auto Reconnect is not happening.
Whenver i keep my jboss Idle(say one day), it is throwing below pasted exception. Could you please help me out in resolving this issue?

Thanks in advance!!

hibernate.cfg.xml



Exception looks like this:



[
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate: Mysql Auto Reconnect is not happening.
 
Similar Threads
EJB3 entity bean
GenericJDBCException: Cannot open connection
Jboss 5 database connection issues.
JBoss/JPA/Spring Question - What is the JNDI Name for the EntityManager
Requesting help in connecting a DataSource(DSSDEV)