[jboss-jira] [JBoss JIRA] Created: (AS7-1844) MDB prevents server from shutdown
Martin Vecera (JIRA)
jira-events at lists.jboss.org
Thu Sep 15 11:43:26 EDT 2011
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
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