Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-31835

[GSS](8.1.z) EAP 8.1 launch.sh systemd script incorrectly overrides JAVA_OPTS

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Hide

      Explicitly configure JAVA_OPTS in the service configuration, including all default options such as -Xmx.

      Show
      Explicitly configure JAVA_OPTS in the service configuration, including all default options such as -Xmx.
    • Critical
    • Customer Facing, Customer Reported

      The new launch.sh script in EAP 8.1 for systemd incorrectly overrides JAVA_OPTS:

      # Disable color output for the standard output
      export JAVA_OPTS="${JAVA_OPTS} -Dorg.jboss.logmanager.nocolor=true"
      

      If JAVA_OPTS is set before starting EAP, then EAP will not override it in standalone.conf and it must contain all of the default settings (such as -Xmx).
      But launch.sh is overriding it, without setting the defaults.

              lvydra Lukas Vydra
              rhn-support-dereed Dennis Reed
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: