Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Bean Not Re-entrant Exception

 
Aakash Parashar
Ranch Hand
Posts: 123
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
krishnamoorthy kitcha
Ranch Hand
Posts: 96
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!