These are the steps needed to be followed to get the Qpid Management Console
running on Ubuntu (I believe that this should work on any Unix System.

1. edit the META_INF/MANIFEST.MF and remove jmxremote.sasl (remember to
remove the ',' after the previous entry too)
2. mvn dependency:resolve install
3. copy the jar generated in qpid/java/management/eclipse-plugin/target
(ex:- org.apache.qpid.management.ui_1.0-incubating-M3-SNAPSHOT.jar) to where
your eclipse plugins are found (ex:- /usr/lib/eclipse/plugins)
4. edit the qpidmc.sh found inside the bin folder and replace
$QPIDMC_HOME/eclipse with where eclipse is installed (ex:- /usr/lib/eclipse)
5. copy
qpid/java/management/eclipse-plugin/src/main/resources/unix/configuration/config.ini
to qpid/java/management/eclipse-plugin/configuration/config.ini
6. set $QPIDMC_HOME to qpid/java/management/eclipse-plugin
7. run qpidmc.sh with suitable options (ex:- ./qpidmc.sh linux gtk x86)

Regards,
Senaka

On Sat, May 3, 2008 at 8:29 PM, Senaka Fernando <[EMAIL PROTECTED]> wrote:

> It seems that these are the default parameters that work.
>
> Host: localhost
> Port: 8999
> Username: guest
> Password: guest
>
> worked with the Java Broker. Therefore, now it seems that the
> 'jmxremote.sasl' is not a mandatory requirement. Anyway, I'd like to know
> more on this.
>
> Regards,
> Senaka
>
>
> On Sat, May 3, 2008 at 8:11 PM, Senaka Fernando <[EMAIL PROTECTED]>
> wrote:
>
> > OK now it works from the terminal without any issue. I will add the
> > steps that need to be followed shortly, after I sort out the config.ini for
> > unix. :)..., Now that I know that it wasn't a build issue but this. I'm
> > attaching herewith the config.ini that worked for me. Also the qpidmc.sh
> > that I modified.
> >
> > To get this working, you will have to edit the config.ini that is
> > attached, for the moment, and replace it with your paths, and versions
> > especially. Then, you will have to save it inside the
> > eclipse-plugin/configuration folder which will be the location which the
> > qpidmc.sh searches for the config.ini.
> >
> > Also, you need to hack the Manifest found inside META_INF and remove the
> > 'jmxremote.sasl' which I could not sort out as yet.
> >
> > HTH,
> >
> > Regards,
> > Senaka
> >
> >
> > On Sat, May 3, 2008 at 3:31 PM, Senaka Fernando <[EMAIL PROTECTED]>
> > wrote:
> >
> > > hi all,
> > >
> > > I finally managed to start the Qpid Management Console within Eclipse.
> > > I believe that once I figure out the proper configuration properties, it
> > > will be able to be started from command line as well. So now it has been
> > > proved that this runs on Unix as well :)...
> > >
> > > It basically started running after using a variety of mvn options
> > > during the build, and I'll try it out once more and come up with a decent
> > > list of steps that need to be followed.
> > >
> > > Also I removed the dependency jmxremote.sasl. This wasn't required to
> > > get the plugin to run, and I didn't have it in my local repo.
> > >
> > > But, I have some problems. How do I get this to work?
> > >
> > > I ran this with the Java broker running and also the C++ broker
> > > running, with a various values for requested parameters but it says server
> > > not running.
> > >
> > > I have uploaded a screenshot at [1], please let me know a combination
> > > that works.
> > >
> > > [1] 
> > > http://people.apache.org/~senaka/screenshot-JMX-ubuntu.png<http://people.apache.org/%7Esenaka/screenshot-JMX-ubuntu.png>
> > >
> > > Thanks,
> > > Senaka
> > >
> > >
> > > On Tue, Apr 29, 2008 at 8:04 AM, lahiru gunathilake <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > Hi Martin,
> > > >
> > > > I'm  working on trunk right now and It successfully install(mvn
> > > > clean
> > > > install in /java/management/eclipst-plugin directory is not failing)
> > > > in  my
> > > > machine and I'm working on Ubuntu 7.04. After successful build Still
> > > > I
> > > > couldn't start the management console by referring the read me. It
> > > > gives
> > > > this error when I try to run qpidmc.sh script.
> > > > ===========================================================
> > > > Unable to access jarfile
> > > >
> > > > /home/lahiru/trunk/qpid/java/management/eclipse-plugin//eclipse/startup.jar
> > > > ===========================================================
> > > > And I downloaded the Windows binary for management console and it
> > > > contains
> > > > this startup.jar file in a directory called eclipse. But in the svn
> > > > there's
> > > > no directory called eclipse inside eclipse-plugin directory and
> > > >  after
> > > > building it doesn't create a directory with that name. So, after
> > > > changing
> > > > the script to find that jar in the correct location
> > > > (src/main/resources/) it
> > > > doesn't give any error. But nothing happen after running that
> > > > script.
> > > >
> > > > If you have any other place to find the issue please let me know and
> > > > I will
> > > > start on working from that position.
> > > >
> > > > Thanks in advance
> > > > Regs
> > > > lahiru
> > > >
> > > > On Mon, Apr 28, 2008 at 6:15 PM, Martin Ritchie <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > > On 25/04/2008, lahiru gunathilake <[EMAIL PROTECTED]> wrote:
> > > > > > Hi all,
> > > > > >
> > > > > >  I tried to get the qpid java management console work by reading
> > > > the
> > > > > README
> > > > > >  file. But theres' no startup.jar located in eclipse folder.
> > > > > >  I installed Qpid successfully by running mvn -Pfastinstall. Now
> > > > I can
> > > > > start
> > > > > >  the server and monitor qpid using Jconsole.
> > > > > >
> > > > > >  When I tried to run the qpidmc.sh it tells that there's no
> > > > startup.jar.
> > > > > >
> > > > > >  Can any body help me how to start the management console.
> > > > > >
> > > > > >  Thanks in advace
> > > > > >  lahiru
> > > > > >
> > > > > > --
> > > > > >  East or West
> > > > > >  Mahindians are the
> > > > > >  Best... !
> > > > >
> > > > > To get the management console for windows (unix one doesn't build
> > > > > correctly QPID-843)
> > > > > running mvn in the distribution dir should produce a windows build
> > > > of
> > > > > the mc that will work against the broker.
> > > > >
> > > > > hth
> > > > >
> > > > > Martin
> > > > >
> > > > >
> > > > > --
> > > > > Martin Ritchie
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > East or West
> > > > Mahindians are the
> > > > Best... !
> > > >
> > >
> > >
> >
>

Reply via email to