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
: 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,
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
--- 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
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
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
er 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 set the tag this way:
If you connect to port 1234 on the tomcat machine a
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
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
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
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
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
>
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
13 matches
Mail list logo