3 Replies Latest reply on Jul 21, 2006 3:29 AM by Tim Fox

    ConcurrentModificationException occures in the first few min

    Stian Hegglund Newbie

      Hi, we are using JBoss Messaging 1.0.1.CR2 on JBoss 4.0.4GA.
      The DS for JBoss Messaging is configured to use MySQL 5 with InnoDB tables,and the ds configured with isolation TRANSACTION_READ_COMMITTED.

      We have one producer creating all the ObjectMessages and one MDB(configured to use 10 threads in the invoker proxy binding.) producer and consumer is in the same JBoss instance.

      Short time after startup we always get one stack trace as provided below.
      After this error, messages continues to be consumed as normal.
      If I stop the message producer after an error like this, the message count in the JMX-CONSOLE will show 1 message on queue when it should have been 0.
      The db. tables used by JBoss messaging is empty.

      The error always occures one time right after startup or after 2-3 minutes depending on load. After this, it is rare if it happens again in the next 100.000 messages.

      Is there any configuration we could have done wrong to cause this error ?

      2006-06-16 12:37:32,056 ERROR [SocketServerInvokerThread-10.11.32.32-3] [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] Exception occured
      java.util.ConcurrentModificationException
      at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
      at java.util.AbstractList$Itr.next(AbstractList.java:420)
      at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$DeliveryCallback.afterCommit(ServerConsumerEndpoint.java:717)
      at org.jboss.messaging.core.tx.Transaction.commit(Transaction.java:186)
      at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:390)
      at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99)
      at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
      at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
      at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:691)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:443)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:530)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:253)
      2006-06-16 12:37:32,058 ERROR [SocketServerInvokerThread-10.11.32.32-3] [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] Failed to rollback tx
      org.jboss.messaging.core.tx.TransactionException: Failed to remove delivery 649932
      at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$DeliveryCallback.afterRollback(ServerConsumerEndpoint.java:739)
      at org.jboss.messaging.core.tx.Transaction.rollback(Transaction.java:256)
      at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:399)
      at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99)
      at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
      at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
      at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:691)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:443)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:530)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:253)
      2006-06-16 12:37:32,118 ERROR [SocketServerInvokerThread-10.11.32.32-5] [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] Exception occured
      org.jboss.messaging.core.tx.TransactionException: Cannot find local tx for xid:org.jboss.messaging.core.tx.XidImpl@e77c663a
      at org.jboss.messaging.core.tx.TransactionRepository.getPreparedTx(TransactionRepository.java:129)
      at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:504)
      at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99)
      at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
      at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
      at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:691)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:443)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:530)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:253)

        • 1. Re: ConcurrentModificationException occures in the first few
          Tim Fox Master

          ok thx, I am going to try and replicate this.

          A few more questions:

          Are you using JDK1.4 or 1.5?

          The Object messages are persistent, right?

          What are you doing inside the MDB?

          If you could provide code I could run that would be ideal.

          • 2. Re: ConcurrentModificationException occures in the first few
            Stian Hegglund Newbie

            We are using JDK 1.5.0_07, and the messages are persistent (we changed from ObjectMessage to TextMessage).
            The EJB 2.1 MDB consumes messages produced by a EJB3 service bean.
            In the onMessage a stateless session bean is called to do lots of business logic, including calling other session beans producing new messages for other
            MDB's.

            Ill try to create a small test project to replicate this as soon as possible.

            Here is one more stacktrace that seems to be related:

            2006-06-20 10:38:42,074 ERROR [JMS SessionPool Worker-14] [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] Exception occured
            java.util.ConcurrentModificationException
            at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
            at java.util.AbstractList$Itr.next(AbstractList.java:420)
            at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$DeliveryCallback.afterCommit(ServerConsumerEndpoint.java:717)
            at org.jboss.messaging.core.tx.Transaction.commit(Transaction.java:186)
            at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:390)
            at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99)
            at sun.reflect.GeneratedMethodAccessor212.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
            at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
            at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
            at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842)
            at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82)
            at org.jboss.remoting.Client.invoke(Client.java:610)
            at org.jboss.remoting.Client.invoke(Client.java:602)
            at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
            at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)
            at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406)
            at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194)
            at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116)
            at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:317)
            at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
            at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165)
            at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
            at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
            at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
            at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
            at java.lang.Thread.run(Thread.java:595)
            2006-06-20 10:38:42,077 ERROR [JMS SessionPool Worker-14] [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] Failed to rollback tx
            org.jboss.messaging.core.tx.TransactionException: Failed to remove delivery 584871
            at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$DeliveryCallback.afterRollback(ServerConsumerEndpoint.java:739)
            at org.jboss.messaging.core.tx.Transaction.rollback(Transaction.java:256)
            at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:399)
            at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99)
            at sun.reflect.GeneratedMethodAccessor212.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
            at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
            at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
            at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842)
            at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82)
            at org.jboss.remoting.Client.invoke(Client.java:610)
            at org.jboss.remoting.Client.invoke(Client.java:602)
            at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
            at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)
            at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406)
            at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194)
            at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116)
            at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:317)
            at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
            at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165)
            at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
            at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
            at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
            at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
            at java.lang.Thread.run(Thread.java:595)
            2006-06-20 10:38:42,143 ERROR [JMS SessionPool Worker-14] [org.jboss.jms.client.container.ExceptionInterceptor] Linked exception is:
            java.util.ConcurrentModificationException
            at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
            at java.util.AbstractList$Itr.next(AbstractList.java:420)
            at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$DeliveryCallback.afterCommit(ServerConsumerEndpoint.java:717)
            at org.jboss.messaging.core.tx.Transaction.commit(Transaction.java:186)
            at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:390)
            at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99)
            at sun.reflect.GeneratedMethodAccessor212.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
            at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
            at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
            at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842)
            at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82)
            at org.jboss.remoting.Client.invoke(Client.java:610)
            at org.jboss.remoting.Client.invoke(Client.java:602)
            at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
            at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)
            at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406)
            at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194)
            at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116)
            at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:317)
            at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
            at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165)
            at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
            at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
            at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
            at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
            at java.lang.Thread.run(Thread.java:595)
            2006-06-20 10:38:42,154 ERROR [JMS SessionPool Worker-14] [org.jboss.jms.asf.StdServerSession] failed to commit/rollback
            org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back
            at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410)
            at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194)
            at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116)
            at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:317)
            at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
            at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165)
            at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
            at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
            at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
            at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
            at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
            at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
            at java.lang.Thread.run(Thread.java:595)
            Caused by: org.jboss.jms.util.MessagingTransactionRolledBackException: Transaction was rolled back.
            at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:406)
            at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99)
            at sun.reflect.GeneratedMethodAccessor212.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
            at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
            at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
            at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842)
            at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82)
            at org.jboss.remoting.Client.invoke(Client.java:610)
            at org.jboss.remoting.Client.invoke(Client.java:602)
            at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
            at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java)
            at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)
            at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406)
            ... 22 more