[jboss-jira] [JBoss JIRA] Commented: (JBAS-9077) Deployment failure leads to a server hang
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Mar 25 10:51:21 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591831#comment-12591831 ]
Brian Stansberry commented on JBAS-9077:
----------------------------------------
JBAS-9063 is the same issue, but for the demos. So for this issue, let's focus on the smoke tests.
JBAS-9010 is the core issue. A secondary issue is a deployment client blocking forever waiting for a response. In both the demos and the smoke tests this is via a call to ServerDeploymentManager.executeDeploymentPlan() and then calling get() on the returned Future. I've fixed that for the demos (by adding a timeout to the get() and failing the demo /trying to clean up if there's a TimeoutException.
For the smoke tests, a similiar thing could be done in the Arquillian, but the correct behavior is trickier. E.g. what's the correct timeout, how best to clean up.
> 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
More information about the jboss-jira
mailing list