RE: Calling Bootstrap.main from a Java program

2012-07-26 Thread Mike O'Leary
Users List Subject: RE: Calling Bootstrap.main from a Java program > From: Mike O'Leary [mailto:tmole...@uw.edu] > Subject: Calling Bootstrap.main from a Java program > When I tried this running my Java program in Eclipse, the call to > Bootstrap.main(new String[]{"start&quo

RE: Calling Bootstrap.main from a Java program

2012-07-15 Thread Caldarale, Charles R
> From: Mike O'Leary [mailto:tmole...@uw.edu] > Subject: Calling Bootstrap.main from a Java program > When I tried this running my Java program in Eclipse, the call > to Bootstrap.main(new String[]{"start"}) did not return. The thread that calls Bootstrap.main() e

Calling Bootstrap.main from a Java program

2012-07-15 Thread Mike O'Leary
I would like to be able to start and stop Tomcat from a Java program running on a Windows machine. I looked at the contents of startup.bat, shutdown.bat and catalina.bat, and it looks like one easy way to do that would be to set system properties that correspond to the -D command line arguments