JBoss SOA-P shutdown stalls with deadlocks
Issue
- JBoss SOA-P fails to shutdown completely. Thread dumps show the shutdown thread stalled like so:
"JBoss Shutdown Hook" daemon prio=10 tid=0x000000004c5a2000 nid=0xbb7 in Object.wait() [0x0000000066efa000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:1186)
- locked <0x0000000754cfb740> (a java.lang.Thread)
at java.lang.Thread.join(Thread.java:1239)
at org.jboss.soa.esb.services.jbpm.integration.msg.JmsMessageServiceFactory.close(JmsMessageServiceFactory.java:204)
at org.jbpm.JbpmConfiguration.close(JbpmConfiguration.java:556)
- locked <0x0000000755a6a440> (a org.jbpm.JbpmConfiguration)
at org.jbpm.JbpmConfiguration.close(JbpmConfiguration.java:514)
at org.jboss.soa.esb.services.jbpm.configuration.JbpmService.stopService(JbpmService.java:65)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:405)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:324)
Environment
- JBoss Service Oriented Architecture Platform (SOA-P)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.