1: Set the environment variable catalina_home = E: \ tomcat5.52: Set class_path to class_path = .; c: \ Java \ jdk1.5.0 _ 06 \ Lib \ DT. jar; C: \ Java \ jdk1.5.0 _ 06 \ Lib \ tools. jar; % catalina_home % \ bin \ Bootstrap. jar3: set path to c: \ Java \ jdk1.5.0 _ 06 \ bin; E: \ tomcat5.5 \ bin; 4: add service command: service. after running the bat install tomcat5 command, you can see apache tomcat5 in the service and then manually or automatically start it. Note: If you use tomcat5.exe to install a service named 'tomcat 5', run the following command: tomcat5 // is // tomcat5 -- displayname = "Apache Tomcat 5" -- install = "C: \ Program Files \ Tomcat \ bin \ tomcat5.exe "-- JVM = auto -- startmode = JVM -- stopmode = JVM -- startclass = org. apache. catalina. startup. bootstrap -- startparams = start -- stopclass = org. apache. catalina. startup. bootstrap -- stopparams = stop5: Remove service command: tomcat5 // DS // tomcat5
If there is no service, you can download it below
Http://download.csdn.net/detail/winter13292/4236717