wood burning stoves 2.0*
The moose likes Websphere and the fly likes TRANSACTION_ROLLEDBACK during create() on remote ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "TRANSACTION_ROLLEDBACK during create() on remote ejb" Watch "TRANSACTION_ROLLEDBACK during create() on remote ejb" New topic
Author

TRANSACTION_ROLLEDBACK during create() on remote ejb

Samuel Lima
Greenhorn

Joined: Sep 19, 2006
Posts: 7
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.

Does anyone have a hint?
Thanks
Samuel
Samuel Lima
Greenhorn

Joined: Sep 19, 2006
Posts: 7
Hi,

I got the answer in another forum.

For those who are facing the same problem, go to the link below and see the solution posted by the great Andy Wilkinson.

http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=266&thread=136590&cat=9

See you.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

You can overcome this by disabling protocol security on the WAS 6 server by
setting a custom property on the transaction service with a name of
DISABLE_PROTOCOL_SECURITY and a value of true.


Wow. You can tell the guy had been bitten by that problem a few times.

Sweet solution.

-Cameron
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TRANSACTION_ROLLEDBACK during create() on remote ejb