You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2002/02/04 13:00:29 UTC
RE: restarting tomcat by calling runtime.exec on a .bat file (tc
3.2.4)
If you call "net stop tomcat" (which effectively does a
System.exit), how will the Java process be around to call "net start
tomcat"? (Answer, it won't).
Randy
> -----Original Message-----
> From: Matt Egyhazy [mailto:mwe7w@virginia.edu]
> Sent: Saturday, February 02, 2002 6:24 PM
> To: Tomcat Users List
> Subject: restarting tomcat by calling runtime.exec on a .bat file (tc
> 3.2.4)
>
>
> hi,
>
> im trying to exec a .bat file that moves files around and
> restarts tomcat
> from a servlet. it seems as though the .bat file is being
> run up to the
> point where it calls
> net stop tomcat
> net start tomcat
>
> any ideas? am i doing something wrong or is there an easier
> way to restart
> tomcat?
>
> thanks,
> matt
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>