karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2617) Deployed WAB are not available and stay in unknown state
Date Sat, 07 Dec 2013 19:52:35 GMT

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

Achim Nierbeck commented on KARAF-2617:
---------------------------------------

OK, the reason seems to be a wrong jetty.xml, and btw. it doesn't seem to be the one provided
by Pax Web. 

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

Mime
View raw message