`bstat --help` should display something useful
----------------------------------------------

         Key: AMQ-702
         URL: https://issues.apache.org/activemq/browse/AMQ-702
     Project: ActiveMQ
        Type: Improvement

    Versions: 4.0 RC3    
    Reporter: Jason Dillon


`bstat --help` should display something useful.  Right now using a non-standard 
connectorPort for the managementContext I get this:

{noformat}
[EMAIL PROTECTED]:...bator-activemq-4.0-RC3/bin>./bstat --help
ACTIVEMQ_HOME: 
/Users/jason/ws/paybytouch/ea/activemq/node1/incubator-activemq-4.0-RC3
ERROR: java.lang.RuntimeException: Failed to execute query task. Reason: 
java.io.IOException: Failed to retrieve RMIServer stub: 
javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host: localhost; nested 
exception is: 
        java.net.ConnectException: Connection refused]
ERROR: java.lang.Exception: java.io.IOException: Failed to retrieve RMIServer 
stub: javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host: localhost; nested 
exception is: 
        java.net.ConnectException: Connection refused]
{noformat}

`bstat localhost --help` works, showing that this is really calling `query`.  
Anyways, not very helpful when the JMX URL is changed from the default.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to