rem I also changed this file for tomcat start with cocoon @echo off rem $Id: tomcat.bat,v 1.5 1999/12/12 14:18:38 rubys Exp $ rem A batch file to start/stop tomcat server. rem This batch file written and tested under Windows NT rem Improvements to this file are welcome rem ************************************************************************** rem adds for cocoon <--------------------------------------------------------- set cocooJars =.\lib\xalan.jar;.\lib\xerces.jar;.\bin\cocoon.jar;.\lib\fop.jar; set jsdkJars=.\webserver.jar;.\lib\servlet.jar set jspJars=.\lib\jasper.jar set beanJars=.\webpages\WEB-INF\classes\jsp\beans; set miscJars=.\lib\xml.jar rem adds for cocoon <--------------------------------------------------------- set appJars=%jsdkJars%;%jspJars%;%beanJars%;%miscJars%;%cocooJars% rem *************************************************************************** set sysJars=%JAVA_HOME%\lib\tools.jar set appClassPath=.\classes;%appJars% set cp=%CLASSPATH% set CLASSPATH=%appClassPath%;%sysJars% if "%cp%" == "" goto next rem else set CLASSPATH=%CLASSPATH%;%cp% :next if "%1" == "start" goto startServer if "%1" == "stop" goto stopServer @echo on @echo Usage: @echo "tomcat [start|stop]" @echo off goto cleanup :startServer rem Start the Tomcat Server @echo on @echo Using classpath: %CLASSPATH% @echo off start java org.apache.tomcat.shell.Startup %2 %3 %4 %5 %6 %7 %8 %9 goto cleanup :stopServer rem Stop the Tomcat Server @echo on @echo Using classpath: %CLASSPATH% @echo off java org.apache.tomcat.shell.Shutdown %2 %3 %4 %5 %6 %7 %8 %9 goto cleanup :cleanup rem clean up set CLASSPATH=%cp% set port= set host= set test= set jsdkJars= set jspJars= set beanJars= set miscJars= set appJars= set appClassPath= set cp= rem pause ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
