This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark ""JDBC rollback failed" after app left running over night" Watch ""JDBC rollback failed" after app left running over night" New topic
Author

"JDBC rollback failed" after app left running over night

satnam singh negi
Greenhorn

Joined: Aug 13, 2011
Posts: 25

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 !!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: "JDBC rollback failed" after app left running over night