File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Transaction RolledBackLocal Exception 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 » Java » EJB and other Java EE Technologies
Bookmark "Transaction RolledBackLocal Exception" Watch "Transaction RolledBackLocal Exception" New topic

Transaction RolledBackLocal Exception

Kevin Bradley

Joined: May 12, 2003
Posts: 11
When & by whom is this exception thrown??
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
The best answer I can give without more details is:
- The exception is thrown by the EJB Container
- The exception is thrown because someone called setRollbackOnly() during the transaction, some bean creation failed, or some other "fatal" error occurred that made the container mark the transaction as rollback only.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: Transaction RolledBackLocal Exception
Similar Threads
WA #1.....word association
counting algorithm
void return type in JSP expression
why JMX can not stop
Java ranch rules roundup