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

Service wrapper assumes java is on system path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.1
    • 2.3.3, 2.4.0, 3.0.0
    • karaf
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: