firstly I clean the data folder of karaf and i do ./karaf -c -clean
secondly :
I do that :
karaf@root()> bundle:install -s
"webbundle:http://tomcat.apache.org/tomcat-7.0-doc/appdev/sample/sample.war?Bundle-SymbolicName=tomcat-sample&Web-ContextPath=/sample";
 
Bundle ID: 114
karaf@root()> 

karaf@root()> web:list
ID  | State       | Web-State   | Level | Web-ContextPath | Name             
-----------------------------------------------------------------------------
114 | Active      | Deployed    | 80    | /sample         | tomcat-sample
(0)
karaf@root()> 



but in http://localhost:8181/sample/ i have :
HTTP ERROR 404
Problem accessing /sample/. Reason:
    Not Found
Powered by Jetty://


I don't  understand why it's not working.


Thank you for your advice.





--
View this message in context: 
http://karaf.922171.n3.nabble.com/deploy-a-war-web-project-on-karaf-don-t-work-tp4034063p4034075.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to