Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 9
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: 9912
    
158

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

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What are the reasons for "Could not enlist in transaction"?
 
Similar Threads
Two persistance-unit at persistence.xml for two database but its thows exception
JBoss XA Transactions
NestedSQLException: Could not enlist in transaction
How to do transaction with EJB/JPA and JDBC
JBoss JTA - Adding multiple last resources is disallowed