6 Replies Latest reply on Mar 7, 2003 12:12 PM by annapurna

    Transaction XidImpl timed out

    zommick

      We have been in production for a few weeks with JBoss 3.0 production release and seem to be having this same problem almost everyday. I believe its during a time when there is an increased load on the system. Anyway, I'm getting either two types of messages.

      18:37:11,841 WARN [TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//259250, BranchQual=] timed out. status=STATUS_ACTIVE

      or

      2002-07-11 19:17:50,446 ERROR [STDERR] java.lang.OutOfMemoryError


      Below is a stack trace which actually includes both. Do you have any idea what the problem is?


      2002-07-07 19:23:35,637 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2857
      88, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:29:48,638 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2869
      13, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:29:50,437 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-438,5,ASF Session Pool Threads]Saw rolled ba ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//286913, BranchQual=] waiting for txLock 2002-07-07 19:29:52,923 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, possibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:30:30,160 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2879
      50, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:05,648 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2880
      95, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:05,654 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2881
      22, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:10,546 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-435,5,ASF Session Pool Threads]Saw rolled ba ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//288095, BranchQual=] waiting for txLock 2002-07-07 19:31:11,594 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, possibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:31:12,205 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2884
      23, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:13,508 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-436,5,ASF Session Pool Threads]Saw rolled ba ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//288122, BranchQual=] waiting for txLock 2002-07-07 19:31:15,425 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2885
      15, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:15,460 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, possibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:31:15,852 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-442,5,ASF Session Pool Threads]Saw rolled ba ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//288423, BranchQual=] waiting for txLock 2002-07-07 19:31:17,007 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, possibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:31:19,079 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2886
      18, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:21,244 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-413,5,ASF Session Pool Threads]Saw rolled ba ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//288515, BranchQual=] waiting for txLock 2002-07-07 19:31:22,994 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, p ossibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:31:22,997 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2887
      40, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:24,628 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-432,5,ASF Session Pool Threads]Saw rolled ba ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//288618, BranchQual=] waiting for txLock 2002-07-07 19:31:25,970 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2889
      33, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:26,200 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, possibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:31:26,825 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-439,5,ASF Session Pool Threads]Saw rolled ba ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//288740, BranchQual=] waiting for txLock 2002-07-07 19:31:29,136 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, possibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:31:34,673 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-441,5,ASF Session Pool Threads]Saw rolled back tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//288933, BranchQual=] waiting for txLock 2002-07-07 19:31:34,923 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2892
      43, BranchQual=] timed out. status=STATUS_ACTIVE
      2002-07-07 19:31:35,355 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, p ossibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:31:37,817 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-434,5,ASF Session Pool Threads]Saw rolled ba ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//289243, BranchQual=] waiting for txLock 2002-07-07 19:31:39,134 INFO [STDOUT] Unable to locate Port Id: java.rmi.ServerException: Transaction marked for rollback, p ossibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout 2002-07-07 19:33:04,807 ERROR [STDERR] java.lang.OutOfMemoryError 2002-07-07 19:33:05,370 ERROR [STDERR] at org.jboss.mq.il.oil.OILClientILService.run(OILClientILService.java, Compiled Code) 2002-07-07 19:33:05,414 ERROR [STDERR] at java.lang.Thread.run(Thread.java, Compiled Code) 2002-07-07 19:34:59,667 INFO [STDOUT] Failed to Broadcast Changes for PortIdBean: org.jboss.mq.SpyJMSException: Cannot authe nticate user 2002-07-07 19:34:59,890 WARN [org.jboss.mq.il.oil.OILServerILService] SocketException occured (Connection reset by peer?). Cannot initialize the OILServerILService. 2002-07-07 19:35:00,228 INFO [STDOUT] Failed to Broadcast Changes for PortIdBean: org.jboss.mq.SpyJMSException: Cannot start a the client IL service

        • 1. Re: Transaction XidImpl timed out
          timfox

          I'm now getting this problem too.
          There seem to be a lot of threads reporting the same problem.
          I'm using Oracle 8.1.6 and JBoss 3.0.1RC1
          Anyone get a solution to this, or know the status?

          • 2. Re: Transaction XidImpl timed out
            ericcire

            I'm getting this message a lot as well, but the problem I have is that the transaction will get marked for rollback, but it just hangs, and won't actually do the rollback.

            • 3. Re: Transaction XidImpl timed out
              mikael2

              Has anyone found a solution/explanation to this problem?

              • 4. Re: Transaction XidImpl timed out
                p_nanu

                Dear friends,

                Even Im also facing the same problem when I try to send a message from my application to the queue. My Jboss version is 2.4.1. If any of u have found out a solution for this, please share it with me..

                Following is the message that Im getting.

                [WARN,TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=narayanan//150, BranchQual=] timed out.
                status=STATUS_ACTIVE


                thanks n advnace
                Narayanan








                • 5. Re: Transaction XidImpl timed out

                  This problem is normally due to a deadlock.
                  It is an application problem (ordering of entity bean
                  access).

                  The original post shows an OutOfMemoryException,
                  so he has other problems.

                  JBoss3.0.5 (available next week?) has improved
                  deadlock detection under heavy load.

                  For the Oracle report, I've also seen problems
                  where Oracle can deadlock if you specify a
                  foreign key constraint without a supporting index.

                  For the 2.4.1 report, the latest 2.4 release
                  includes deadlock detection, the version from cvs
                  includes the heavy load fixes.

                  Regards,
                  Adrian

                  • 6. Re: Transaction XidImpl timed out
                    annapurna

                    Trying to keep this thread alive. I have the same problem with jboss3.0.6( someone in this thread claims its fixed). I run my product under heavy load and its when I see this exception coming up.

                    Can anyone please explain why this is happening?