0 Replies Latest reply on Feb 24, 2004 1:54 AM by 415500

    SOS: oracle.jdbc.xa.client.OracleXADataSource

    415500
      I use Orable 8.17 with Sunone Application Server 7.0. The XA data source I use is : oracle.jdbc.xa.client.OracleXADataSource.


      Whenever I tried to update a table , an exception will be thrown :
      WARNING: JTS5041: The resource manager is doing work outside a global transaction
      oracle.jdbc.xa.OracleXAException
      at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:498)
      at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:190)
      at com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:245)
      at com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:165)
      at com.sun.enterprise.distributedtx.J2EETransaction.enlistResource(J2EETransaction.java:310)
      at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistResource(J2EETransactionManagerImpl.java:285)
      at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:108)
      at com.sun.enterprise.resource.PoolManagerImpl.registerResource(PoolManagerImpl.java:196)
      at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:172)
      at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:241)
      at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:170)
      at com.misys.advisorclienttransactionalfacade.ServiceLocator.getConnection(ServiceLocator.java:92)
      at com.misys.advisorclienttransactionalfacade.RocItemDataMapper.getConnection(RocItemDataMapper.java:103)
      at com.misys.sow.misysimplementationutilities.DAO.insertOrUpdateRecord(DAO.java:41)
      at com.misys.sow.misysimplementationutilities.DAO.insertOrUpdateRecord(DAO.java:30)


      Anyone got any idea ?