I'm not sure I follow your problem here.
Did you install the war according to the documentation.
Did you use the Web-ContextPath according to the documentation?

The path you defined in the Web-ContextPath is the path to your application
URL.
For more details on how to use WAB/WAR or HttpService can be found at the
Pax Web Project [1] and its samples [2]. The integration tests show how the
samples are used [3].

regards, Achim

[1] - https://ops4j1.jira.com/wiki/display/paxweb/Pax+Web
[2] - https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples
[3] -
https://github.com/ops4j/org.ops4j.pax.web/tree/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty


2014-07-09 0:17 GMT+02:00 parker <[email protected]>:

> Hi
>
> Hi ,
>
> Thank you for your answer.
> I don't know why that don't work : http://localhost:8181/sample/
>
>  tomcat-sample is deployed , I use chrome and linux and I have this message
> on  http://localhost:8181/sample/   "HTTP ERROR 404
> Problem accessing /sample/. Reason:
>     Not Found
> Powered by Jetty://
> "
>
>
> karaf@root()> web:list
> ID  | State       | Web-State   | Level | Web-ContextPath | Name
>
> ----------------------------------------------------------------------------------------------------------
> 132 | Active      | Deployed    | 80    | /cave           | Apache Karaf ::
> Cave :: Server :: HTTP (3.0.0)
> 133 | Active      | Deployed    | 80    | /sample         | tomcat-sample
> (0)
> karaf@root()>
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Karaf-3-0-0-and-deploying-a-war-using-the-userguide-tp4034070p4034074.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Software Architect / Project Manager / Scrum Master

Reply via email to