Hi 

When i tried 

activemq:list, I was not able to get anything . Since i am trying out some
clustering

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> activemq:browse
ERROR: java.lang.IllegalArgumentException: No JMS destination specified.
java.lang.IllegalArgumentException: No JMS destination specified.
        at
org.apache.activemq.console.command.AmqBrowseCommand.runTask(AmqBrowseCommand.java:88)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        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)
karaf@root>

Please help me out

Regards
Guru

-----
Cheers
 Guru
--
View this message in context: 
http://servicemix.396122.n5.nabble.com/error-when-activemq-list-in-smx4-tp4729357p4729357.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to