Hi.
Now, I'm developping an EJB, I have faced a problem.
If someone knew how to solve the problem,could you tell me?
The problem is:
- Sometime TransactionRolledbackException is thrown when
I called the EntityBean's method (which is BMP).
- the exception is org.omg.CORBA.TRANSACTION_ROLLEDBACK
Detail:
- The exception is not always thrown.
- The exception is thrown when I called BusinessMethod.
(Not ejb*** method,but getModel() or getDetail(),etc...)
- That method was called from another EntityBean(BMP).
- That EntityBean was called from another SessionBean.
- That method is read only method, and never update DB.
- I tried to set some kind of Transaction to the method,
I could not find out the solution.
Development Environment:
- IBM WebSphere 3.0.2.1Advanced Edition
- Oracle Workgroup Server 8.1.6
- IBM JDK 1.1.7
The exception detail is:
javax.transaction.TransactionRolledbackException:
CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: minor code: 0 completed: No
at javax.rmi.CORBA.Util.mapSystemException(Util.java:152)
at javax.rmi.CORBA.Util.wrapException(Util.java:478)
at
com.***.login.ejb._LoginSession_BaseStub.performLogin(_LoginSession_BaseStub
.java:263)
at
com.***.login.ejb._LoginSession_Stub.performLogin(_LoginSession_Stub.java:20
7)
at com.***.login.web.LoginModelWebImpl.login(LoginModelWebImpl.java:92)
at
com.***.login.web.LoginModelWebImpl.handleEvent(LoginModelWebImpl.java:53)
at ***.login.LoginServlet.doPost(LoginServlet.java:61)
(*** means my client name)
I think this problem may be solved by setting Transaction correctly,
but I couldn't find what kind of setting is correct.
Thanks.
===========================================================================
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".
