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
: Wed 12/14/2005 8:14 PM To: users@tomcat.apache.org Subject: Re: starting and stopping Tomcat from Java code Urm, something like: tomcat.stop(); where 'tomcat' is your Embedded instance? "Oleg Lebedev" wrote in message news:[EMAIL PROTECTED] Hello, I am trying to configure,

RE: Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
e the whole tomcat directory on disk. -Original Message- From: news on behalf of Bill Barker Sent: Wed 12/14/2005 8:14 PM To: users@tomcat.apache.org Subject: Re: starting and stopping Tomcat from Java code Urm, something like: tomcat.stop(); where 'tomcat' is your Em

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Wade Chandler
--- Bill Barker <[EMAIL PROTECTED]> wrote: > Urm, something like: >tomcat.stop(); > > where 'tomcat' is your Embedded instance? > > "Oleg Lebedev" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] > Hello, > > I am trying to configure, start and then shutdown > Tomcat from my

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Bill Barker
Urm, something like: tomcat.stop(); where 'tomcat' is your Embedded 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 o

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread andy gordon
From: Iannis Hanen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 5:35 PM To: Tomcat Users List Cc: Iannis Hanen Subject: RE: starting and stopping Tomcat from Java code Hi Oleg, The piece of code you just mentioned is what lies behind the tag in the server.xml file. You can se

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
es the call comes from localhost. Iannis -Original Message- From: Oleg Lebedev [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 4:27 PM To: Tomcat Users List Subject: RE: starting and stopping Tomcat from Java code Thanks, Wendy. I looked at cargo and it seems that it requires

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Iannis Hanen
TED] Sent: Wednesday, December 14, 2005 4:27 PM To: Tomcat Users List Subject: RE: starting and stopping Tomcat from Java code Thanks, Wendy. I looked at cargo and it seems that it requires the container to be installed on the local machine in order to be able to start or stop it. In my case I h

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

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Wendy Smoak
On 12/14/05, Oleg Lebedev <[EMAIL PROTECTED]> wrote: > I am trying to configure, start and then shutdown Tomcat from my Java > class. No idea if it will do what you want, but that requirement made me think of Cargo: http://cargo.codehaus.org/ -- Wendy

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Stas Ostapenko
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 Java > class. I am planning to have all the jars required by Tomcat on the >