RE: Re: starting and stopping Tomcat from Java code

2005-12-15 Thread Oleg Lebedev
Subject: RE: Re: starting and stopping Tomcat from Java code Oleg, Have you looked into managing the tomcat instance with MBeans. All you need to do is establish a connection to the other JVM with an MBeanServerConnection instance. This does require a port to be exposed from Tomcat for remote

RE: Re: starting and stopping Tomcat from Java code

2005-12-15 Thread andy gordon
Oleg, Have you looked into managing the tomcat instance with MBeans. All you need to do is establish a connection to the other JVM with an MBeanServerConnection instance. This does require a port to be exposed from Tomcat for remote monitoring. But once you have the connection you can do

RE: Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Yes, that would work if I had a handle to the embedded instance. The thing is that embedded tomcat is running in a separate VM and I need to be able to shut it down. I don't really need to use Embedded class if only I could get Bootstrap or Catalina classes to work without having to have the who