0 Replies Latest reply on Jun 5, 2012 3:33 AM by Sridhar Bharadwaj

    weblogic.jms.common.JMSException: Exceeded maximum allowed transactions

    Sridhar Bharadwaj
      Hi All,

      I encountered this exception

      [2012-06-05T09:53:36.041+08:00] [soa_server2] [WARNING] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@3ef1fe03] [userId: <anonymous>] [ecid: d0e4ebe22640ba84:-1dde65c:137b90be95d:-8000-0000000000017322,0] [APP: soa-infra] [[
      Message Transmission Exception
      Transport Error Code is OTA-JMS-1001
      StackTrace oracle.tip.b2b.transport.TransportException: [IPT_MsgCannotBeSent] JMS message cannot be sent.
           at oracle.tip.b2b.transport.TransportException.create(TransportException.java:93)
           at oracle.tip.b2b.transport.basic.JMSSender.send(JMSSender.java:580)
           at oracle.tip.b2b.transport.b2b.B2BTransport.send(B2BTransport.java:316)
           at oracle.tip.b2b.transport.AppTransportInterface.send(AppTransportInterface.java:765)
           at oracle.tip.b2b.msgproc.MessageHandler.doDeliverMessageToDestination(MessageHandler.java:611)
           at oracle.tip.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:245)
           at oracle.tip.b2b.msgproc.Request.putMsg(Request.java:677)
           at oracle.tip.b2b.msgproc.Request.continueRequest(Request.java:487)
           at oracle.tip.b2b.msgproc.Request.incomingRequest(Request.java:408)
           at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2786)
           at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1638)
           at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:3978)
           at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3654)
           at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
           at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
           at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
           at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
           at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
           at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
      Caused by: weblogic.jms.common.JMSException: Exceeded maximum allowed transactions on server 'soa_server2':error beginning transacted session's internal transaction
           at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
           at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61)
           at weblogic.jms.client.JMSProducer.toFEProducer(JMSProducer.java:1293)
           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 oracle.tip.b2b.transport.basic.JMSSender.send(JMSSender.java:396)
           ... 17 more
      Caused by: weblogic.jms.common.JMSException: Exceeded maximum allowed transactions on server 'soa_server2':error beginning transacted session's internal transaction
           at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
           at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
           at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
           at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
           at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSyncNoTran(DispatcherImpl.java:287)
           at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)
           ... 24 more
      Caused by: weblogic.jms.common.JMSException: Exceeded maximum allowed transactions on server 'soa_server2':error beginning transacted session's internal transaction
           at weblogic.jms.frontend.FESession.transactedException(FESession.java:2155)
           at weblogic.jms.frontend.FESession.throwTransactedException(FESession.java:2164)
           at weblogic.jms.frontend.FESession.transactedInfect(FESession.java:2272)
           at weblogic.jms.frontend.FESession.transactedInfect(FESession.java:2174)
           at weblogic.jms.frontend.FEProducer.setupTransactionRelated(FEProducer.java:844)
           at weblogic.jms.frontend.FEProducer.sendSingleDestination(FEProducer.java:1188)
           at weblogic.jms.frontend.FEProducer.send(FEProducer.java:1407)
           at weblogic.jms.frontend.FEProducer.invoke(FEProducer.java:1466)
           at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
           ... 27 more
      Caused by: javax.transaction.SystemException: Exceeded maximum allowed transactions on server 'soa_server2'
           at weblogic.transaction.internal.ServerTransactionManagerImpl.createTransaction(ServerTransactionManagerImpl.java:1901)
           at weblogic.transaction.internal.TransactionManagerImpl.internalBegin(TransactionManagerImpl.java:246)
           at weblogic.transaction.internal.ServerTransactionManagerImpl.internalBegin(ServerTransactionManagerImpl.java:338)
           at weblogic.transaction.internal.ServerTransactionManagerImpl.begin(ServerTransactionManagerImpl.java:303)
           at weblogic.jms.frontend.FESession.transactedInfect(FESession.java:2248)
           ... 33 more

      ]]

      And after restarting the soa_server2 its ok. Is there any where that the transactions for the JMS can be set?Is there any default value?

      I am running the weblogic server / managed servers in a clustered environemnt and we were testing the fail over so we are running all the managed servers and the admin server on the same node.

      10.3 is the weblogic version and Solaris 10 is the environment

      Cheers
      Sridhar