Start Up Tomcat 4.0There are two techniques by which Tomcat 4.0 can be started:* Via an environment variable: - Set an environment variable CATALINA_HOME to the path of the directory into which you have installed Tomcat 4.0. - Execute the shell command: %CATALINA_HOME%\bin\startup (Windows) $CATALINA_HOME/bin/startup.sh (Unix)* By modifying your current working directory: - Execute the following shell commands: cd %CATALINA_HOME%\bin (Windows) startup (Windows) cd $CATALINA_HOME/bin (Unix) ./startup.sh (Unix)After startup, the default web applications included with Tomcat 4.0 will be available by browsing: http://localhost:8080/
classpath 中不需要设置rt.jar,JDK会自动加载的 SET CLASSPATH=.;D:\jdk1.3.0_02\jre\lib\rt.jar;设置CATALINA_BASE: 和 CATALINA_HOME: 为D:\Tomcat\jakarta-tomcat-4.0.6 建议目录名也不要用“-”
- Set an environment variable CATALINA_HOME to the path of the directory
into which you have installed Tomcat 4.0.
- Execute the shell command: %CATALINA_HOME%\bin\startup (Windows) $CATALINA_HOME/bin/startup.sh (Unix)* By modifying your current working directory:
- Execute the following shell commands: cd %CATALINA_HOME%\bin (Windows)
startup (Windows) cd $CATALINA_HOME/bin (Unix)
./startup.sh (Unix)After startup, the default web applications included with Tomcat 4.0 will be
available by browsing: http://localhost:8080/
SET CLASSPATH=.;D:\jdk1.3.0_02\jre\lib\rt.jar;设置CATALINA_BASE: 和 CATALINA_HOME: 为D:\Tomcat\jakarta-tomcat-4.0.6
建议目录名也不要用“-”