2 Replies Latest reply on May 11, 2007 1:27 AM by Juha Moisio

    JDBCXARecovery

    Juha Moisio Newbie


      How should xml property file be specified for JDBCXARecovery module?

      I have tried

       <property
       name="com.arjuna.ats.jta.recovery.XAResourceRecovery2"
       value="com.arjuna.ats.internal.jdbc.recovery.JDBCXARecovery;file:///msgsrv/jboss/server/default/conf/jdbc_xa_recovery-conf.xml"/>
      



      but I get


      11:37:59,885 ERROR [STDERR] java.lang.NullPointerException
      11:37:59,892 ERROR [STDERR] at javax.naming.InitialContext.getURLScheme(InitialContext.java:240)
      11:37:59,893 ERROR [STDERR] at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:289)
      11:37:59,893 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:363)
      11:37:59,893 ERROR [STDERR] at com.arjuna.ats.internal.jdbc.recovery.JDBCXARecovery.createDataSource(JDBCXARecovery.java:174)
      11:37:59,893 ERROR [STDERR] at com.arjuna.ats.internal.jdbc.recovery.JDBCXARecovery.hasMoreResources(JDBCXARecovery.java:141)
      11:37:59,893 ERROR [STDERR] at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecovery(XARecoveryModule.java:679)
      11:37:59,894 ERROR [STDERR] at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:179)
      11:37:59,894 ERROR [STDERR] at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWork(PeriodicRecovery.java:237)
      11:37:59,894 ERROR [STDERR] at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:163)
      


      my xml property file is:

      <?xml version="1.0" encoding="UTF-8"?>
      <transaction-service>
       <properties name="jdbc" type="system">
      
       <property name="DatabaseJNDIName" value="java:/MessageServicesXADS"/>
       <property name="UserName" value="user"/>
       <property name="Password" value="pass"/>
      
       </properties>
      
      </transaction-service>
      



      Br,

      Juha