aspose file tools*
The moose likes Struts and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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 !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "JDBC rollback failed" after app left running over night