• 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 Bug?? (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. The object is a serializable object. This is happening for ALL methods of the bean which have some kind of database access code, BUT the database code is not throwing any exceptions.
First of all WHY should the container try to commit a transaction on the method, when the transaction-type is set to Bean managed!!!
The Datasource I am using is a non-XA datasource pointing to oracle 9i.
Is this a bug?
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: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you find a solution to your problem ?
reply
    Bookmark Topic Watch Topic
  • New Topic