Hi Parker,

The bundle:install command suggests maybe http://localhost:8181/sample/ would 
be the URL.

You can get information about deployed servlets and their URLs and states with 
the web:list command.

On 8 Jul 2014, at 22:01, parker <[email protected]> wrote:

> 
> Hi 
> 
> The user guide say : "You can note the webbundle prefix, and the
> Bundle-SymbolicName and Web-ContextPath headers on the URL."
> I dont understand what this mean, I have tried but that don't work with :
> http://localhost:8181/sample/tomcat-sample/ or
> http://localhost:8181/webbundle/sample/tomcat-sample/
> 
> 
> Then what is the url ?
> 
> Thank you ,
> 
> 
> 
> source : in the user guide  :
> http://karaf.apache.org/manual/latest/users-guide/webcontainer.html
> 
> There is : 
> 
> WAR (WebApplication aRchive)
> Apache Karaf allows you to deploy directly WAR files without repackaging as
> WAB.
> 
> Using the webbundle prefix and providing headers directly on the URL, Apache
> Karaf creates a WAB "on the fly".
> 
> For instance, you can deploy the Apache Tomcat sample non-OSGi "classical"
> WAR with the following command:
> 
> 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";
> You can note the webbundle prefix, and the Bundle-SymbolicName and
> Web-ContextPath headers on the URL.
> 
> 
> 
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/Karaf-3-0-0-and-deploying-a-war-using-the-userguide-tp4034070.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to