WebSphere 6 - TRANSACTION_ROLLEDBACK during create() on remote ejb

Hi,

I have an EJB running on a WSAD 5.1 which access a remote EJB running on WAS 6.

The remote EJB uses a XA datasource.

When the create() method is called, I get the following exception:

javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested exception is:

org.omg.CORBA.TRANSACTION_ROLLEDBACK:

Trace from server: 1198777258 at host li09 >>

org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x0 minor code: 0 completed: No

at com.ibm.ws.Transaction.JTS.CoordinatorImpl.get(CoordinatorImpl.java:309)

at com.ibm.ws.Transaction.JTS.TxServerInterceptor.receive_request(TxServerInterceptor.java:119)

at com.ibm.rmi.pi.InterceptorManager.iterateReceiveRequest(InterceptorManager.java(Compiled Code))

at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:599)

at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:463)

at com.ibm.rmi.iiop.ORB.process(ORB.java:439)

at com.ibm.CORBA.iiop.ORB.process(ORB.java:1737)

at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2260)

at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:65)

at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

<< END server: 1198777258 at host li09

minor code: 0 completed: No

org.omg.CORBA.TRANSACTION_ROLLEDBACK:

It happens only with XA datasource.

if I deploy the same remote ejb on WAS 5, and access it from WSAD 5, it works fine.

I would apreciate if someone has a hint.

Thanks

Samuel

[1690 byte] By [samuel_limaa] at [2007-10-3 5:21:49]
# 1
Hi,I got the solution in another forum.For those who faced the same problem go the link below and see the solution by the great Andy Wilkinson who saved my day. http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=266&thread=136590&cat=9Bye.
samuel_limaa at 2007-7-14 23:28:48 > top of Java-index,Java Essentials,Java Programming...