This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Bean Not Re-entrant Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Bean Not Re-entrant Exception" Watch "Bean Not Re-entrant Exception" New topic
Author

Bean Not Re-entrant Exception

Aakash Parashar
Ranch Hand

Joined: Jul 25, 2005
Posts: 122

Hi Freinds,

This quesry is not related to SCBCD, but its very severe and happening in our project.

Is it safe to call/access a stateful session bean from a servlet?

I am asking because we are getting bean not re-entrant exception on and off.

We tried to solve it by putting the ejb call in synchronized block but still its coming. We did it because servlet process method executes by many threads at time but still its not helping.

Dear freinds, i need your inputs to resolve this issue.

Thanks.


Your's Aakash
SCJP 1.4 96%, SCBCD 1.3 94%, http://java-application-programming.blogspot.in
krishnamoorthy kitcha
Ranch Hand

Joined: Feb 04, 2006
Posts: 96
Hi Checked this link

http://swjscmail1.sun.com/cgi-bin/wa?A2=ind0204&L=j2eepatterns-interest&P=23063
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Bean Not Re-entrant Exception