RE: restarting tomcat by calling runtime.exec on a .bat file (tc 3.2.4)

2002-02-04 Thread Randy Layman
ent: 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

restarting tomcat by calling runtime.exec on a .bat file (tc 3.2.4)

2002-02-02 Thread Matt Egyhazy
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