[jboss-jira] [JBoss JIRA] Commented: (AS7-1844) MDB prevents server from shutdown

Martin Vecera (JIRA) jira-events at lists.jboss.org
Thu Sep 15 11:45:27 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628667#comment-12628667 ] 

Martin Vecera commented on AS7-1844:
------------------------------------

My information was not precise. The message did not end in DLQ:
17:33:52,252 WARN  [org.hornetq.core.server.impl.QueueImpl] (Thread-6 (group:HornetQ-server-threads1050264989-158208273)) Message Reference[28]:RELIABLE:ServerMessage[messageID=28,priority=
4,expiration=0, durable=true, address=jms.queue.TasksQueue,properties=TypedProperties[null]] has exceeded max delivery attempts. No bindings for Dead Letter Address jms.queue.DLQ so dropping it

> MDB prevents server from shutdown
> ---------------------------------
>
>                 Key: AS7-1844
>                 URL: https://issues.jboss.org/browse/AS7-1844
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB, JMS
>    Affects Versions: 7.0.1.Final, 7.1.0.Alpha1
>         Environment: Configuration - standalone-preview.xml
>            Reporter: Martin Vecera
>            Assignee: Carlo de Wolf
>
> When there is an MDB deployed and I send a single message to the queue this MDB listens to, the server hangs on during shutdown. I believe this is the reason:
> 17:35:29,181 WARN  [org.jboss.messaging] (MSC service thread 1-3) failed to destroy jms queue: TasksQueue: HornetQException[errorCode=104 message=Cannot delete queue jms.queue.TasksQueue on binding jms.queue.TasksQueue - it has consumers = org.hornetq.core.postoffice.impl.LocalQueueBinding]
>         at org.hornetq.core.server.impl.HornetQServerImpl.destroyQueue(HornetQServerImpl.java:1083)
>         at org.hornetq.jms.server.impl.JMSServerManagerImpl.destroyQueue(JMSServerManagerImpl.java:710)
>         at org.jboss.as.messaging.jms.JMSQueueService.stop(JMSQueueService.java:68)
>         at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1869)
>         at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
>         at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
> The MDB throws and EJBException in the onMessage() method and the message ends in DLQ. I'm not sure if this is related to the problem. If needed I could create a reproducer that I can provide, but it is not ready at the moment.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list