aspose file tools*
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
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

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