karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3212) karaf.data variable not correctly resolved while installing the pax-http feature
Date Tue, 09 Sep 2014 17:36:29 GMT

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

Achim Nierbeck commented on KARAF-3212:
---------------------------------------

Found it, the interpolation is skipped :/

> 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
>            Assignee: Jean-Baptiste Onofré
>             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)

Mime
View raw message