Description
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
Attachments
Issue Links
- relates to
-
KARAF-2608 Upgrade to Pax Web 3.0.5
- Resolved