[jboss-jira] [JBoss JIRA] (WFLY-843) Cannot restart webapp bundle after activation failure

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri May 3 08:52:54 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771923#comment-12771923 ] 

RH Bugzilla Integration commented on WFLY-843:
----------------------------------------------

Horia Chiorean <hchiorea at redhat.com> made a comment on [bug 959426|https://bugzilla.redhat.com/show_bug.cgi?id=959426]

Description of problem: 
Given an EAP 6.1.0 installation which contains one or more web applications deployed that expose WSDL endpoints, upon server reload/restart the WSDL endpoints cannot be restarted.


Version-Release number of selected component (if applicable):
EAP 6.1.0.Alpha/Beta

How reproducible:
Always

Steps to Reproduce:
1. Download the ModeShape EAP kit from http://downloads.jboss.org/modeshape/3.2.0.Final/modeshape-3.2.0.Final-jbosseap-61-dist.zip
2. Extract the contents into an existing EAP 6.1.0.Beta distribution
3. Start the server with "standalone.sh -c standalone-modeshape.xml"
4. Start a CLI session and connect to the server via "jboss-cli.sh"
5. In the CLI command window, enter: ":reload"
  
Actual results:

15:14:03,838 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."modeshape-cmis.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."modeshape-cmis.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "modeshape-cmis.war"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
Caused by: java.lang.IllegalStateException
        at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
        at org.jboss.as.webservices.config.ServerConfigImpl.getServerEnvironment(ServerConfigImpl.java:80)
        at org.jboss.as.webservices.config.ServerConfigImpl.getServerDataDir(ServerConfigImpl.java:58)
        at org.jboss.wsf.stack.cxf.deployment.WSDLFilePublisher.getPublishLocation(WSDLFilePublisher.java:161)
        at org.jboss.wsf.stack.cxf.deployment.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:69)
        at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.publishContractToFilesystem(EndpointImpl.java:132)
        at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:72)
        at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:250)
        at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:536)
        at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:116)
        at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:128)
        at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:67)
        at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)


Expected results:
The web application(s) should be restarted without any problem

Additional info:
The problem seems to be that on server restart, the ServerEnvironment instance cannot be injected into the ServerConfigImpl used by the WSDLFilePublisher.
                
> Cannot restart webapp bundle after activation failure
> -----------------------------------------------------
>
>                 Key: WFLY-843
>                 URL: https://issues.jboss.org/browse/WFLY-843
>             Project: WildFly
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>
> {code}
> Caused by: java.lang.IllegalStateException
> 	at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> 	at org.jboss.as.connector.deployers.ra.processors.CachedConnectionManagerSetupProcessor$CachedConnectionManagerSetupAction.setup(CachedConnectionManagerSetupProcessor.java:74)
> 	at org.jboss.as.web.ThreadSetupBindingListener.bind(ThreadSetupBindingListener.java:50)
> 	at org.apache.catalina.core.StandardContext.bindThread(StandardContext.java:4234)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3740)
> 	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:102)
> {code}

--
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


More information about the jboss-jira mailing list