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

Service wrapper assumes java is on system path

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.3, 2.4.0, 3.0.0
    • Component/s: karaf-os-integration
    • Labels:
      None
    • Environment:

      windows, linux

      Description

      In the service wrapper conf file, the wrapper.java.command property points directly to java, and not to a fully qualified path to java. This assumes that java is on the system path, which it may not. The value should be:

      wrapper.java.command=%JAVA_HOME%/bin/java

      This ensures the wrapper is using the java executable established from setting the JAVA_HOME variable under the Wrapper Properties a few lines up in the conf file.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              brianemond Brian Emond
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: