users@glassfish.java.net

Re: Transactional error when using JMS from stateless session bean

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Sep 2008 01:54:45 PDT

I have confirmed that the instance of slsb B is the same for the two threads when this exception occurs.
But to clarify; the method invoked in slsb B (which sends to the topic) finishes before the other thread invokes it (in this transaction exception case).

But if I make another ejb class (slsb C) with the same content as the slsb B, and routes one thread to slsb B and the other to slsb C (both invoked from slsb A), then this exception never happens.

Regards,
Jon
[Message sent by forum member 'jonjeau' (jonjeau)]

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