java.lang.IllegalStateException: cannot add non-XA Resource to global JTS t
Hi,
I am using JCAPS 5.1.2.
As one of my project requirement I am invoking a jcd from page flow and that jcd uses 2 oracle otd, each oracle otd corresponds to database which resides in two different machines/hosts.
When jcd is invoked from page flow, i got following error,
"java.lang.IllegalStateException: cannot add non-XA Resource to global
JTS transaction."
[#|2007-07-17T19:13:06.209+0530|SEVERE|IS5.1.2|javax.enterprise.resource.resour ceadapter|_ThreadID=17; ThreadName=Worker: 3;stacktrace-id=0;|RAR5029:Unexpected exception while registering component
java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EET ransactionManagerOpt.java:171)
at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManage rImpl.java:97)
at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerI mpl.java:71)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:14 2)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(Conne ctionManagerImpl.java:202)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(Connecti onManagerImpl.java:148)
at com.stc.gjc.spi.DataSource.getConnection(DataSource.java:67)
at com.stc.connector.oracleadapter.base.SessionImpl.connect(SessionImpl.java:130)
at com.stc.connector.oracleadapter.OracleSession.open(OracleSession.java:98)
at com.stc.connector.oracleadapter.OracleConnector.open(OracleConnector.java:90)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.<init> ;(OracleApplicationConnection.java:63)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.<init> ;(OracleApplicationConnection.java:50)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnectionFactory.getC onnection(OracleApplicationConnectionFactory.java:133)
at com.stc.oracle.runtime.ejb.OracleEWayRuntimeHandler.initializeService(OracleEWa yRuntimeHandler.java:256)
Please let me know is there any work around for above problem
Message was edited by:
VenkateshSampoornam

