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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4.
 
Similar Threads
Cannot get a connection, pool error Timeout waiting for idle object
spring / ibatis issue
Getting :time out during commit processing
SQLException invalid cursor
Petclinic of Spring2.5.6 with MYSQL and GLASSFISH