File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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

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