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

JConsole script builds wrong path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 8.2.0.Final
    • JMX

      The path built by the jconsole.sh script is incorrect, and as a result, when calling {{service:jmx:http-remoting-jmx://

      {insert server ip here}

      :9990}} is probably never recognized and the connection is never done.

      The path, under mac is:

      /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/jconsole -J-Djava.class.path=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/tools.jar:"/Users/user/Documents/playground/wild/wildfly-8.2.0.Final"/bin/client/jboss-cli-client.jar

      So, there are " on the path for the jboss-cli-client.jar. which breaks things. This problem happens with both Linux and Mac.

              lvydra Lukas Vydra
              avlemos_jira André Lemos (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: