Sorry, I perhaps wasnt clear enough - dont let the directory name in
the repository mislead you, it isnt just a plugin for use with the
Eclipse IDE that it builds as part of the ant build process, the
release directory holds fully functional standalone applications.
(Which happen to be Eclipse Rich Client Platform based and mostly
powered by a core plugin with source in that directory. Whilst it has
previously been possible to manualy weld it and its dependencies into
an Eclipse IDE, that isnt the intention for it and it hasnt been tried
since the recent major alterations).

You dont need to do anything with the artifacts that get created
except choose a release subdirectory to match your OS platform, and
run the the qpidmc (linux releases) or qpidmc.exe (windows release)
file within the subfolder to start the app.
(The Solaris build has never been successfully run so far due to lack
of a test environment and ive still to test the OS X build since the
updates, but the Linux and Windows releases have been used and tested
extensively during/since the recent improvements)

To summarise:

1. change directory into <trunk checkout>/qpid/java
2. ant release-bin
3. change directory into <trunk
checkout>/qpid/java/management/eclipse-plugin/release/<your platform
choice>
4. if you want to use SSL on the brokers JMX server, ensure you have
set up your broker accordingly and generated SSL keystore+truststore,
and then configure the console in qpidmc.ini [see below for more info]
5. run qpidmc(.exe) to start the console. When a

The console user guide is available at:
http://qpid.apache.org/qpid-jmx-management-console-user-guide.html
For info on setting up SSL on the brokers JMX server, and on
configuring user accounts and management acces rights, see:
http://qpid.apache.org/management-console-security.html


Robbie


2009/11/11 mARK bLOORE <[email protected]>:
> Thanks for the suggestion, Robbie.  The plugin built fine, so far as I
> can tell, but I have had no luck getting Eclipse to run it.  I can't
> install it, so far as I can tell, without a "local site", and the
> build doesn't seem to have created one.  I also have had no luck
> trying to build the plug-in from inside Eclipse.  org.apache.tools is
> not found on import, and perhaps other things. The built-in help for
> plugin development and use is mostly missing.  Could you give me some
> further hints?
>
>
> On Wed, Nov 11, 2009 at 12:34 PM, Robbie Gemmell
> <[email protected]> wrote:
>> The CLI has rotted as various additions have been made to and bugs fixed in
>> the brokers management interface, it needs some serious love. That said, I
>> seem to recall doing what you are trying at some point and it working. I'll
>> try to have a look at it when I get home later.
>>
>> Instead, if you don't really need the CLI access (eg for parsing) but just
>> general management abilities, I'd recommend you use the standalone RCP
>> bassed management console application from trunk, I've given it a major
>> overhaul recently. Run ant release-bin from the qpid/java directory and then
>> you'll find the console builds in
>> qpid/java/management/eclipse-plugin/release
>>
>> There is a updated user guide on the website, but it's pretty
>> straightforward to use, especially if SSL is off.
>>
>>
>> On 11 Nov 2009, at 16:57, mARK bLOORE <[email protected]> wrote:
>>
>>> 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 <[email protected]>
>>>
>>> ---------------------------------------------------------------------
>>> Apache Qpid - AMQP Messaging Implementation
>>> Project:      http://qpid.apache.org
>>> Use/Interact: mailto:[email protected]
>>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:[email protected]
>>
>>
>
>
>
> --
> mARK bLOORE <[email protected]>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
>
>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to