RE: Re: starting and stopping Tomcat from Java code

2005-12-15 Thread Oleg Lebedev
monitoring. But once you have the connection you can do what you want with the remote Tomcat. Just look at how JConsole monitors/manages remote JVM applications for an example. HTH - andy Oleg Lebedev <[EMAIL PROTECTED]> wrote: Yes, that would work if I had a handle to the em

RE: Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
bedded instance? "Oleg Lebedev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, I am trying to configure, start and then shutdown Tomcat from my Java class. I am planning to have all the jars required by Tomcat on the classpath and I would like to be able to specify

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
d-alone Tomcat instance? Thanks. Oleg -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 4:44 PM To: Tomcat Users List Subject: Re: starting and stopping Tomcat from Java code On 12/14/05, Oleg Lebedev <[EMAIL PROTECTED]> wrote: > I am

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Any ideas on whether this is the right way to shut down a stand-alone Tomcat instance? Thanks. Oleg -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 4:44 PM To: Tomcat Users List Subject: Re: starting and stopping Tomcat from Java code On 1

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
List Subject: Re: starting and stopping Tomcat from Java code Maybe this can help (Embed with Tomcat) ? http://www.vsj.co.uk/articles/display.asp?id=319 On 12/15/05, Oleg Lebedev <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to configure, start and then shutdown Tomcat from my J

starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Hello, I am trying to configure, start and then shutdown Tomcat from my Java class. I am planning to have all the jars required by Tomcat on the classpath and I would like to be able to specify the port number and host using method calls. I would prefer not to ship Tomcat configuration files, suc