This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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 !!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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