users@glassfish.java.net

Re: Trouble calling a _at_Remove method of a stateful bean during a CMT

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Sep 2009 14:19:09 PDT

"Calling business methods marked with the @Remove annotation signifies a desire by the client to end the session".

Or, more simply, @Remove methods must the last transactional methods invoked because the container is at liberty to complete the transaction after invoking them.

It looks like GF did exactly that so your next invocation failed due to lack of a transactional context in which to execute.

Are you expecting different behaviour from an @Remove method?
[Message sent by forum member 'matterbury' (matterbury_at_abinitio.com)]

http://forums.java.net/jive/thread.jspa?messageID=362630