hstaudacher / osgi-jax-rs-connector

An OSGi - JAX-RS 2.0 Connector, software repository available on the link below
http://hstaudacher.github.io/osgi-jax-rs-connector
Other
191 stars 98 forks source link

Setting root path value '/' of the JAX RS Connector #167

Closed lojo closed 8 years ago

lojo commented 8 years ago

Using Apache Karaf 4.0.5 and the OSGi JAX RS Connector v5.3.1, I can successfully set the root path of the connector with values like /foo or /fo. However, when setting the value to '/' I can not access the URI anymore.

Example OK: karaf>config:property-set -p com.eclipsesource.jaxrs.connector root /foo

Example NOT OK: karaf>config:property-set -p com.eclipsesource.jaxrs.connector root /

lojo commented 8 years ago

Setting the root path value to *'/'** in the configuration file is setting the proper root path within Apache Karaf.