Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15561

Setting felix.cache.rootdir in config.properties is ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0.4, 7.0.1
    • Fix Version/s: 7.1.0
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      2
    • Sprint:
      2020.15 - IDM, 2020.16 - IDM, 2020.17 IDM
    • Support Ticket IDs:

      Description

       

      As in the title. Below is configured in conf/config.properties and idm is started with bin/startup.sh

      # The following property explicitly specifies the location of the bundle
      # cache, which defaults to "felix-cache" in the current working directory.
      # If this value is not absolute, then the felix.cache.rootdir controls
      # how the absolute location is calculated. (See buildNext property)
      org.osgi.framework.storage=&{felix.cache.rootdir|&{user.dir}}/felix-cache
      felix.cache.rootdir=/opt/openidm/myDir

      I expect felix cache to reside at /opt/openidm/myDir/felix-cache however it is actually at /opt/openidm/felix-cache. Have tried placing felix.cache.rootdir higher in the file in case order was important.

      No obvious errors or warnings observed.

      Workaround is to set org.osgi.framework.storage as an absolute path or use the -s option to startup.sh.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kyle.voos Kyle Voos
              Reporter:
              ciaran.watts Ciaran Watts
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: