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... !
> >
>
>

Attachment: qpidmc.sh
Description: Bourne shell script

Reply via email to