This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reentrant invocation exception when running parallel  RSS feed

 
Greg Brzezinski
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a J2EE application running (Iona ASP 6), which runs very well, when called from a servlet in sequence. However when I try to call my beans with several clients at once (parallel) I get the following exception:
javax.ejb.TransactionRolledbackLocalException: Marking distributed transaction for rollback as invocation of opertion createProjectContext resulted in a system exception; nested exception is: javax.ejb.EJBException: nested exception is: Entity Bean ProjectBean has had a reentrant invocation , however the bean is marked as non reentrant;
Again: this exception only occurs, when parallel calls are made to the beans, otherwise it runs just fine, so the code as such is NOT reentrant. I also have a facade session bean which transaction is marked 'requires new'.
Any help is much appreciated
Greg
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!