Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
According to spec, if client is trying to make a call to already removed entity, NoSuchObjectException must be thrown:
14.3.9 Non-existing Stateful Session or Entity Object
If a client makes a call to a stateful session or entity object that has been removed, the container should throw the javax.ejb.NoSuchEJBException[80]. If the EJB 2.1 client view is used, the container should throw the java.rmi.NoSuchObjectException (which is a subclass of java.rmi.RemoteException) to a remote client, or the javax.ejb.NoSuchObjectLocalException to a local client.
In realtiy, I'm getting TransactionRolledBackException: