5 Replies Latest reply on Apr 22, 2004 6:27 AM by dxbcto

    XAER_RMERR Error

    dxbcto Newbie

      Hello,

      I am new to JBoss...it is great stuff...thanks for a great product and great forums.

      I am testing a BMP bean that has access to 2 databases using Oracle's XA driver. The test case loads a bean instance and calls an EJB method (i.e doTest shown below). After about 200 to 250 iterations (i.e. loads/calls), I get an XAER_RMERR error (the stack is shown below).

      I noticed that other people have similar problems....but I found no answer although I think I tried all the suggestions that I could locate. Sorry.

      Below I listed my test environment, the EJB method code sample, my standardjboss.xml, my -ds.xml, other settings and the stack dump. I appreciate any help or pointers.

      Thanks,
      Khaled


      Environment:
      ========
      I have JBoss 3.2.3 on JDK j2sdk1.4.2_04 on an XP machine against Oracle 9i. I have the latest Oracle 1.4 JDBC driver.

      EJB Method code:
      ===========

      public void doTest() throws CellException
       {
       Connection dss_conn = null;
       Connection club_conn = null;
       BaseDBData dbRs = null; // BaseDBData is a wrapper for result set and statement
       BaseDBData dbRs1 = null;
      
       try
       {
       dss_conn = openConnection("OracleCCPM"); // openConnection is shown below
       club_conn = openConnection("OracleDB");
      
       // Do something silly just to use the connections
       update(club_conn, "UPDATE OPS_CELLS SET cell_type_id = 0 WHERE cell_type_id = 0");
       update(dss_conn, "UPDATE OPS_CELLS SET cell_type_id = 0 WHERE cell_type_id = 0");
      
       dbRs = execute(club_conn, "SELECT * FROM opc_cells");
       dbRs1 = execute(club_conn, "SELECT * FROM opc_cells");
      
       try {dbRs1.close();}catch(Exception e){}
       try {dbRs.close();}catch(Exception e){}
       }
       catch (Exception e)
       {
       }
       finally
       {
       try {dbRs1.close();}catch(Exception e){}
       try {dbRs.close();}catch(Exception e){}
       try {closeConnection(dss_conn);}catch(Exception e){}
       try {closeConnection(club_conn);}catch(Exception e){}
       }
       }
      
      
       public Connection openConnection(String dataStoreName) throws Exception
       {
       try
       {
       InitialContext jndiContext = new InitialContext();
       DataSource ds = (DataSource) jndiContext.lookup(dataStoreName);
       return ds.getConnection();
       }
       catch (Exception e)
       {
       throw new Exception("....");
       }
      
       }


      standardjboss.xml:
      ============
      <container-configuration>
      <container-name>Standard BMP EntityBean</container-name>
      <call-logging>false</call-logging>
      <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
      <sync-on-commit-only>false</sync-on-commit-only>
      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
      <container-interceptors>
      org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
      org.jboss.ejb.plugins.LogInterceptor
      org.jboss.ejb.plugins.SecurityInterceptor
      org.jboss.ejb.plugins.TxInterceptorCMT
      org.jboss.ejb.plugins.MetricsInterceptor
      org.jboss.ejb.plugins.EntityCreationInterceptor
      org.jboss.ejb.plugins.EntityLockInterceptor
      org.jboss.ejb.plugins.EntityInstanceInterceptor
      org.jboss.ejb.plugins.EntityReentranceInterceptor
      org.jboss.resource.connectionmanager.CachedConnectionInterceptor
      org.jboss.ejb.plugins.EntitySynchronizationInterceptor
      </container-interceptors>
      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
      <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
      <container-cache-conf>
      <cache-policy>org.jboss.ejb.plugins.NoPassivationCachePolicy</cache-policy>
      <cache-policy-conf>
      <min-capacity>50</min-capacity>
      <max-capacity>1000000</max-capacity>
      <overager-period>300</overager-period>
      <max-bean-age>600</max-bean-age>
      <resizer-period>400</resizer-period>
      <max-cache-miss-period>60</max-cache-miss-period>
      <min-cache-miss-period>1</min-cache-miss-period>
      <cache-load-factor>0.75</cache-load-factor>
      </cache-policy-conf>
      </container-cache-conf>
      <container-pool-conf>
      100
      </container-pool-conf>
      <commit-option>B</commit-option>
      </container-configuration>

      My -ds.xml:
      ========

      <xa-datasource>
      <jndi-name>OracleDB</jndi-name>
      <track-connection-by-tx>true</track-connection-by-tx>
      <isSameRM-override-value>false</isSameRM-override-value>
      <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
      <xa-datasource-property name="URL">jdbc:oracle:thin:@xxx:1581:yyy</xa-datasource-property>
      <xa-datasource-property name="User">me</xa-datasource-property>
      <xa-datasource-property name="Password">me</xa-datasource-property>
      <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
      <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
      <!-- Checks the Oracle error codes and messages for fatal errors -->
      <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
      <!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa -->
      <no-tx-separate-pools/>
      </xa-datasource>

      <xa-datasource>
      <jndi-name>OracleCCPM</jndi-name>
      <track-connection-by-tx>true</track-connection-by-tx>
      <isSameRM-override-value>false</isSameRM-override-value>
      <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
      <xa-datasource-property name="URL">jdbc:oracle:thin:@xxx:1581:yyy</xa-datasource-property>
      <xa-datasource-property name="User">me</xa-datasource-property>
      <xa-datasource-property name="Password">me</xa-datasource-property>
      <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
      <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
      <!-- Checks the Oracle error codes and messages for fatal errors -->
      <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
      <!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa -->
      <no-tx-separate-pools/>
      </xa-datasource>


      <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager






      Other Settings:
      ==========
      pad is set true


      <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager

      <!--SpecCompliant false means JBoss will close connections left open when you
      return from a method call and generate a loud warning. SpecCompliant true
      means JBoss will disconnect connection handles left open on return from a
      method call and reconnect them with an appropriate (security, tx)
      connection on the next call to the same object.-->
      false

      <!-- Enable connection close debug monitoring -->
      false



      Stack dump:
      ===========
      2004-04-20 20:15:19,978 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1213, BranchQual=] errorCode=XAER_RMERR
      oracle.jdbc.xa.OracleXAException
      at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
      at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:450)
      at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedConnection.java:156)
      at org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1205)
      at org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1278)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:355)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:398)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:277)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
      at org.jboss.ejb.Container.invoke(Container.java:700)
      at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      at sun.rmi.transport.Transport$1.run(Transport.java:148)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      at java.lang.Thread.run(Thread.java:534)
      2004-04-20 20:15:19,978 WARN [org.jboss.tm.TransactionImpl] xa error: -3 (A resource manager error has occured in the transaction branch.); oracle error: 65535; oracle sql error: -1;
      oracle.jdbc.xa.OracleXAException
      at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
      at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:450)
      at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedConnection.java:156)
      at org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1205)
      at org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1278)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:355)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:398)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:277)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
      at org.jboss.ejb.Container.invoke(Container.java:700)
      at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      at sun.rmi.transport.Transport$1.run(Transport.java:148)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      at java.lang.Thread.run(Thread.java:534)
      2004-04-20 20:15:20,018 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException in method: public abstract void com.hmc.ccapp.ecomponents.entities.cell.ICell.doTest() throws java.rmi.RemoteException,com.hmc.ccapp.ecomponents.entities.cell.exceptions.CellException, causedBy:
      org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1213, BranchQual=] status=STATUS_NO_TRANSACTION; - nested throwable: (oracle.jdbc.xa.OracleXAException)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:413)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:398)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:277)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
      at org.jboss.ejb.Container.invoke(Container.java:700)
      at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      at sun.rmi.transport.Transport$1.run(Transport.java:148)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: oracle.jdbc.xa.OracleXAException
      at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
      at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:450)
      at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedConnection.java:156)
      at org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1205)
      at org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1278)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:355)
      ... 24 more


        • 1. Re: XAER_RMERR Error
          Adrian Brock Master

          conf/jboss-service.xml

          Set the XID to be pad=true

          • 2. Re: XAER_RMERR Error
            dxbcto Newbie

            Adrian,

            Thank u very much for your reply! But the pad is already set to true as it is shown in my other settings section.

            Thank you again.

            • 3. Re: XAER_RMERR Error
              Adrian Brock Master

              in the "READ THIS FIRST" you will find information on how to get extra logging.

              It would also be helpful to see the real jdbc operations, rather than your wrappers.

              • 4. Re: XAER_RMERR Error
                dxbcto Newbie

                Adrian,


                Ok....I did turn on the traces and the dump below is what I got. There was a lot of dump generated ...so I showed a bit before the failure and a bit after.

                Thank you again...I appreciate your help.

                Trace:
                ====

                2004-04-21 19:08:26,337 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] subject: null
                2004-04-21 19:08:26,337 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] getManagedConnection returning unassociated connection
                2004-04-21 19:08:26,337 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] supplying ManagedConnection from pool: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b
                2004-04-21 19:08:26,337 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Getting connection from pool [InUse/Available/Max]: [1/1/20]
                2004-04-21 19:08:26,337 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] enlisting currenttx: TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=], ManagedConnection: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b
                2004-04-21 19:08:26,337 TRACE [org.jboss.tm.TransactionImpl] enlistResource(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=] status=STATUS_ACTIVE
                2004-04-21 19:08:26,337 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=1]) entered: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b flags=0
                2004-04-21 19:08:26,337 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=1]) leaving: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b flags=0
                2004-04-21 19:08:26,337 TRACE [org.jboss.tm.TransactionImpl] registerSynchronization(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=] status=STATUS_ACTIVE
                2004-04-21 19:08:26,337 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] registering connection from org.jboss.resource.connectionmanager.TxConnectionManager@1e6cf07, connection : org.jboss.resource.adapter.jdbc.WrappedConnection@1ab6087, key: null
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] connectionClosed called
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] unregistering connection from org.jboss.resource.connectionmanager.TxConnectionManager@1e6cf07, object: org.jboss.resource.adapter.jdbc.WrappedConnection@1ab6087, key: null
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] unregisterConnection: 0 handles left
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] old stack for key: com.hmc.eccpm.ecomponents.entities.cell.CCPMCellBean@c3507d
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] subject: null
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] getManagedConnection returning connection org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b already associated with tx TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=]
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] currenttx: TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=], already enlisted for ManagedConnection: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] registering connection from org.jboss.resource.connectionmanager.TxConnectionManager@1e6cf07, connection : org.jboss.resource.adapter.jdbc.WrappedConnection@4507ed, key: org.jboss.resource.connectionmanager.CachedConnectionManager$KeyConnectionAssociation@c3507d
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] connectionClosed called
                2004-04-21 19:08:26,347 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] unregistering connection from org.jboss.resource.connectionmanager.TxConnectionManager@1e6cf07, object: org.jboss.resource.adapter.jdbc.WrappedConnection@4507ed, key: org.jboss.resource.connectionmanager.CachedConnectionManager$KeyConnectionAssociation@c3507d
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] unregisterConnection: 0 handles left
                2004-04-21 19:08:26,357 TRACE [org.jboss.tm.TransactionImpl] registerSynchronization(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=] status=STATUS_ACTIVE
                2004-04-21 19:08:26,357 TRACE [org.jboss.tm.TransactionImpl] registerSynchronization(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=] status=STATUS_ACTIVE
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] subject: null
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] getManagedConnection returning connection org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b already associated with tx TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=]
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] currenttx: TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=], already enlisted for ManagedConnection: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] registering connection from org.jboss.resource.connectionmanager.TxConnectionManager@1e6cf07, connection : org.jboss.resource.adapter.jdbc.WrappedConnection@e62df, key: org.jboss.resource.connectionmanager.CachedConnectionManager$KeyConnectionAssociation@c3507d
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] subject: null
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] getManagedConnection returning unassociated connection
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] supplying ManagedConnection from pool: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@3e574
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Getting connection from pool [InUse/Available/Max]: [1/1/20]
                2004-04-21 19:08:26,357 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] enlisting currenttx: TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=], ManagedConnection: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@3e574
                2004-04-21 19:08:26,357 TRACE [org.jboss.tm.TransactionImpl] enlistResource(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=] status=STATUS_ACTIVE
                2004-04-21 19:08:26,357 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=2]) entered: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@3e574 flags=0
                2004-04-21 19:08:26,357 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=2]) leaving: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@3e574 flags=0
                2004-04-21 19:08:26,357 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=] errorCode=XAER_RMERR
                oracle.jdbc.xa.OracleXAException
                at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
                at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
                at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:143)
                at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1148)
                at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:636)
                at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:455)
                at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:483)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
                at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
                at com.hmc.clubcentral.ecomponents.BaseComponentImpl.openConnection(BaseComponentImpl.java:152)
                at com.hmc.ccapp.ecomponents.entities.cell.CellBean.doTest(CellBean.java:354)
                at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1096)
                at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:282)
                at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
                at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:114)
                at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
                at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
                at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
                at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
                at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
                at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
                at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
                at org.jboss.ejb.Container.invoke(Container.java:700)
                at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
                at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
                at sun.rmi.transport.Transport$1.run(Transport.java:148)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
                at java.lang.Thread.run(Thread.java:534)
                2004-04-21 19:08:26,357 WARN [org.jboss.tm.TransactionImpl] xa error: -3 (A resource manager error has occured in the transaction branch.); oracle error: 65535; oracle sql error: -1;
                oracle.jdbc.xa.OracleXAException
                at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
                at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
                at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:143)
                at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1148)
                at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:636)
                at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:455)
                at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:483)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
                at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
                at com.hmc.clubcentral.ecomponents.BaseComponentImpl.openConnection(BaseComponentImpl.java:152)
                at com.hmc.ccapp.ecomponents.entities.cell.CellBean.doTest(CellBean.java:354)
                at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1096)
                at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:282)
                at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
                at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:114)
                at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
                at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
                at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
                at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
                at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
                at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
                at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
                at org.jboss.ejb.Container.invoke(Container.java:700)
                at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
                at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
                at sun.rmi.transport.Transport$1.run(Transport.java:148)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
                at java.lang.Thread.run(Thread.java:534)
                2004-04-21 19:08:26,447 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Could not enlist in transaction on entering meta-aware object!
                javax.transaction.SystemException: enlistResource failed
                at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:468)
                at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:483)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
                at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
                at com.hmc.clubcentral.ecomponents.BaseComponentImpl.openConnection(BaseComponentImpl.java:152)
                at com.hmc.ccapp.ecomponents.entities.cell.CellBean.doTest(CellBean.java:354)
                at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1096)
                at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:282)
                at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
                at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:114)
                at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
                at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
                at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
                at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
                at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
                at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
                at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
                at org.jboss.ejb.Container.invoke(Container.java:700)
                at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
                at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
                at sun.rmi.transport.Transport$1.run(Transport.java:148)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
                at java.lang.Thread.run(Thread.java:534)
                2004-04-21 19:08:26,547 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] delisting currenttx: TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=], ManagedConnection: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@3e574
                2004-04-21 19:08:26,547 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] connectionClosed called
                2004-04-21 19:08:26,547 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] unregistering connection from org.jboss.resource.connectionmanager.TxConnectionManager@1e6cf07, object: org.jboss.resource.adapter.jdbc.WrappedConnection@e62df, key: org.jboss.resource.connectionmanager.CachedConnectionManager$KeyConnectionAssociation@c3507d
                2004-04-21 19:08:26,547 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] unregisterConnection: 0 handles left
                2004-04-21 19:08:26,547 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] popped object: org.jboss.resource.connectionmanager.CachedConnectionManager$KeyConnectionAssociation@c3507d
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] Committing, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=], status=STATUS_ACTIVE
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] calling sync 0, org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TxRemover@7d53d8
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] calling sync 1, org.jboss.ejb.plugins.EntitySynchronizationInterceptor$InstanceSynchronization@b8e42
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] calling sync 2, org.jboss.ejb.GlobalTxEntityMap$GlobalTxEntityMapSynchronize@a8be43
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] Before completion done, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=], status=STATUS_ACTIVE
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] endresources(0): state=1
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] endResource(XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=1]) entered: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b flag=67108864
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] endResource(XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=1]) leaving: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@24c22b flag=67108864
                2004-04-21 19:08:26,547 TRACE [org.jboss.tm.TransactionImpl] Two phase commit: Many resources.
                2004-04-21 19:08:26,557 TRACE [org.jboss.tm.TransactionImpl] Committing resources, resourceStates[0]=5
                2004-04-21 19:08:26,567 TRACE [org.jboss.tm.TransactionImpl] Committing resources, resourceStates[1]=5
                2004-04-21 19:08:26,567 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=] errorCode=XAER_RMERR
                oracle.jdbc.xa.OracleXAException
                at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
                at oracle.jdbc.xa.client.OracleXAResource.commit(OracleXAResource.java:590)
                at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.commit(XAManagedConnection.java:185)
                at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1593)
                at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:395)
                at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:398)
                at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:277)
                at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
                at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
                at org.jboss.ejb.Container.invoke(Container.java:700)
                at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
                at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
                at sun.rmi.transport.Transport$1.run(Transport.java:148)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
                at java.lang.Thread.run(Thread.java:534)
                2004-04-21 19:08:26,567 WARN [org.jboss.tm.TransactionImpl] xa error: -3 (A resource manager error has occured in the transaction branch.); oracle error: 65535; oracle sql error: -1;
                oracle.jdbc.xa.OracleXAException
                at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
                at oracle.jdbc.xa.client.OracleXAResource.commit(OracleXAResource.java:590)
                at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.commit(XAManagedConnection.java:185)
                at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1593)
                at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:395)
                at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:398)
                at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:277)
                at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
                at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
                at org.jboss.ejb.Container.invoke(Container.java:700)
                at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
                at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
                at sun.rmi.transport.Transport$1.run(Transport.java:148)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
                at java.lang.Thread.run(Thread.java:534)
                2004-04-21 19:08:26,657 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] putting ManagedConnection back into pool
                2004-04-21 19:08:26,657 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Returning connection to pool [InUse/Available/Max]: [0/1/20]
                2004-04-21 19:08:26,657 TRACE [org.jboss.tm.TransactionImpl] Committed OK, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=]
                2004-04-21 19:08:26,657 TRACE [org.jboss.tm.TxManager] suspended tx: TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1217, BranchQual=]
                2004-04-21 19:08:26,677 TRACE [org.jboss.tm.TransactionImpl] Created new instance for tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1219, BranchQual=]
                2004-04-21 19:08:26,677 TRACE [org.jboss.tm.TxManager] began tx: TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1219, BranchQual=]
                2004-04-21 19:08:26,677 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] old stack for key: com.hmc.eccpm.ecomponents.entities.cell.CCPMCellBean@1decc8c
                2004-04-21 19:08:26,677 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] popped object: org.jboss.resource.connectionmanager.CachedConnectionManager$KeyConnectionAssociation@1decc8c
                2004-04-21 19:08:26,677 TRACE [org.jboss.tm.TransactionImpl] Committing, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1219, BranchQual=], status=STATUS_ACTIVE
                2004-04-21 19:08:26,677 TRACE [org.jboss.tm.TransactionImpl] Before completion done, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1219, BranchQual=], status=STATUS_ACTIVE
                2004-04-21 19:08:26,677 TRACE [org.jboss.tm.TransactionImpl] Zero phase commit: No resources.
                2004-04-21 19:08:26,677 TRACE [org.jboss.tm.TransactionImpl] Committed OK, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=khaybar//1219, BranchQual=]

                • 5. Re: XAER_RMERR Error
                  dxbcto Newbie

                  Hello,

                  I think I found out what my problem was! I followed Adrian's instructions and turned on all the traces as appears in the READ_ME sticky post and I also turned on track statements in my ds as follows:

                  <debug>true</debug>
                   <track-connection-by-tx>true</track-connection-by-tx>
                   <track-statements>true</track-statements>


                  I found out that I was leaking statements!! This only happened when the execute statement threw an exception. I fixed this and I can do 1000 iterations on my bean which meets my test objective.

                  Thanks Adrian for your pointer. It did help me go through the code and determine the problem.

                  Regards