Jboss-3.2.4, oracle 8.1.7 and oracle 9i with appropriate drivers. Using Oracle XA
datasources I get the following error when I call a method on a bean with the
transaction attribute 'required'.
2004-07-15 14:23:57,881 INFO
[org.jboss.resource.connectionmanager.TxConnectionManager] Could not enlist in
transaction on entering meta-aware object!
javax.transaction.SystemException: Could not register synchronization with tx:
javax.transaction.RollbackException: Already marked for rollback
at
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:469)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:502)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
at solocup.sm.warehouse.WarehouseBean.getConnection(WarehouseBean.java:439)
at solocup.sm.warehouse.WarehouseBean.loadByKey(WarehouseBean.java:297)
at solocup.sm.warehouse.WarehouseBean.ejbLoad(WarehouseBean.java:191)
If I change to the local-tx datasource implementation it works. If I change the
transaction attribute to 'supports' the XA datasource works Is this a configuration
problem with XA datasources on my part or do they not work with this version of JBoss.
I am upgrading beans that are working in 2.4.3 to 3.2.4.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842303#3842303
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842303
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development