> From: Paul Singleton [mailto:[EMAIL PROTECTED] > Subject: starting Tomcat from Java > > I am considering translating startup.bat into Java:
The resulting command line for 5.5 looks like this (spaces replaced by newlines for clarity): java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=conf/logging.properties -Djava.endorsed.dirs=common/endorsed -Dcatalina.base=. -Dcatalina.home=. -Djava.io.tmpdir=temp -cp bin/bootstrap.jar org.apache.catalina.startup.Bootstrap start (The above assumes that current directory is TOMCAT_HOME.) You'd have to set the various properties with System.setProperty() and do some finagling to make the -cp setting work. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]