This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes What are the reasons for Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic
Author

What are the reasons for "Could not enlist in transaction"?

R. Praveen Kumar
Greenhorn

Joined: Dec 06, 2012
Posts: 10
Hi can somebody tell me atleast just the reasons why one will get the following exception even when using only one <local-tx-datasource> [for one mysql database]

[i am using jboss 3.2.6]

org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: enlistResource failed; - nested throwable: (javax.resource.ResourceException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: enlistResource failed)
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10441
    
176

Please continue the discussion in your other thread http://www.coderanch.com/t/599733/JBoss/NestedSQLException-enlist-transaction

[My Blog] [JavaRanch Journal]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What are the reasons for "Could not enlist in transaction"?
 
jQuery in Action, 3rd edition