This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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