1 Reply Latest reply on Feb 7, 2005 7:54 PM by Colin Daly

    org.jboss.resource.connectionmanager looses transaction cont

    pascal kaers Newbie

      Dear all,

      Currently I am stress testing a web-application using Jboss 3.2.3
      production release , oracle 9i, entity bean transaction policy = instance per transaction, with Jrockit 1.4.2_05 , with jboss running as a "nt" service under Win2000sp4 using javaservicewrapper 3.0.5
      .

      Currently the load on the system is 30 users (30 connections , tx in fact).
      Regularly i receive the below exception. The org.jboss.resource.connectionmanager throws the exception "unable to commit" after invoking on a stateless session bean.

      Can it be that the org.jboss.resource.connectionmanager loses pedales under heavy load?

      Any information in this context will be highly appreciated ,

      Best regards,
      pascal.kaers@gmail.com



      org.jboss.tm.JBossTransactionRolledbackException: null; nested exception is:
      org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=appssvr2//23289, BranchQual=] status=STATUS_NO_TRANSACTION; - nested throwable: (org.jboss.resource.connectionmanager.JBossLocalXAException: wrong xid in rollback: expected: null, got: XidImpl [FormatId=257, GlobalId=appssvr2//23289, BranchQual=1]); - nested throwable: (org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=appssvr2//23289, BranchQual=] status=STATUS_NO_TRANSACTION; - nested throwable: (org.jboss.resource.connectionmanager.JBossLocalXAException: wrong xid in rollback: expected: null, got: XidImpl [FormatId=257, GlobalId=appssvr2//23289, BranchQual=1]))
      at org.jboss.ejb.plugins.TxInterceptorCMT.throwJBossException(Ljava.lang.Exception;Lorg.jboss.invocation.InvocationType;)V(TxInterceptorCMT.java:489)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(Lorg.jboss.invocation.Invocation;Ljavax.transaction.Transaction;Ljavax.transaction.Transaction;)V(Optimized Method)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.ejb.StatelessSessionContainer.internalInvoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.ejb.Container.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Optimized Method)
      at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Optimized Method)
      at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Optimized Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.mx.server.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.invocation.local.LocalInvoker.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.invocation.InvokerInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.proxy.TransactionInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.proxy.SecurityInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized Method)
      at org.jboss.proxy.ClientContainer.invoke(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(Optimized Method)
      at [url][/url]