Could anyone give me some comments on this exception? In our design, one
session bean is used to access some entity beans. Each bean will ask for a
db connection from a pool when it needs data from database, and then return
the connection back to the pool immediately after accessing database.

The transaction attribute for session bean is TX_REQUIRES_NEW. and for
entity bean is TX_REQUIRED.

java.rmi.RemoteException: The coordinator has rolled back the transaction.
No further JDBC access is allowed within this transaction.
        at java.lang.Exception.<init>(Compiled Code)
        at java.io.IOException.<init>(Compiled Code)
        at java.rmi.RemoteException.<init>(Compiled Code)
        at cmx.bm.entity.StockBean._refresh(Compiled Code)
        at cmx.bm.entity.StockBean.ejbFindByPrimaryKey(Compiled Code)
        at cmx.bm.entity.StockBeanHomeImpl.findByPrimaryKey(Compiled Code)
        at cmx.bm.entity.StockBeanHomeImpl_ServiceStub.findByPrimaryKey(Compiled
Code)
        at cmx.bm.tpc.StockLevelBean3._getStockQuantity(Compiled Code)
        at cmx.bm.tpc.StockLevelBean3.checkStockLevel(Compiled Code)
        at cmx.bm.tpc.StockLevelBean3EOImpl.checkStockLevel(Compiled Code)
        at cmx.bm.tpc.WLSkel6o3q5y32576b1j2o5e23583n1o4c6k1y.execute(Compiled
Code)
        at weblogic.rmi.internal.BasicAdapter.invoke(Compiled Code)
        at weblogic.rmi.internal.BasicAdapter.execute(Compiled Code)
        at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)

thanks very much in advance
-Ming

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to