1 Reply Latest reply on Jun 23, 2010 2:24 PM by Mark Little

    Could not find new XAResource to use for recovering ...once again

    Michal Szymanski Newbie

      My question is not new and several simillar questions appeared in forum before but after reading of all posts I still o not know what I shoul do.

       

      Our system (we implemente webservices) works under JBoss 5.1 and we use Postgres. During operation we use several databases and it is why we use Jboss Transaction Manager. Because improper database configuration few transactions failed and we have got message in the log:

       

      WARN  [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.ar
      veryxa] Could not find new XAResource to use for recovering non-serializable XAResource < .....

       

      I know that is relate to transaction recovery. I've found article:

      http://community.jboss.org/wiki/WhydoIgetCouldnotfindnewXAResourcetouseforrecoveringnon-serializableXAResource

       

      where author described what should be done (to be honest I'm not sure if this sollution is for us, because he mention about JMS not about JDBC).

      I've added line:

       

      <property name="com.arjuna.ats.jta.recovery.XAResourceRecovery.JBMESSAGING1"
                 value="org.jboss.jms.server.recovery.MessagingXAResourceRecovery;java:/DefaultJMSProvider"/>

       

      in 'jbsossts-properties.xml (jta.properties does not exists in 5.1), and I've checked that in ../alll/deploy/messaging/jms-ds.xml there is

      DefaultJMSProvider definition. I've restarted jboss but there are still log entries:

      12:21:20,828 WARN  [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjun
      acore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 25, 23, 4945974848484856101585
      3495558529949985197575258574897484848485610158534955585299499851975752585750 >

      My question is what should I do?  To be honest I still cannot understand role of recovery manager , what such recovery manager do with 'transaction to recover' ?

      Regards

      Michal Szymanski