tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
Subject RE: restarting tomcat by calling runtime.exec on a .bat file (tc 3.2.4)
Date Mon, 04 Feb 2002 12:00:29 GMT

	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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message