Your port numbers don't match.

On Jul 13, 2017 4:21 AM, "xabhi" <[email protected]> wrote:

> Hi,
> I am trying to get destination stats using /bin/activemq command. This was
> earlier available via activemq-admin command. (
> http://activemq.apache.org/activemq-command-line-tools-reference.html
> <http://activemq.apache.org/activemq-command-line-tools-reference.html>  )
>
> ? ~/apache-activemq-5.14.4/bin/activemq dstat topics
> -Dactivemq.jmx.url=service:jmx:rmi:///jndi/rmi://mqbrokerqa:9011/jmxrmi
> ...
> Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
> INFO: Broker not available at:
> service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
>
> It is not picking up the jmx url.
>
> However, below command works:
> ./activemq query --view InactiveDurableTopicSubscribers --jmxurl
> service:jmx:rmi:///jndi/rmi://mqbrokerqa:9011/jmxrmi
>
> Thanks,
> Abhi
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/bin-activemq-command-not-working-tp4728517.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to