tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: starting tomcat from java code
Date Wed, 04 Dec 2002 20:22:53 GMT
Hi,
And assuming you mean a real Java startup, see the javadoc for Package
org.apache.catalina.startup, especially the Embedded class, at
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/catalina/docs/api/index.
html


Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: vim m [mailto:vim6662000@yahoo.com]
>Sent: Wednesday, December 04, 2002 3:19 PM
>To: Tomcat Users List
>Subject: Re: starting tomcat from java code
>
>
>Hi:
>Maybe you could try something like this:
>Process proc =
Runtime.getRuntime().exec("c:/tomcat-4.1/bin/startup.bat");
>
>Hope this helps
>
>Vim
>
>
> Abhijat Thakur <athakur@bdnacorp.com> wrote:Hi,
>
>Is there a way that tomcat can be started up and shutdown from java
code
>rather than running startup.sh and shutdown.sh scripts?
>
>thanks
>
>abhijat
>
>--
>To unsubscribe, e-mail:
>For additional commands, e-mail:
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message