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

"JDBC rollback failed" after app left running over night

 
satnam singh negi
Greenhorn
Posts: 25
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After my test app runs over night on my development laptop, when I use the DataSignInPage, on form submit I get "org.hibernate.TransactionException: JDBC rollback failed" exception (stack trace below). I've seen this exception several times when the app is left running for a long time. Any idea the reason for this? Is it because connection pool connection gone stale? On subsequent login, "org.hibernate.SessionException: Session is closed!" (full stack trace behind the first stack trace). Restarting the app and it's fine again.
i am using struts2 with hibernate !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic