Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic