[jboss-jira] [JBoss JIRA] (WFLY-1381) OSGi: "Web-ContextPath" header is not supported to install/start WAB bundle from repository

Igor Shulika (JIRA) jira-events at lists.jboss.org
Thu May 23 13:33:06 EDT 2013


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

Igor Shulika edited comment on WFLY-1381 at 5/23/13 1:32 PM:
-------------------------------------------------------------

Ok, could you please help me to understand what class in OSGi package responsible to process web application bundle? Should not be difficult task I guess since it works with UndertowDeploymentService.

org.jboss.as.osgi.web.WebContextLifecycleInterceptor.invoke(WebContextLifecycleInterceptor.java:105)
org.jboss.osgi.deployment.interceptor.AbstractLifecycleInterceptorService.handleStateChange(AbstractLifecycleInterceptorService.java:264)
org.jboss.osgi.framework.internal.AbstractBundleState.changeState(AbstractBundleState.java:253)
org.jboss.osgi.framework.internal.AbstractBundleState.changeState(AbstractBundleState.java:242)
org.jboss.osgi.framework.internal.UserBundleState.startInternalNow(UserBundleState.java:637)
org.jboss.osgi.framework.internal.UserBundleState.startInternal(UserBundleState.java:526)
org.jboss.osgi.framework.internal.BundleManagerPlugin.startBundle(BundleManagerPlugin.java:560)
org.jboss.as.osgi.deployment.BundleActivateProcessor$BundleActivateService.start(BundleActivateProcessor.java:125)
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$ContextActivatorImpl.start
                
      was (Author: eagleigor):
    Ok, could you please help me understand what class in OSGi package responsible to process web application bundle? Should not be difficult task I guess since it works with UndertowDeploymentService.

org.jboss.as.osgi.web.WebContextLifecycleInterceptor.invoke(WebContextLifecycleInterceptor.java:105)
org.jboss.osgi.deployment.interceptor.AbstractLifecycleInterceptorService.handleStateChange(AbstractLifecycleInterceptorService.java:264)
org.jboss.osgi.framework.internal.AbstractBundleState.changeState(AbstractBundleState.java:253)
org.jboss.osgi.framework.internal.AbstractBundleState.changeState(AbstractBundleState.java:242)
org.jboss.osgi.framework.internal.UserBundleState.startInternalNow(UserBundleState.java:637)
org.jboss.osgi.framework.internal.UserBundleState.startInternal(UserBundleState.java:526)
org.jboss.osgi.framework.internal.BundleManagerPlugin.startBundle(BundleManagerPlugin.java:560)
org.jboss.as.osgi.deployment.BundleActivateProcessor$BundleActivateService.start(BundleActivateProcessor.java:125)
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$ContextActivatorImpl.start
                  
> OSGi: "Web-ContextPath" header is not supported to install/start WAB bundle from repository
> -------------------------------------------------------------------------------------------
>
>                 Key: WFLY-1381
>                 URL: https://issues.jboss.org/browse/WFLY-1381
>             Project: WildFly
>          Issue Type: Bug
>          Components: OSGi
>    Affects Versions: 8.0.0.Alpha2
>            Reporter: Igor Shulika
>            Assignee: Thomas Diesler
>
> I am using the latest WildFly 8.0.0.Alpha2-SNAPSHOT server to install/start all of my OSGi bundles from Maven repository. The WAB is not starting if I am just declare capability in the standalone-osgi.xml file.
>  
> Here is my capability configuration.
> <capability name="org.test.sample.webapp:my-sample-webapp:1.0" startlevel="4"/>
>  
> Note: When I just simply drop my WAB file inside "deployments" directory the web application starting successfully.

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