Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reentrant invocation exception when running parallel

Greg Brzezinski
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic