Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-783

jms message disappeared from db then exception is occured

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • AS 4.2.1.GA
    • EJB 3.0 RC9 - FD
    • None
    • None

      We running clustered jboss4.0.5 and JBOSS MQ is configured to run in clustered environment.
      The node which was running Jboss MQ went down. JBOSS MQ successfully restarted on second node.But deliver of JMS message failed with error:
      2006-11-13 11:47:59,130 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] (cludev02) (WorkManager(3)-28 Unexpected error delivering message SpyTextMessage {
      Header {
      jmsDestination : QUEUE.certione/ExecutorQueue
      jmsDeliveryMode : 2
      jmsExpiration : 0
      jmsPriority : 4
      jmsMessageID : ID:13-116341486898510
      jmsTimeStamp : 1163414868985
      jmsCorrelationID: null
      jmsReplyTo : null
      jmsType : CertioneAsyncProcessingMessage
      jmsRedelivered : false
      jmsProperties :

      {TrackItemId=738, ExecutorName=certione/PreProcessingProcessRemote, TokenId=19666, AuditRecord=137}

      jmsPropReadWrite: false
      msgReadOnly : true
      producerClientId: ID:13
      }
      Body {
      text :null
      }
      }
      javax.ejb.EJBException: Failed to acquire the pool semaphore, strictTimeout=10000
      at org.jboss.ejb3.StrictMaxPool.get(StrictMaxPool.java:106)
      at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:245)
      at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268)
      at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138)
      at $Proxy272.onMessage(Unknown Source)
      at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:183)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
      at org.jboss.mq.SpySession.run(SpySession.java:323)
      at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:249)
      at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
      at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Thread.java:595)

      And the most important is that JMS message disappeared after that from database !

              wdecoste1@redhat.com William Decoste (Inactive)
              ramazanyich_jira Ramil Israfilov (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: