• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WAS 5.0 : CORBA TRANSACTION_ROLLEDBACK

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a stateless session bean which has been deployed with 'Bean Managed Transaction Demarcation' in Websphere 5.0
When I am calling any remote method from my client I am getting a
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLED
BACK 0x0 No;
The strange thing is that there is no exception thrown within the body of the remote method. The above exception is thrown on the execution of the 'return object' statement of the bean. This is happening for ALL methods of the bean which have some kind of database access code, BUT where that database code is not throwing any exceptions.
Given below is the entire exception stack:
--------------------------------------------------
javax.transaction.TransactionRolledbackException:
CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK:
Trace from server: 1198777258 at host sys56.tdiinc.com >>
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolled
backException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:526)
at com.ibm.ejs.csi.BeanManaged.postInvoke(BeanManaged.java:205)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlI
mpl.java:531)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2801)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2681)
at com.savvion.ejb.bizpulse.manager.EJSRemoteStatelessBizPulseManager_ab
824ac5.getAllInfopadNames(Unknown Source)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_a
b824ac5_Tie.getAllInfopadNames__CORBA_WStringValue__boolean(_EJSRemoteStatelessB
izPulseManager_ab824ac5_Tie.java:1243)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_a
b824ac5_Tie._invoke(_EJSRemoteStatelessBizPulseManager_ab824ac5_Tie.java:622)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegat
e.java:582)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
at com.ibm.rmi.iiop.ORB.process(ORB.java:320)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
:javax.transaction.TransactionRolledbackException: com.ibm.websphere.csi.CSITran
sactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:526)
at com.ibm.ejs.csi.BeanManaged.postInvoke(BeanManaged.java:205)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlI
mpl.java:531)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2801)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2681)
at com.savvion.ejb.bizpulse.manager.EJSRemoteStatelessBizPulseManager_ab
824ac5.getAllInfopadNames(Unknown Source)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_a
b824ac5_Tie.getAllInfopadNames__CORBA_WStringValue__boolean(_EJSRemoteStatelessB
izPulseManager_ab824ac5_Tie.java:1243)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_ab824ac5_Tie.getAllInfopadNames__CORBA_WStringValue__boolean(_EJSRemoteStatelessB
izPulseManager_ab824ac5_Tie.java:1243)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_a
b824ac5_Tie._invoke(_EJSRemoteStatelessBizPulseManager_ab824ac5_Tie.java:622)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegat
e.java:582)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
at com.ibm.rmi.iiop.ORB.process(ORB.java:320)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
at com.ibm.ejs.container.util.ExceptionUtil.mapCSIException(ExceptionUti
l.java:51)
at com.ibm.ejs.container.RemoteExceptionMappingStrategy.mapCSITransactio
nRolledBackException(RemoteExceptionMappingStrategy.java:207)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2858)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2681)
at com.savvion.ejb.bizpulse.manager.EJSRemoteStatelessBizPulseManager_ab
824ac5.getAllInfopadNames(Unknown Source)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_a
b824ac5_Tie.getAllInfopadNames__CORBA_WStringValue__boolean(_EJSRemoteStatelessB
izPulseManager_ab824ac5_Tie.java:1243)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_a
b824ac5_Tie._invoke(_EJSRemoteStatelessBizPulseManager_ab824ac5_Tie.java:622)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegat
e.java:582)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
at com.ibm.rmi.iiop.ORB.process(ORB.java:320)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
minor code: 0 completed: No
at com.ibm.ejs.csi.OrbUtilsImpl.mapException(OrbUtilsImpl.java:80)
at com.ibm.ejs.container.RemoteExceptionMappingStrategy.mapCSITransactio
nRolledBackException(RemoteExceptionMappingStrategy.java:207)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2858)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2681)
at com.savvion.ejb.bizpulse.manager.EJSRemoteStatelessBizPulseManager_ab
824ac5.getAllInfopadNames(Unknown Source)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_a
b824ac5_Tie.getAllInfopadNames__CORBA_WStringValue__boolean(_EJSRemoteStatelessB
izPulseManager_ab824ac5_Tie.java:1243)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_a
b824ac5_Tie._invoke(_EJSRemoteStatelessBizPulseManager_ab824ac5_Tie.java:622)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegat
e.java:582)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
at com.ibm.rmi.iiop.ORB.process(ORB.java:320)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
<< END server: 1198777258 at host sys56.tdiinc.com
minor code: 0 completed: No
--------------------------------------------------
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Verify your object that you are trying to return implements Serializable or not.
 
Juzar Roopawalla
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Well the error is resolved now. I did not realize that my datasource was non-XA! That is the reason I was getting that error only where database code was involved.
Thanks anyways!
Regards,
Juzar.
 
reply
    Bookmark Topic Watch Topic
  • New Topic