Hi,

Am 06.08.2012 um 13:46 schrieb Robert Munteanu:

> Hi,
> 
> I'm trying to launch a standalone Sling-based application with a custom 
> context path. The command I use is
> 
> java -jar foo.jar -p 9080 -r foo
> 
> I can see that the configuration property is correctly set
> 
> 04.08.2012 17:09:30.830 *INFO * [main] Setting 
> org.apache.felix.http.context_path=foo
> 
> However, the sling application is still accessible at the '/' context. I've 
> also tried
> 
> java -jar foo.jar -p 9080 -r /foo
> 
> In the OSGi console I see that I have the 'org.apache.felix.http.jetty' 
> version 2.2.0 bundle installed. The launchpad version is 2.4.0 . It's worth 
> mentioning that the -a (host) parameter does not work either.

It is very conceivable, that the respective context path support is not 
available in the http.jetty 2.2.0 bundle since IIRC it has been added after 
that release.

You might want to try updating to a trunk build.

Regards
Felix

Reply via email to