You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Abhijat Thakur <at...@bdnacorp.com> on 2002/12/04 21:13:03 UTC

starting tomcat from java code

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: starting tomcat from java code

Posted by vim m <vi...@yahoo.com>.
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 <at...@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