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:[EMAIL PROTECTED]]
> 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: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>