Hi,

What's exact Servicemix version you are using?
I assume you use the FUSE ESB 4.4, I just tried the 4.4.0-fuse-00-43, it works for me, I can get the result
karaf@root> activemq:list
Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/ karaf-root
BrokerName = default

Freeman

On 2011-8-17, at 下午7:14, Gnanaguru S wrote:


Hi

Please help out. When i tried activemq:list

karaf@root> jbi:
jbi:list        jbi:shutdown    jbi:start       jbi:stop
karaf@root> activemq:
activemq:browse activemq:bstat activemq:create-broker
activemq:destroy-broker
activemq:list              activemq:purge             activemq:query
karaf@root> activemq:list
Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/ karaf- ERROR: java.lang.RuntimeException: Failed to execute list task. Reason:
java.io.IOException: Failed to retriev
e RMIServer stub: javax.naming.NameNotFoundException: karaf-
java.lang.RuntimeException: Failed to execute list task. Reason:
java.io.IOException: Failed to retrieve RMISe
rver stub: javax.naming.NameNotFoundException: karaf-
       at
org .apache .activemq.console.command.ListCommand.runTask(ListCommand.java:53)
       at
org .apache .activemq .console.command.AbstractCommand.execute(AbstractCommand.java:57)
       at
org .apache .activemq .console.command.AbstractJmxCommand.execute(AbstractJmxCommand.java: 322)
       at
org .apache .activemq .karaf .commands .ActiveMQCommandSupport.doExecute(ActiveMQCommandSupport.java:46)

       at
org .apache .karaf .shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
       at
org .apache .felix .gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
       at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java: 78)
       at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
       at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java: 400)
       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java: 183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java: 120)
       at
org .apache .felix .gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)
       at
org.apache.karaf.shell.console.jline.Console.run(Console.java:240)
       at java.lang.Thread.run(Thread.java:619)
Error executing command: java.io.IOException: Failed to retrieve RMIServer
stub: javax.naming.NameNotFoundExce
ption: karaf-
karaf@root>



Regards
Guru

-----
Cheers
Guru
--
View this message in context: 
http://servicemix.396122.n5.nabble.com/ActiveMQ-list-Failure-tp4707744p4707744.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to