0 Replies Latest reply: Apr 23, 2013 3:37 PM by 1005025 RSS

    Transaction Rollback Exception executing an MDB

    1005025
      Hello,

      I have created a Message Driven Bean and deployed it in a WebLogic Server Versión de WebLogic Server: 10.3.5.0
      This MDB sends a message from a JMS Queue to another JMS Queue in other WebLogic Server.

      When I send the message I get the follow problem:

      weblogic.jms.common.JMSException: weblogic.messaging.dispatcher.DispatcherException: javax.transaction.TransactionRolledbackException: Curre
      nt server is the coordinator and transaction is not found. It was probably rolled back and forgotten already.
      at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:116)
      at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:53)
      at weblogic.jms.client.JMSProducer.toFEProducer(JMSProducer.java:1289)
      at weblogic.jms.client.JMSProducer.deliveryInternal(JMSProducer.java:796)
      at weblogic.jms.client.JMSProducer.sendInternal(JMSProducer.java:541)
      at weblogic.jms.client.JMSProducer.sendWithListener(JMSProducer.java:394)
      at weblogic.jms.client.JMSProducer.send(JMSProducer.java:384)
      at weblogic.jms.client.WLProducerImpl.send(WLProducerImpl.java:970)
      at mdb.SendMessage.enviarMensaje(SendMessage.java:50)
      at mdb.MessageDrivenBean.onMessage(MessageDrivenBean.java:66)
      at sun.reflect.GeneratedMethodAccessor1133.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:
      182)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor
      .java:131)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.ja
      va:119)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor
      .java:131)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.ja
      va:119)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy182.onMessage(Unknown Source)
      at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
      at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
      at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:379)
      at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
      at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
      at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
      at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
      at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused by: weblogic.messaging.dispatcher.DispatcherException: javax.transaction.TransactionRolledbackException: Current server is the coordi
      nator and transaction is not found. It was probably rolled back and forgotten already.
      at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:345)
      at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:51)
      ... 35 more
      Caused by: javax.transaction.TransactionRolledbackException: Current server is the coordinator and transaction is not found. It was probabl
      y rolled back and forgotten already.
      at weblogic.transaction.internal.TransactionManagerImpl.receiveRequest(TransactionManagerImpl.java:1383)
      at weblogic.messaging.dispatcher.DispatcherServerRef.dispatch(DispatcherServerRef.java:84)
      at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1141)
      at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1023)
      at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:240)
      at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:888)
      at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:512)
      at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:330)
      at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:298)
      at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
      at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
      at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
                
                
      Anybody knows how to fix this problem or why it happens?