3 Replies Latest reply on Aug 12, 2009 4:05 AM by Andrew Dinn

    Non serializable XAResource

    Christian Heldwein Newbie

      Hi,

      we are using JBEAP 4.3.0GA CP04, and Postgres Enterprise DB 8.3.0.12.
      Under high load, we are getting the warning message
      "Could not find new XAResource to use for recovering non-serializable XAResource".

      We've googled, and found John Mazzitelli's excellent blog at
      http://management-platform.blogspot.com/2008/11/transaction-recovery-in-jbossas.html

      We performed all steps described in the blog, but we are still encountering the warning message under high load. However, I'm not sure, because after the warning message,a top level commit appears:

      009-07-14 14:49:55.481 [Thread-6] WARN [jta.logging.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, 30, 28, 1-a640182:b580:4a5c47ea:120ba5a640182:b580:4a5c47ea:120bc0>
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLoggerI18N] - [com.arjuna.ats.arjuna.coordinator.RecordList_5] - RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for a640182:b580:4a5c47ea:120bc1
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLoggerI18N] - [com.arjuna.ats.arjuna.coordinator.BasicAction_20] - Unpacked a 463 record
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLoggerI18N] - [com.arjuna.ats.arjuna.coordinator.BasicAction_22] - HeuristicList - Unpacked heuristic list size of 0
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLoggerI18N] - [com.arjuna.ats.arjuna.coordinator.BasicAction_25] - Restored action status of ActionStatus.COMMITTED 7
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLoggerI18N] - [com.arjuna.ats.arjuna.coordinator.BasicAction_26] - Restored action type Top-level 0
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLoggerI18N] - [com.arjuna.ats.arjuna.coordinator.BasicAction_27] - Restored heuristic decision of TwoPhaseOutcome.FINISH_OK 7
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLoggerI18N] - [com.arjuna.ats.arjuna.recovery.RecoverAtomicAction_1] - RecoverAtomicAction.replayPhase2 recovering a640182:b580:4a5c47ea:120ba5 ActionStatus is ActionStatus.COMMITTED
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLogger] - BasicAction::phase2Commit() for action-id a640182:b580:4a5c47ea:120ba5
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [arjuna.logging.arjLogger] - BasicAction::doCommit (com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@72454522)
      2009-07-14 14:49:55.481 [Thread-6] DEBUG [jta.logging.logger] - XAResourceRecord.topLevelCommit for < 131075, 30, 28, 1-a640182:b580:4a5c47ea:120ba5a640182:b580:4a5c47ea:120bc0>



      Does the lines below the warning message indicate that everything is ok?


      Any help would be greatly appreciated :-)



      Ciao
      Christian

        • 1. Re: Non serializable XAResource
          Mark Little Master

          Since you're using EAP why are you not using the CSP?

          • 2. Re: Non serializable XAResource
            Arbi Sookazian Master

             

            "mark.little@jboss.com" wrote:
            Since you're using EAP why are you not using the CSP?


            1) the experts are on the forums, not CSP. Yeah it's kinda funny. You get the experts' help for free and pay for non-expert help.

            2) the EAP does not like "too many out of scope questions". Especially if they're best practices or how to solve use cases questions where they'd rather send out expensive consultants (remember, JBoss is free bits so services is how they make their money) They told me that on average, their customers open approx. 30 incidents per year. I opened over 200 in less than one year (it's unlimited, no?) and they shut me down. You get what you pay for.

            3) the CSP website is a total disaster and they said they won't refactor/fix it for 2 yrs. You can't even use code tags. It's a joke and it's very slow for me in North America, consistently even after complaining about it.

            • 3. Re: Non serializable XAResource
              Andrew Dinn Master

               


              1) the experts are on the forums, not CSP. Yeah it's kinda funny. You get the experts' help for free and pay for non-expert help.


              Actually, the developers who answer your questions here also answer questions on the CSP when required. We are all subscribed to both the TS channel and the AS channel (and others, in some cases). Normally, our support team on the CSP are quite capable of answering queries like yours and we leave them to get on with it. But we are much more ready to step in on the CSP than on this forum and we give much more full answers about technical details. If you ask for an answer here you may or may not get one from us but you will have to do most of the running yourself.


              2) the EAP does not like "too many out of scope questions". Especially if they're best practices or how to solve use cases questions where they'd rather send out expensive consultants (remember, JBoss is free bits so services is how they make their money) They told me that on average, their customers open approx. 30 incidents per year. I opened over 200 in less than one year (it's unlimited, no?) and they shut me down. You get what you pay for.


              What do you mean by 'shut down'? Perhaps you could log into the CSP and register your complaint more fully there. We will definitely take it very seriously since your subscription is what pays our salaries. Please use the official channels either to ask for help with this problem or to explain why you are dissatisfied with our service and we'll be happy to take this conversation further.

              Regarding your comments about the sort of advice we limit ourselves to I'll agree that we do sometimes recommend sending out consultants. That's usually because the sort of questions asked start to involve wider issues that require study of your application design. Those sort of questions just cannot be answered from a remote desk or desktop with reference only to our APIs. We can (and do) recommend books to read (indeed, we have people on board who have written some of the best textbooks). But we cannot transplant skills and experience gained over years via the CSP. You may find someone here able and willing to give that level of advice but I suspect most people with the required experience will be selling their skills. Since you pay for nothing here you cannot expect anything more than goodwill.


              3) the CSP website is a total disaster and they said they won't refactor/fix it for 2 yrs. You can't even use code tags. It's a joke and it's very slow for me in North America, consistently even after complaining about it.


              Well, I'll agree that I too was unhappy (to say the least) about how the move to the new website progressed -- regressed might be nearer the truth. The initial version caused major disruption to the support team and development team. Although not all of these initial problems have been fixed many have or, at least, have workarounds and the site is much more usable now. Perhaps you might try it again?