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

Session Bean exception

Ranadhir Nag
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe to have read that RunTimeExceptions raised from session beans do not propagate as-is to client;and cause beans to be removed from the pool and obliterated.
We have a stateless session bean throwing an IllegalArgumentException.
This get wrapped as EJBException at the client which is as expected.
However,we do not see the bean instance being discarded from the pool ( ejbremove is not invoked).

I would have expected the ejbremove to have been invoked for this bean instance.
THe pooling parameters are:

Any help is appreciated.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic