Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3212

karaf.data variable not correctly resolved while installing the pax-http feature

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.2, 4.0.0.M3
    • Fix Version/s: 3.0.2, 4.0.0.M2, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None

      Description

      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

         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
      

      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)

        Attachments

          Activity

            People

            • Assignee:
              achim_nierbeck Achim Nierbeck
              Reporter:
              sobkowiak Krzysztof Sobkowiak
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: