#2 - Remote - java.rmi.NoSuchObjectException Local - javax.ejb.NoSuchObjectLocalException
#6 - Ref 7.5.6 of Spec Clients are not allowed to make concurrent calls to a stateful session object. If a client-invoked business method is in progress on an instance when another client-invoked call, from the same or different client, arrives at the same instance of a stateful session bean class, the container may throw the java.rmi.RemoteException to the second client,if the client is a remote client, or the javax.ejb.EJBException, if the client is a local client. This restriction does not apply to a stateless session bean because the container routes each request to a different instance of the session bean class.
In this case the rlevant section in EJB Spec is 7.6, Page No.79;
An attempt to remove a session object while the object is in a transaction will cause the container to throw the avax.ejb.RemoveException to the client.
Hence, RemoveException seems to be right in given scenario.
Regards
SCJP<br />SCBCD<br /> <br />***Brains, like hearts, go where they are appreciated***