Hallo all
I'm a totaly newbie with the jboss. And now I have a big problem. I programmed an application with a lot Stateful-Beans end Entity-Beans.
The Framework is Seam and JSF and the Database I use is Oracle 9.
If I run tha application localhost and use the database in my local-network everything works wonderful and without any problems.....
but if I switch to the database over a vpn-connection I get in some statefulbeans the following error:
15:00:13,187 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@11f866e 15:00:13,203 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 15:00:13,203 ERROR [JDBCExceptionReporter] Could not enlist in transaction on entering meta-aware object!; - nested throwable: (
javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57ff2d:d0d:4ba23111:83 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57ff2d:d0d:4ba23111:83 status: ActionStatus.ABORT_ONLY >))
I searched with google, and tried some solution-posibilities but nothing works. I hope somebody can tell me where the problem ist and how I can solve it.
If you need more details or codesnippet, let me know.
Thank you for your help.
though I don't understand where the problem is, I solved it.
I used the oracle-ds.xml for my db-connections.
But I changed to oracle-xa-ds.xml and now it works fine.
neverless I hope that somebody can tell my why the error was there.