stevenanto
Programmer
Hi,
This is Stephen.
I am using FrontiersuiteforJDO(OR MAPPING TOOL) with websphere 5.
What my goal is,getting a userTransaction from websphere application server and use it in my coding for jdo.
I am getting the following exception while running my servlet in websphere 5
java.lang.IllegalStateException 07/29/03 11-48:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse: at com.ibm.ejs.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:444) 07/29/03 11-48:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse: at com.objectfrontier.jfuse.jca.spi.JFuseConnection.initializeForUse(JFuseConnection.java:222)
My servlet code:
javax.transaction.UserTransaction utx = (javax.transaction.UserTransaction)getInitialContext().lookup("java:comp/UserTransaction");
utx.begin();
------
coding
-------
utx.commit();
I am getting this error in log file.
07/31/03 06-49:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse:Enlisting with Transaction Manager
07/31/03 06-49:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse:Unalbe to enlist resource to the transaction
07/31/03 06-49:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse:java.lang.IllegalStateException
07/31/03 06-49:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse: at com.ibm.ejs.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:444)
Can u please advise me where i am wrong?
Is it problem with websphere or jdo vendor?
Thanx in advance
Stephen
This is Stephen.
I am using FrontiersuiteforJDO(OR MAPPING TOOL) with websphere 5.
What my goal is,getting a userTransaction from websphere application server and use it in my coding for jdo.
I am getting the following exception while running my servlet in websphere 5
java.lang.IllegalStateException 07/29/03 11-48:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse: at com.ibm.ejs.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:444) 07/29/03 11-48:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse: at com.objectfrontier.jfuse.jca.spi.JFuseConnection.initializeForUse(JFuseConnection.java:222)
My servlet code:
javax.transaction.UserTransaction utx = (javax.transaction.UserTransaction)getInitialContext().lookup("java:comp/UserTransaction");
utx.begin();
------
coding
-------
utx.commit();
I am getting this error in log file.
07/31/03 06-49:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse:Enlisting with Transaction Manager
07/31/03 06-49:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse:Unalbe to enlist resource to the transaction
07/31/03 06-49:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse:java.lang.IllegalStateException
07/31/03 06-49:Servlet.Engine.Transports : 0:JFuseConnection:initializeForUse: at com.ibm.ejs.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:444)
Can u please advise me where i am wrong?
Is it problem with websphere or jdo vendor?
Thanx in advance
Stephen