MDB fails to deploy on reload
-----------------------------
Key: WFLY-3355
URL:
https://issues.jboss.org/browse/WFLY-3355
Project: WildFly
Issue Type: Bug
Components: EJB, JMS
Affects Versions: 10.0.0.Alpha4
Environment: Windows 7, 64bit
Reporter: Bart Van Dosselaer
Assignee: Jeff Mesnil
Fix For: 10.0.0.Beta1
Attachments: leak-0.0.1-SNAPSHOT.jar
When an MDB is deployed and a :reload command is issues, the application server fails to
deploy this MDB.
Stacktrace:
{noformat}
2014-05-14 16:11:22,284 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool --
57) MSC000001: Failed to start service
jboss.deployment.unit."wildfly-helloworld-mdb.war".component.HelloWorldQueueMDB.START:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."wildfly-helloworld-mdb.war".component.HelloWorldQueueMDB.START:
java.lang.RuntimeException: javax.resource.spi.work.WorkRejectedException: IJ000263:
WorkManager is shutting down
at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57)
[wildfly-ee-8.1.0.CR2.jar:8.1.0.CR2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_55]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_55]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_55]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_55]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.1.1.Final.jar:2.1.1.Final]
Caused by: java.lang.RuntimeException: javax.resource.spi.work.WorkRejectedException:
IJ000263: WorkManager is shutting down
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.activate(MessageDrivenComponent.java:215)
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:186)
at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
[wildfly-ee-8.1.0.CR2.jar:8.1.0.CR2]
... 6 more
Caused by: javax.resource.spi.work.WorkRejectedException: IJ000263: WorkManager is
shutting down
at
org.jboss.jca.core.workmanager.WorkManagerImpl.doFirstChecks(WorkManagerImpl.java:776)
[ironjacamar-core-impl-1.1.5.Final.jar:1.1.5.Final]
at org.jboss.jca.core.workmanager.WorkManagerImpl.scheduleWork(WorkManagerImpl.java:617)
[ironjacamar-core-impl-1.1.5.Final.jar:1.1.5.Final]
at org.jboss.jca.core.workmanager.WorkManagerImpl.scheduleWork(WorkManagerImpl.java:602)
[ironjacamar-core-impl-1.1.5.Final.jar:1.1.5.Final]
at org.hornetq.ra.inflow.HornetQActivation.start(HornetQActivation.java:264)
[hornetq-ra-2.4.1.Final.jar:]
at
org.hornetq.ra.HornetQResourceAdapter.endpointActivation(HornetQResourceAdapter.java:166)
[hornetq-ra-2.4.1.Final.jar:]
at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:191)
[ironjacamar-core-impl-1.1.5.Final.jar:1.1.5.Final]
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.activate(MessageDrivenComponent.java:213)
... 8 more
{noformat}