Uploaded image for project: 'SET - Setups'
  1. SET - Setups
  2. SET-116

Universal Agent does not start if output to the command "java -version" does not contain the version in the first line

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.10, 1.11
    • 1.10.9, 1.11.5, 1.12
    • None

    Description

      Current Situation

      • The start script for the Universal Agent executes a version check for the Java version. The first line of the output of a java -version command is analysed.
      • If the Java version is not given in the first line, then the Universal Agent does not start

      This happens when _JAVA_OPTIONS or JAVA_TOOL_OPTIONS is set as environment variables.

      Desired Behaviour

      • The Universal Agent should start even if outpout of the java -version command does not contain the version in the first output line e.g. if the output looks like this
        oracle sid host:/home/oracle >java -version
        Picked up _JAVA_OPTIONS: -Xms256m -Xmx256m
        java version "1.8.0_144"
        Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
        Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
        

      Maintainer Note

      • If the first line of the java -version output doesn't contain the expected content such as ... version "1.8.0_144" then the version will not be checked.

      Attachments

        Activity

          People

            oh Oliver Haufe
            ur Uwe Risse
            Uwe Risse Uwe Risse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: