Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

stateful session ejb reentrant error

843830Jun 7 2006 — edited Jan 9 2007
Hello,

I've created a web application. I have an entry servlet which creates a stateful session ejb and stores its reference in the session. The servlet then forwards to a .jsp page for some user decisions on a form. The decisions are processed by another servlet. The whole time, I rely on the session to get the reference to the ejb.

Now that more people are using this web application, I'm seeing these errors pop up:
Could not invoke the service() method on servlet /Blah.jsp. 
Exception thrown : javax.ejb.EJBException: See nested exception; nested exception is: 
com.ibm.ejs.container.BeanNotReentrantException: 
TX_IN_METHOD: wrong transaction
My question is, how to I tackle figuring this out? I see nowhere in any of my code where I cause a reentrant situation. Unless, of course, I do not recognize all those situations. What should I be looking for? What advice do you have for troubleshooting this?

Any suggestions of hints would be very appreciated!

-jeff

Message was edited by:
jousley
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2007
Added on Jun 7 2006
5 comments
262 views