[ 
https://issues.apache.org/jira/browse/KARAF-2617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13842285#comment-13842285
 ] 

Jean-Baptiste Onofré commented on KARAF-2617:
---------------------------------------------

I tested Karaf 3.0.0-SNAPSHOT with Pax Web 3.0.4 (so before my changes in the 
features XML files): it doesn't work.

So the problem seems to be located in Pax Web 3.0.x.

> Deployed WAB are not available and stay in unknown state
> --------------------------------------------------------
>
>                 Key: KARAF-2617
>                 URL: https://issues.apache.org/jira/browse/KARAF-2617
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-webcontainer
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Priority: Critical
>             Fix For: 3.0.0
>
>
> After installing the war feature, I tried to deploy and test two WebBundle 
> without success:
> 1/ First, I tried to deploy a "pure" WebBundle: the Karaf manual war:
> karaf@root()> bundle:install -s mvn:org.apache.karaf/manual/3.0.0-SNAPSHOT/war
> The WAB has been correctly installed:
> karaf@root()> la|grep -i manual
> 111 | Active   |  80 | 3.0.0.SNAPSHOT        | Apache Karaf :: Manual
> I can see the WAB with the web:list command:
> karaf@root()> web:list
> ID  | State       | Web-State   | Level | Web-ContextPath | Name              
>                      
> ---------------------------------------------------------------------------------------------------
> 111 | Active      | Unknown     | 80    | /karaf-doc      | Apache Karaf :: 
> Manual (3.0.0.SNAPSHOT)
> But the Web-State is Unknown and when using http://localhost:8181/karaf-doc 
> URL, I have 404 (it looks like the WAB is not really deployed in the 
> WebContainer).
> 2/ I tried with the Tomcat sample war using webbundle URL:
> karaf@root()> bundle:install -s 
> webbundle:http://tomcat.apache.org/tomcat-5.5-doc/appdev/sample/sample.war?Bundle-SymbolicName=tomcat-sample&Webapp-Context=/sample
> Again, I can see the WAB with web:list:
> karaf@root()> web:list
> ID  | State       | Web-State   | Level | Web-ContextPath | Name             
> -----------------------------------------------------------------------------
> 111 | Active      | Unknown     | 80    | /sample         | tomcat-sample (0)
> But again, the Web-State is Unknown and I have 404 accessing 
> http://localhost:8181/sample



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to