4 Replies Latest reply on Apr 2, 2004 11:47 AM by Adrian Brock

    jboss hangs

    stabilo Newbie

      hi all,

      I'm using jboss v3.0.0. I'm sending over 10000 Messages in a queue.
      That hangs after I send 1500 messages, or something like that.
      Is there a limitation to send messages in one time to a queue?
      I am using non-persistent messages.

      thanks

        • 1. Re: jboss hangs
          Joachim Van der Auwera Expert

          Do you get errors? OutOfMemoryException springs to mind.
          There was a memory leak which (IIRC) was fixed in 3.2.2

          Joachim

          • 2. Re: jboss hangs
            moppersmurf Newbie


            When we were using JBoss 3.2.2 it also hang after more than 1000 messages. This was solved by using 3.2.3.

            • 3. Re: jboss hangs
              stabilo Newbie

              Yes, i get errors. but this error is the result of hang up jboss: 11:48:26,937 ERROR [MessageDrivenTxInterceptorBMT] Application error: BMT statel
              ess bean KOTRVerwaltung should complete transactions before returning (ejb1.1 sp
              ec, 11.6.1)
              11:48:26,937 ERROR [JMSContainerInvoker] Exception in JMSCI message listener
              java.rmi.RemoteException: Application error: BMT stateless bean KOTRVerwaltung s
              hould complete transactions before returning (ejb1.1 spec, 11.6.1)
              at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.checkStatelessDone(Abs
              tractTxInterceptorBMT.java:199)
              at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxI
              nterceptorBMT.java:148)
              at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDri
              venTxInterceptorBMT.java:36)
              at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
              DrivenInstanceInterceptor.java:88)
              at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn
              terceptor.java:100)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
              at org.jboss.ejb.MessageDrivenContainer.invoke(MessageDrivenContainer.ja
              va:302)
              at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo
              ker.java:625)
              at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM
              essage(JMSContainerInvoker.java:973)
              at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:23
              4)
              at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess
              ageConsumer.java:561)
              at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:37
              7)
              at org.jboss.mq.SpySession.run(SpySession.java:252)
              at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:173)
              at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
              utor.java:642)
              at java.lang.Thread.run(Thread.java:536)

              There is nothing like - OutOfMemoryException!

              • 4. Re: jboss hangs
                Adrian Brock Master

                This is due to you not rolling back or committing your user transaction.
                Nothing todo with JMS.

                Regards,
                Adrian