]
Kirill Paliy updated AS7-6820:
------------------------------
Git Pull Request:
Wrong exception thrown by container for non-existent entity
-----------------------------------------------------------
Key: AS7-6820
URL:
https://issues.jboss.org/browse/AS7-6820
Project: Application Server 7
Issue Type: Bug
Reporter: Kirill Paliy
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:
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: