Thanks for sharing the URL samples..

But looking at the documentation [1] & [2] i could see the steps for
deploying a WAR file as web bundle.

Still have few questions from the below command

If you want to deploy a sample web application into Karaf, you could use the
following command:

karaf@root> osgi:install -s
webbundle:http://tomcat.apache.org/tomcat-5.5-doc/appdev/sample/sample.war?Bundle-SymbolicName=tomcat-sample&Webapp-Context=/sample
Then open your web browser and point to
http://localhost:8181/sample/index.html.

what does tomcat.apache.org/tomcat-5.5-doc/appdev/sample refers in the
example.

For my example pls find below the manifest file details

Bundle-Name: camel-example-servlet-tomcat
Bundle-SymbolicName: org.apache.camel.camel-example-servlet-tomcat
Bundle-Version: 2.10.4
War file name - camel-example-servlet-tomcat-2.10.4.war

Still i couldn't understand how to deploy that WAR file similar to the
sample web application. Im getting an exception whenever trying to execute
the below command.

osgi:install -s
webbundle:mvn:org.apache.camel/examples/2.10.4/camel-example-servlet-tomcat-2.10.4.war?Bundle-SymbolicName=camel-example-servlet-tomcat&Webapp-Context=/examples
 

Pls correct me if im wrong & im doing a POC using karaf to deploy a WAR or
JAR file and then access the application.

Regards,

K.Rajan






--
View this message in context: 
http://karaf.922171.n3.nabble.com/Facing-issues-while-deploying-a-WAR-file-tp4028568p4028602.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Reply via email to