wood burning stoves 2.0*
The moose likes JSF and the fly likes Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4." Watch "Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4." New topic
Author

Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4.

Sijesh Alayaril
Ranch Hand

Joined: Jan 13, 2012
Posts: 37
Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.

I'm facing this problem when trying to build one particular service using 'mvn clean install'.When i google it i found like its because of MySQL terminates a connection after 8 hour timeout.How should i fix this Problem.i tried all the way that i found but not happy.

Thanks in advance

Cheers
Sijesh

 
 
subject: Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4.
 
Similar Threads
Petclinic of Spring2.5.6 with MYSQL and GLASSFISH
spring / ibatis issue
Cannot get a connection, pool error Timeout waiting for idle object
SQLException invalid cursor
Getting :time out during commit processing