Apache的conf目录下添加的workers2.properties文件内容[2]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 pomb 的 blog

 classpath=${tomcat_home}/server/lib/catalina-cluster.jar
 classpath=${tomcat_home}/common/lib/jmx.jar
 classpath=${tomcat_home}/common/lib/jasper-compiler.jar
 classpath=${tomcat_home}/common/lib/jmx-remote-tools.jar
 classpath=${tomcat_home}/common/lib/commons-dbcp-1.1.jar
 classpath=${tomcat_home}/common/lib/commons-el.jar
 classpath=${tomcat_home}/common/lib/commons-collections.jar
 classpath=${tomcat_home}/common/lib/naming-java.jar
 classpath=${tomcat_home}/common/lib/commons-pool-1.1.jar
 classpath=${tomcat_home}/common/lib/jmx-remote.jar
 classpath=${tomcat_home}/common/lib/jasper-runtime.jar
 classpath=${tomcat_home}/common/lib/naming-factory.jar
 classpath=${tomcat_home}/common/lib/servlet-api.jar
 classpath=${tomcat_home}/common/lib/naming-resources.jar
 classpath=${tomcat_home}/common/lib/ant.jar
 classpath=${tomcat_home}/common/lib/naming-common.jar
 classpath=${tomcat_home}/common/lib/jsp-api.jar
 classpath=${java_home}/lib/tools.jar
 
 opt=-djava.class.path=d:/tomcat/bin/tomcat-jni.jar;d:/tomcat/server/lib/commons-logging.jar

 opt=-dtomcat.home=${tomcat_home}

 opt=-dcatalina.home=${tomcat_home}

 opt=-xmx128m

 #opt=-djava.compiler=none

 disabled=0

  

 {worker.jni:onstartup}

 info=command to be executed by the vm on startup. this one will start tomcat.

 #jk2就是通过这个类来启动tomcat的,上面的classpath如果没有设置正确,jk2将在logfile中记录noclassdeffound异常。
 class=org/apache/jk/apr/tomcatstarter

 arg=startd

 disabled=0

 stdout=d:/apache/apache2/logs/stdout.log

 stderr=d:/apache/apache2/logs/stderr.log

  

 {worker.jni:onshutdown}

 info=command to be executed by the vm on shutdown. this one will stop tomcat.

 class=org/apache/jk/apr/tomcatstarter

 #这里是关闭tomcat服务,同样通过上面的类进行

本文关键:Apache的conf目录下添加的workers2.properties文件内容
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top