users@glassfish.java.net

Re: persist error - no active transaction on Remote Stateless Session Bean

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Mar 2009 22:43:43 PDT

Dear Sahoo,

As you explain, I should not make any change to my EJB and it should persist my entities. But I still get the "No transaccion is currently Active".

I have checked you BLOG5 example, and I find two differences

1.- Your persistence.xml file does not have <transaction-type="JTA">, and mine has it.

2.- You declare an @REMOTE below the @STATELESS, but I define the @REMOTE on the Interface declaration.

Can you suggest anything else I can check ??

Thank you.
[Message sent by forum member 'antoniojsg' (antoniojsg)]

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