deploy.jar methods does not return correct properties from deployment.properties.

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 8
    • Affects Version/s: 7u10
    • Component/s: deploy
    • None

      deploy.jar works incorrect on linux platform.

      deployment.properties file may be found in three places on Linux.
      ~/.java/deployment/
      /etc/.java/deployment/
      $JRE_HOME/lib/

      if trying add some key (for example deployment.user.cachedir ) to
      ~/.java/deployment/deployment.properties
      we can see changes in Java ControlPanel (JCP), but if we are edit cache location in JCP changes will saved to
      /etc/.java/deployment/deployment.properties
      and not removed from
      ~/.java/deployment/deployment.properties

      Now if we are set key deployment.system.cachedir in any or all deployment.properties file we can not get this property in Java Runtime through Config.getSystemCacheDirectory() method.
      getSystemCacheDirectory() always return null;
      Some other methods also return incorrect values, for example Config.getCacheDirectory(). This method always return ~/.java/deployment/cache insted of value which was set in JCP.

      Need check all methods in deploy.jar and correct issues.

            Assignee:
            Andy Herrick (Inactive)
            Reporter:
            Felix Basin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: