[jboss-user] [JCA/JBoss] - Could not enlist in transaction on entering meta-aware objec

alejosc do-not-reply at jboss.com
Wed Nov 26 10:22:37 EST 2008


Hi all. 

In my application i have two PersistenceUnits in Persistence.xml, two datasource configuration files: 

Datasource 1: 


<local-tx-datasource> 
<jndi-name>gekDatasource</jndi-name> 
<connection-url>jdbc:oracle:thin:@hp06a:1521:ddiv01</connection-url> 
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class> 
<user-name>mdbgekgen</user-name> 
mdbgekgen 
<min-pool-size>10</min-pool-size> 
<max-pool-size>50</max-pool-size> 
</local-tx-datasource> 


Datasource 2: 

datasources> 
<local-tx-datasource> 
<jndi-name>filevalDatasource</jndi-name> 
<connection-url>jdbc:oracle:thin:@hp06a:1521:ddiv01</connection-url> 
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class> 
<user-name>fileval</user-name> 
fileval 
<min-pool-size>10</min-pool-size> 
<max-pool-size>50</max-pool-size> 
</local-tx-datasource> 


and... in runtime, i get the following exception: 

WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionMan 
esource at 786b4f 
WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 
ERROR [JDBCExceptionReporter] Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: a550f09:1116:492d6371: 
tionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. t 
Imple < ac, BasicAction: a550f09:1116:492d6371:39 status: ActionStatus.ABORT_ONLY >)) 
ERROR [RetailoBatchLoadManagerBean] Failure Exception !! IOException: org.hibernate.exception.GenericJDBCException: Cannot open connection 
ERROR [RetailoBatchLoadManagerBean] [Ljava.lang.StackTraceElement;@5ba0d9 

Any help greatly appreciated. 
Thanks. 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192509#4192509

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192509



More information about the jboss-user mailing list