[ https://issues.apache.org/activemq/browse/AMQ-702?page=all ] Adrian Co resolved AMQ-702: ---------------------------
Resolution: Fixed Done. Added fix to 4.0.1 and trunk. Sorry, it took a awhile. ;) > `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 > Assignee: Adrian Co > Fix For: 4.1, 4.0.1 > > > `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