4 Replies Latest reply on Nov 28, 2008 1:39 PM by mazz

    JBoss Transaction Manager WARN logs

    jkv

      I am using JBoss 4.2.3 server version. I am getting the following logs in my console

      05:37:20,740 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 29, 27, 1-a0b9238:b18:48cfca2d:ba1205a0b9238:b18:48cfca2d:ba120f...........>

      Why am I getting this warning logs, and how can I avoid them??

      Regards

        • 1. Re: JBoss Transaction Manager WARN logs
          mazz

          If you do a google search, you'll find several places that describe what this is - there is even a page on the wiki devoted explicitly to this: http://www.jboss.org/community/docs/DOC-12463

          I'm having this myself, and I want to completely disable the usage of XA recovery (since this message indicates that the transactions aren't recoverable anyway). See my forum post that I just submitted asking how to disable it.

          The other option is to write some kind of JBossTM recovery object and install it - in my case, I don't want to do this simply because I don't need it.

          • 2. Re: JBoss Transaction Manager WARN logs
            marklittle

             

            "JKV" wrote:
            I am using JBoss 4.2.3 server version. I am getting the following logs in my console

            05:37:20,740 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 29, 27, 1-a0b9238:b18:48cfca2d:ba1205a0b9238:b18:48cfca2d:ba120f...........>

            Why am I getting this warning logs, and how can I avoid them??

            Regards


            Read the wiki page and add an XAResourceRecovery implementation if necessary.

            • 3. Re: JBoss Transaction Manager WARN logs
              marklittle

               

              "mazz" wrote:

              The other option is to write some kind of JBossTM recovery object and install it - in my case, I don't want to do this simply because I don't need it.


              Do you really need transactions in that case? What are they giving you otherwise?

              • 4. Re: JBoss Transaction Manager WARN logs
                mazz

                 

                "mark.little@jboss.com" wrote:
                Do you really need transactions in that case? What are they giving you otherwise?


                Well, for example, one reason is that I also use transactions for the isolation part of ACID - which as I understand it is orthogonal to the recovery piece (actually, now that I think about it, it is - because I was using tx isolation in my app already, and I know the recovery was broken :). But, that said, I really would have liked recovery, but at the time, I had no idea how to configure JBossAS for it, so I was thinking I can just disable it. That is no longer the case - I'm a much wiser person ;}

                I just went through several days investigation of the original question, because I was asking the same thing. Because the author of this thread is using 4.2.3, I suspect he'll have an easier time of it because AppServerJDBCXARecovery should already come with that distribution (er, or maybe it only comes with the EAP distro?). In any event, to answer the original question which was:

                I am using JBoss 4.2.3 server version. I am getting the following logs in my console
                05:37:20,740 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 29, 27, 1-a0b9238:b18:48cfca2d:ba1205a0b9238:b18:48cfca2d:ba120f...........>

                Why am I getting this warning logs, and how can I avoid them??


                read this:

                http://www.jboss.org/community/docs/DOC-10789

                Read the section titled, "JBossJCA <xa-datasource> recovery". Thanks goes to Jonathan Halliday for writing (and documenting :) the AppServerJDBCXARecovery implementation, which is what you can use to incorporate recovery into JBossAS.