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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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 !!
 
wood burning stoves
 
subject: "JDBC rollback failed" after app left running over night
 
Similar Threads
WebLogic 8.1 A JDBC pool connection leak was detected
printStackTrace creates and runs a thread?
Transaction rollback...and being user friendly
JDBC connection through Secure Sockets Layer
Query about rollback() method