users@shoal.java.net

Shoal issue when using remote EJB

From: Enrico Sorio <enrico.so_at_tiscali.it>
Date: Wed, 17 Dec 2008 18:31:47 +0100

Hi, thanks for the previous answer.

Now I have another question:
I'm using shoal in an EJB application deployed on Glassfish and I'm
trying to call from an EJB a remote EJB on another glassfish client
(both the nodes joined the same shoal cluster).

Every call fails with the following error:
java.sql.SQLEXception: Error in allocating a connection. Cause:
java.lang.IllegalStateException: cannot add non-XA Resource to global
JTS transaction.

I haven't specified anywhere to use a XA Transaction.

The same EJB call works without any problem if the caller doesn't join
the shoal cluster.

Thank you in advance for any help
Enrico Sorio