This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes JTA Transaction rollback exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JTA Transaction rollback exception" Watch "JTA Transaction rollback exception" New topic

JTA Transaction rollback exception

abhijit Ohal
Ranch Hand

Joined: Mar 10, 2006
Posts: 64
When one of the sql query get failed to execute i need to rollback transaction, so i get an exception " JTA Transaction rollback Failed exception" .but i remove following property from cfg files


<property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>

It works fine. I am using JBOSS server for developement

see some logs below.Please anybody help me .

JTA rollback failed
java.lang.IllegalStateException: No transaction.
at org.hibernate.transaction.JTATransaction.rollback(
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17250

Well it looks like it is trying to rollback a transaction, but there is no transaction there to begin with.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: JTA Transaction rollback exception