Stephen Coy created AS7-5946:
--------------------------------
Summary: jboss-ejb3.xml faults fail silently and result in a hanging thread
Key: AS7-5946
URL:
https://issues.jboss.org/browse/AS7-5946
Project: Application Server 7
Issue Type: Bug
Components: EE, EJB
Affects Versions: 7.1.3.Final (EAP), 7.2.0.Alpha1
Environment: MacOS X 10.8.2
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)
Reporter: Stephen Coy
Assignee: David Lloyd
Attachments: migration-demo.tar.gz
The attached maven application project has a subtle typo in a JNDI name in the
jboss-ejb3.xml file.
The deployment process results in a hanging thread shown below. There are no diagnostic
log messages at all to indicate what the problem could be.
A second consequence of this hung thread is that the server process can only be terminated
with a "kill -9 <pid>".
Note that it is deliberately a JEE5 compatible application.
"management-handler-thread - 4" prio=5 tid=7f843c0bf000 nid=0x10a866000 in
Object.wait() [10a864000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <7d42d05f8> (a org.jboss.as.controller.ContainerStateMonitor)
at java.lang.Object.wait(Object.java:485)
at
org.jboss.as.controller.ContainerStateMonitor.awaitContainerStateChangeReport(ContainerStateMonitor.java:158)
- locked <7d42d05f8> (a org.jboss.as.controller.ContainerStateMonitor)
at
org.jboss.as.controller.ModelControllerImpl.awaitContainerStateChangeReport(ModelControllerImpl.java:442)
at
org.jboss.as.controller.OperationContextImpl.awaitModelControllerContainerMonitor(OperationContextImpl.java:147)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:261)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)
at
org.jboss.as.server.deployment.DeploymentHandlerUtil$1.execute(DeploymentHandlerUtil.java:123)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)
at
org.jboss.as.server.deployment.DeploymentDeployHandler.execute(DeploymentDeployHandler.java:75)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)
at
org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:168)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)
at
org.jboss.as.controller.CompositeOperationHandler.execute(CompositeOperationHandler.java:85)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)
at
org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:473)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)
at
org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:126)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:111)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:139)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:108)
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:296)
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:518)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Locked ownable synchronizers:
- <7d42a5150> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
- <7d4f3b598> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira