Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sijesh Alayaril
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic