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:[EMAIL PROTECTED]]
>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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to