Stateful EJB and Local transactions...
Madhav Inamti <[email protected]> Wed, 27 Nov 2002 23:14:54 -0800
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <75C025AE395F374B81F6416B1D4BDEFBB083F6@mtv-corpmail.microfocus.com> |
I am performing tests on a connector using a Stateful Session EJB in which all remote methods have a "RequiresNew" Transaction attribute. I have also tried this with a "Required" attribute with the same result. After a "commit" is sent to the connector, I seem to be getting a ManagedConnection.cleanup() The connector 1.0 spec says that this is to clean up the state of the client so that the managed connection can be claimed by the app server's connection pool. The stateful session EJB loses all its state after a commit is sent since in the connector's ManagedConnection.cleanup(), a state disposal message is sent to the EIS. Has anybody encountered a similar issue ? Any ideas on how I can get a stateful session EJB to hold its state after a transaction is completed ? Thanks in advance, Madhav