[ 
https://issues.apache.org/activemq/browse/SMX4-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56876#action_56876
 ] 

Chris Custine commented on SMX4-458:
------------------------------------

The default behavior of the activemq cli doesn't work in the SMX4 console 
(where it defaults to the local instance if you don't specify a JMX url or 
--jmxlocal).  So in other words, currently you have to use --jmxlocal for most 
of the commands.  For instance: activemq:list --jmxlocal or activemq:query 
--jmxlocal.  For browse, you will have to specify the local instance url such 
as: activemq:browse --amqurl tcp://localhost:61616  FOO.BAR

We'll try to get AMQ commands more tightly integrated with the shell and more 
aware of the local instance in the future.

> Command activemq:list, activemq:browse return null 
> ---------------------------------------------------
>
>                 Key: SMX4-458
>                 URL: https://issues.apache.org/activemq/browse/SMX4-458
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: ServiceMix 4.1-SNAPSHOT
>            Reporter: Charles Moulliard
>            Assignee: Jean-Baptiste Onofré
>
> When the activemq config file is deployed through the feature 
> activemq-broker, than the command activemq:browse, activemq:list display null 
> instead of the instance of activemq running
> {code}
> ka...@root> activemq:browse
> null
> ka...@root> activemq:list
> null
> {code}
> Bundles installed :
> {code}
> [  42] [Active     ] [            ] [       ] [   60] kahadb (5.3.0)
> [  43] [Active     ] [            ] [       ] [   60] activemq-core (5.3.0)
> [  44] [Active     ] [            ] [       ] [   60] activemq-ra (5.3.0)
> [  45] [Active     ] [            ] [       ] [   60] activemq-console (5.3.0)
> [  46] [Active     ] [            ] [       ] [   60] activemq-pool (5.3.0)
> [  47] [Active     ] [Created     ] [       ] [   60] Apache ServiceMix 
> Features :: ActiveMQ Commands (4.1.0.SNAPSHOT)
> [  59] [Active     ] [            ] [       ] [   60] activemq-broker.xml 
> (0.0.0)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to