2 Replies Latest reply on Jul 16, 2002 7:20 PM by Jordan Zommick

    Transaction XidImpl  Timeouts

    Carlos Parra Newbie


      We are having this message in the server,

      Transaction XidImpl [FormatId=257, GlobalId=serv_app_atenea//35, BranchQual=] timed out. status=STATUS_ACTIVE

      This occurs sometimes ... The only constant is that occurs in transactions to the same DB.

      Any idea?

      Thanks

      Carlos PArra

        • 1. Re: Transaction XidImpl  Timeouts
          David Jencks Master

          Please, ALWAYS include your jboss version.

          If you are running a 2.4 version and your app is under very high continuous load this may be a bug in the connection pooling.

          If you are running 3.0 please supply more details.

          • 2. Re: Transaction XidImpl  Timeouts
            Jordan Zommick Newbie

            I get the same error running under JBoss 3.0 production release with embedded tomcat. We restart JBoss every morning on this machine and by around 18:00 hours we consistently get these messages everyday. Any ideas?

            2002-07-09 18:37:11,841 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2592
            50, BranchQual=] timed out. status=STATUS_ACTIVE
            2002-07-09 18:37:59,350 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2593
            42, BranchQual=] timed out. status=STATUS_ACTIVE
            2002-07-09 18:38:03,844 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2594
            14, BranchQual=] timed out. status=STATUS_ACTIVE
            2002-07-09 18:38:04,202 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-480,5,ASF Session Pool Threads]Saw rolled ba
            ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//259414, BranchQual=] waiting for txLock
            2002-07-09 18:38:04,222 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-477,5,ASF Session Pool Threads]Saw rolled ba
            ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//259342, BranchQual=] waiting for txLock
            2002-07-09 18:38:04,227 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-09 18:38:04,229 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-09 18:38:38,865 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2595
            39, BranchQual=] timed out. status=STATUS_ACTIVE
            2002-07-09 18:38:39,966 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-479,5,ASF Session Pool Threads]Saw rolled ba
            ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//259539, BranchQual=] waiting for txLock
            2002-07-09 18:38:39,967 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-09 18:39:07,052 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2598
            57, BranchQual=] timed out. status=STATUS_ACTIVE
            2002-07-09 18:39:10,151 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-470,5,ASF Session Pool Threads]Saw rolled ba
            ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//259857, BranchQual=] waiting for txLock
            2002-07-09 18:39:10,152 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-09 18:47:51,668 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//2629
            72, BranchQual=] timed out. status=STATUS_ACTIVE
            2002-07-09 18:47:55,300 ERROR [org.jboss.ejb.BeanLock] Thread[Thread Pool Worker-480,5,ASF Session Pool Threads]Saw rolled ba
            ck tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=iow01.pcs-telcom.com//262972, BranchQual=] waiting for txLock
            2002-07-09 18:47:55,301 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-09 18:51:28,977 ERROR [STDERR] java.lang.OutOfMemoryError
            2002-07-09 18:51:28,987 ERROR [STDERR] at java.rmi.MarshalledObject.get(MarshalledObject.java, Compiled Code)
            2002-07-09 18:51:28,999 ERROR [STDERR] at org.jboss.mq.referenceable.ObjectRefAddr.extractObjectRefFrom(ObjectRefAddr.java,
            Compiled Code)
            2002-07-09 18:51:29,006 ERROR [STDERR] at org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory.getObjectInstance(Spy
            ConnectionFactoryObjectFactory.java, Compiled Code)
            2002-07-09 18:51:29,019 ERROR [STDERR] at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java, Compiled Code
            )
            2002-07-09 18:51:29,033 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java, Compiled Code)
            2002-07-09 18:51:29,046 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java, Compiled Code)
            2002-07-09 18:51:29,061 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java, Compiled Code)
            2002-07-09 18:51:29,070 ERROR [STDERR] at com.radical.telephony.status.ejb.PortManagerBean$MsgThread.run(PortManagerBean.jav
            a, Compiled Code)
            2002-07-09 18:51:29,076 INFO [STDOUT] Failed to Broadcast Changes for PortIdBean: java.lang.NullPointerException
            2002-07-09 18:52:28,262 INFO [STDOUT] Failed to broadcastUpdateForPort :javax.ejb.EJBException: java.sql.SQLException: Can't
            instantiate protocol java.lang.reflect.InvocationTargetException
            2002-07-09 18:52:28,276 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:
            java.rmi.RemoteException: javax.ejb.EJBException: java.sql.SQLException: Can't instantiate protocol java.lang.reflect.Invocat
            ionTargetException
            at com.radical.telephony.status.ejb.PortManagerBean.broadcastUpdateForPort(PortManagerBean.java, Compiled Code)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java, Compiled Code)
            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java, Compiled
            Code)
            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java, Compile
            d Code)
            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java, Compiled Code)
            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java, Compiled Code)
            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java, Compiled Code)
            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java, Compiled Code)
            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java, Compiled Code)
            at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java, Compiled Code)
            at org.jboss.ejb.Container.invoke(Container.java, Compiled Code)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java, Compiled Code)
            at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java, Compiled Code)
            at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java, Compiled Code)
            at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java, Compiled Code)
            at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java, Compiled Code)
            at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java, Compiled Code)
            at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java, Compiled Code)
            at $Proxy27.broadcastUpdateForPort(Unknown Source)
            at com.radical.telephony.status.ejb.PortIdBean.setPortActivityInfo(PortIdBean.java, Compiled Code)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java, Compiled Code)
            at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java, Compiled Code
            )
            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java, Compiled
            Code)
            at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java, Compiled Code)
            at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java, Compiled Code)
            at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java, Compiled Code)
            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java, Compiled Code)
            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java, Compiled Code)
            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java, Compiled Code)
            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java, Compiled Code)
            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java, Compiled Code)
            at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java, Compiled Code)
            at org.jboss.ejb.Container.invoke(Container.java, Compiled Code)
            at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java, Compiled Code)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java, Compiled Code)
            at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java, Compiled Code)
            at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java, Compiled Code)
            at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java, Compiled Code)
            at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java, Compiled Code)
            at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java, Compiled Code)
            at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java, Compiled Code)
            at $Proxy33.setPortActivityInfo(Unknown Source)
            at com.radical.telephony.status.ejb.StatusMessageBean.onMessage(StatusMessageBean.java, Compiled Code)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java, Compiled Code)
            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java, Compiled
            Code)
            at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java, Compiled Code
            )
            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java, Compiled Code)
            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java, Compiled Code)
            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java, Compiled Code)