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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.2, 4.0.0.M3
    • 3.0.2, 4.0.0.M2, 4.0.0.M3
    • karaf
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: