posted 22 years ago
Hi,
Im using visual age 3.5.4 environment. I have one session bean with transaction type TX_REQUIRED_NEW and one entity bean with TX_REQUIRED. I have one method in session bean which will get data from entity bean. Im getting data from entity bean sucessfully. But if i tried to return the data from session bean's method, im getting exception,
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException:
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.io.IOException(java.lang.String)
java.rmi.RemoteException(java.lang.String)
com.ibm.websphere.csi.CSIException(java.lang.String)
com.ibm.websphere.csi.CSITransactionRolledbackException(java.lang.String)
void com.ibm.ejs.csi.TranStrategy.commit()
void com.ibm.ejs.csi.TranStrategy.postInvoke(com.ibm.websphere.csi.EJBKey, com.ibm.ejs.csi.TxCookieImpl)
void com.ibm.ejs.csi.TransactionControlImpl.postInvoke(com.ibm.websphere.csi.EJBKey, com.ibm.websphere.csi.TxCookie, com.ibm.websphere.csi.ExceptionType)
void com.ibm.ejs.container.EJSContainer.postInvoke(com.ibm.ejs.container.EJSWrapper, int, com.ibm.ejs.container.EJSDeployedSupport)
java.util.Vector com.salepoint.inventory.boinventory.EJSRemoteBOInventory.getAllItems()
org.omg.CORBA.portable.OutputStream com.salepoint.inventory.boinventory._EJSRemoteBOInventory_Tie._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler)
com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(com.ibm.rmi.ServerRequest)
com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ORB.process(com.ibm.rmi.ServerRequest)
void com.ibm.CORBA.iiop.WorkerThread.run()
void com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run()
minor code: 0 completed: No
Note, if i modified the entity bean's transaction type to TX_REQUIRED_NEW then its works fine. But i need to have TX_REQUIRED transaction type which is giving exception. Please help me to solve this problem.
Thanks in advance.
Makesh