2 Replies Latest reply on Jan 8, 2014 9:54 AM by marklittle

    JBoss 7.1.3 - ARJUNA016037: Could not find new XAResource

    karl_zhang

      Hi,

      I am running JBoss 7.1.3 for our application and get the following warning message periodically in server log:

      WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037: Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord < resource:null, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffb23f1fa5:6a0e9e9d:5238272e:197c95, node_name=1, branch_uid=0:ffffb23f1fa5:6a0e9e9d:5238272e:197cab, subordinatenodename=null, eis_name=java:/myApp.ds >, heuristic: TwoPhaseOutcome.FINISH_OK, product: PostgreSQL/9.1.4, jndiName: java:/myApp.ds com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@5511fff8 >

       

      Can anyone help me, how to explain this warning message? If this really means an issue, how to debug what's wrong with the transaction?

       

      The configuration of the datasource looks like:

      
      <xa-datasource jndi-name="java:/myApp.ds" pool-name="myApp.ds"
          enabled="true" use-java-context="true">
          <xa-datasource-property name="DatabaseName">
              dbname
          </xa-datasource-property>
          <xa-datasource-property name="User">
              user
          </xa-datasource-property>
          <xa-datasource-property name="ServerName">
              localhost
          </xa-datasource-property>
          <xa-datasource-property name="PortNumber">
              5434
          </xa-datasource-property>
          <xa-datasource-property name="Password">
              password
          </xa-datasource-property>
          <xa-datasource-class>org.postgresql.xa.PGXADataSource
          </xa-datasource-class>
          <driver>postgresql-jdbc4</driver>
          <transaction-isolation>TRANSACTION_REPEATABLE_READ
          </transaction-isolation>
          <xa-pool>
              <min-pool-size>5</min-pool-size>
              <max-pool-size>75</max-pool-size>
          </xa-pool>
          <security>
              <user-name>user</user-name>
              <password>password</password>
          </security>
          <recovery>
              <recover-plugin
                  class-name="org.jboss.jca.core.recovery.ValidatingManagedConnectionFactoryRecoveryPlugin" />
          </recovery>
          <validation>
              <valid-connection-checker
                  class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker" />
              <exception-sorter
                  class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter" />
          </validation>
          <timeout>
              <idle-timeout-minutes>5</idle-timeout-minutes>
          </timeout>
          <statement>
              <track-statements>TRUE</track-statements>
          </statement>
      </xa-datasource>
      
      

       

      Best Regards,

      Karl