[
https://issues.jboss.org/browse/JBAS-9077?page=com.atlassian.jira.plugin....
]
jaikiran pai commented on JBAS-9077:
------------------------------------
The important bit (IMO) from the thread dump:
{code}
"pool-2-thread-2" prio=10 tid=0x826fb400 nid=0x4827 waiting on condition
[0x81690000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0xa9fc36a0> (a java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:969)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207)
at
org.jboss.as.controller.remote.ModelControllerOperationHandlerImpl$ExecuteAsynchronousOperation.sendResponse(ModelControllerOperationHandlerImpl.java:282)
at org.jboss.as.protocol.mgmt.ManagementResponse$2.handle(ManagementResponse.java:119)
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:59)
at org.jboss.as.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:254)
at org.jboss.as.protocol.ConnectionImpl$1$1.run(ConnectionImpl.java:213)
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:619)
{code}
Deployment failure leads to a server hang
-----------------------------------------
Key: JBAS-9077
URL:
https://issues.jboss.org/browse/JBAS-9077
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: JBoss AS7 master
Reporter: jaikiran pai
Fix For: 7.0.0.Beta2
Attachments: error-leads-to-hang.txt
This might be related to JBAS-9010 (and/or JBAS-9037). Am not sure, so creating a
separate JIRA. A deployment failure like this:
{code}
16:12:54,194 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed
to start service jboss.deployment.unit."ejb3-example.jar".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ejb3-example.jar".INSTALL: Failed to process phase
INSTALL of deployment "ejb3-example.jar"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: java.lang.NullPointerException
at
org.jboss.as.ejb3.component.session.SessionBeanComponentConfiguration.addMethodApplicableLockType(SessionBeanComponentConfiguration.java:139)
at
org.jboss.as.ejb3.component.session.SessionBeanComponentDescription.prepareLockConfiguration(SessionBeanComponentDescription.java:263)
at
org.jboss.as.ejb3.component.session.SessionBeanComponentDescription.prepareComponentConfiguration(SessionBeanComponentDescription.java:236)
at
org.jboss.as.ee.component.AbstractComponentDescription.createComponentConfiguration(AbstractComponentDescription.java:366)
at
org.jboss.as.ee.component.ComponentInstallProcessor.deploy(ComponentInstallProcessor.java:81)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
... 4 more
{code}
causes the demo and the smoke-tests to hang. Attached is the thread dump.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira