Krzysztof Sobkowiak created KARAF-3212:
------------------------------------------
Summary: karaf.data variable not correctly resolved while
installing the pax-http feature
Key: KARAF-3212
URL: https://issues.apache.org/jira/browse/KARAF-3212
Project: Karaf
Issue Type: Bug
Components: karaf-config
Affects Versions: 4.0.0, 3.0.2
Reporter: Krzysztof Sobkowiak
After installing the {{pax-http}} feature in the Karaf root a directory named
{{$\{karaf.data\}/pax-web-jsp}} is created. The directory is defined in
{{org.ops4j.pax.web}} configuration provided by the {{pax-http}} feature
{code}
service.pid = org.ops4j.pax.web
javax.servlet.context.tempdir = ${karaf.data}/pax-web-jsp
org.ops4j.pax.web.config.file = ${karaf.base}/etc/jetty.xml
org.osgi.service.http.port = 8181
org.apache.karaf.features.configKey = org.ops4j.pax.web
{code}
The variable {{karaf.base}} seems not to be resolved in the parameter
{{javax.servlet.context.tempdir}}
Editing the {{javax.servlet.context.tempdir}} parameter and updating the
configuration creates the directory in the correct location
({{data/pax-web-jsp}})
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)