qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mARK bLOORE <mblo...@gmail.com>
Subject can't list in java cli
Date Wed, 11 Nov 2009 16:57:08 GMT
I am running the Java 0.5 broker and management tools.  In qpid-cli,
if I try to list any type of object, I get

qpid-admin-$ queue list
java.lang.SecurityException: Access denied
	at org.apache.qpid.server.management.MBeanInvocationHandlerImpl.invoke(MBeanInvocationHandlerImpl.java:159)
	at $Proxy7.queryNames(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:90)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1284)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1389)
	at javax.management.remote.rmi.RMIConnectionImpl.queryNames(RMIConnectionImpl.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
	at sun.rmi.transport.Transport$1.run(Transport.java:177)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
	at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl_Stub.queryNames(Unknown
Source)
	at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.queryNames(RMIConnector.java:829)
	at org.apache.qpid.commands.objects.ObjectNames.returnObjects(ObjectNames.java:52)
	at org.apache.qpid.commands.Commandlist.listobjects(Commandlist.java:106)
	at org.apache.qpid.commands.Commandlist.execute(Commandlist.java:191)
	at org.apache.qpid.CommandExecutionEngine.runcommand(CommandExecutionEngine.java:69)
	at org.apache.qpid.CommandLineInterpreter.main(CommandLineInterpreter.java:170)
java.lang.NullPointerException
	at org.apache.qpid.commands.Commandlist.listobjects(Commandlist.java:107)
	at org.apache.qpid.commands.Commandlist.execute(Commandlist.java:191)
	at org.apache.qpid.CommandExecutionEngine.runcommand(CommandExecutionEngine.java:69)
	at org.apache.qpid.CommandLineInterpreter.main(CommandLineInterpreter.java:170)
qpid-admin-$


What is wrong?

-- 
mARK bLOORE <mbloore@gmail.com>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message