[
https://issues.jboss.org/browse/AS7-1844?page=com.atlassian.jira.plugin.s...
]
jaikiran pai resolved AS7-1844.
-------------------------------
Resolution: Done
Fixed and merged upstream
https://github.com/jbossas/jboss-as/pull/777. Please reopen if
you still the issue in the nightly builds
http://community.jboss.org/thread/167590
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.0.2.Final, 7.1.0.Beta1
Environment: Configuration - standalone-preview.xml
Reporter: Martin Vecera
Assignee: jaikiran pai
Fix For: 7.1.0.CR1
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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira