[ 
https://issues.apache.org/jira/browse/KARAF-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126589#comment-14126589
 ] 

Jean-Baptiste Onofré commented on KARAF-3212:
---------------------------------------------

Same thing as in KARAF-3211, pax-web use a <config/> for that afair. It sounds 
like we have an issue with <config/> loading.

> 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
>             Fix For: 4.0.0, 3.0.2
>
>
> 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)

Reply via email to