RE: Error while stoping the Synapse server

2009-04-25 Thread Hubert, Eric
@synapse.apache.org Subject: Re: Error while stoping the Synapse server My first view was wrong the stopJmxAdapter method is inside the block which checks whether we initialized axis2 instance. So it is OK, but the second argument "SynapseConfiguration.destroy calls the RMIRegistryController#shutdown b

Re: Error while stoping the Synapse server

2009-04-25 Thread Ruwan Linton
My first view was wrong the stopJmxAdapter method is inside the block which checks whether we initialized axis2 instance. So it is OK, but the second argument "SynapseConfiguration.destroy calls the RMIRegistryController#shutdown before the JmxAdapter#stop being called" is still valid. Thanks, Ruw

Re: Error while stoping the Synapse server

2009-04-25 Thread Ruwan Linton
Eric, I had a rough look and realized that the startJmxAdapter and stopJmxAdapter methods are not properly positioned, for example the startJmxAdapter is inside a createNewInstance method where as it will only be called when you are starting with starting the axis2 as well. This will not be invoke

RE: Error while stoping the Synapse server

2009-04-25 Thread Hubert, Eric
Hi all, I'll have a look at this and will fix it. From the stack it looks like the shutdown order is wrong. Unfortunately I'll be travelling today without having access to the net today, but tonight or tomorrow I'll submit a patch to correct this if no one beats me to it. Regards, Eric > -

Re: Error while stoping the Synapse server

2009-04-24 Thread Hiranya Jayathilaka
Hi Ruwan, On Sat, Apr 25, 2009 at 9:57 AM, Ruwan Linton wrote: > Devs, > > On the latest build I am seeing an error while trying to stop Synapse, > by killing the process (CTRL+C) on Unix. > > Is this local to me? I do have some local changes but they have > nothing to do with this I guess. :-(