The Artima Developer Community
Sponsored Link

Java Answers Forum
EJB Transaction rollback exception in Visual Age environment

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Makesh Babu

Posts: 2
Nickname: makesh
Registered: Jun, 2002

EJB Transaction rollback exception in Visual Age environment Posted: Jun 1, 2002 9:25 PM
Reply to this message Reply
Advertisement
Hi,
Im using visual age 3.5.3 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)
ja va.io.IOException(java.lang.String)
java.rmi.RemoteException(java.lang.String)
c om.ibm.websphere.csi.CSIException(java.lang.String)
com.ibm.websphere.csi.CSITra nsactionRolledbackException(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)
c om.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

Topic: Question about variable, methods and constants Previous Topic   Next Topic Topic: Where to load JDBC drivers from ?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use