Removing session bean twice - strange effects in JBoss

  • Thread starter Alex Molochnikov
  • Start date
A

Alex Molochnikov

My code erroneously sent remove() call to a stateful session bean's remote
interface twice. The first call triggered ejbRemove() method on the bean,
but the second call (to an already removed bean) sent it into a new creation
cycle, calling setSessionContext() method (and the stack trace shows create
methods from the container).

Should it not have thrown an exception instead? Did anyone experience
something like this? I am running JBoss 4.0.1 SP1 on Win XP Pro under Java
1.5.0-04.

Alex Molochnikov
Gestalt Corporation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top