[jboss-jira] [JBoss JIRA] (WFLY-5885) jconsole.sh uses incorrect classpath if JBOSS_HOME is incorrect

Cosmin Stroe (JIRA) issues at jboss.org
Fri Dec 18 15:07:00 EST 2015


Cosmin Stroe created WFLY-5885:
----------------------------------

             Summary: jconsole.sh uses incorrect classpath if JBOSS_HOME is incorrect
                 Key: WFLY-5885
                 URL: https://issues.jboss.org/browse/WFLY-5885
             Project: WildFly
          Issue Type: Feature Request
            Reporter: Cosmin Stroe
            Assignee: Jason Greene
            Priority: Minor


If {{$JBOSS_HOME}} is incorrectly set, we get a vague WARNING message when the script starts, but jconsole is run and shows the GUI window.  This is misleading, because jconsole won't have the correct classpath and won't be able to connect to Wildfly, leading to an ambiguous "Cannot connect" error.

{{jconsole.sh}} should fail fast if it cannot find the {{jboss-cli-client.jar}} and avoid this entire confusion.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list