Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1392

jconcole.sh - correct PATH for calling jconsole

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 8.0.0.Beta1
    • 8.0.0.Alpha1
    • Scripts
    • None

      jconsole.sh checks for correct setting of JAVA_HOME and adds libraries from JAVA_HOME to the CLASSPATH.
      But at the end, jconsole is called with out path.
      So if jconsole is found somewhere else this is used.
      Last line shoud be changed from
      jconsole -J-Djava.class.path="$CLASSPATH"
      to
      $JAVA_HOME/bin/jconsole -J-Djava.class.path="$CLASSPATH"
      to make sure that libs and bin are used from the same directory.

              darran.lofthouse@redhat.com Darran Lofthouse
              franklangelage Frank Langelage (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: