Meaningless Drivel is fun!*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
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
GenericJDBCException: Cannot open connection
Requesting help in connecting a DataSource(DSSDEV)
Jboss 5 database connection issues.
EJB3 entity bean
JBoss/JPA/Spring Question - What is the JNDI Name for the EntityManager