costin 02/04/18 12:22:54 Modified: jk/conf workers2.properties Log: Update the C-side config file. Again, for things to work you _must_ set TOMCAT_HOME, JAVA_HOME and LD_LIBRARY_PATH before starting apache ( for the JNI worker ). Things will degrade gracefully - if some operation is not possible a message will be displayed and the worker disabled. Revision Changes Path 1.8 +5 -11 jakarta-tomcat-connectors/jk/conf/workers2.properties Index: workers2.properties =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/conf/workers2.properties,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- workers2.properties 18 Apr 2002 00:32:33 -0000 1.7 +++ workers2.properties 18 Apr 2002 19:22:54 -0000 1.8 @@ -4,10 +4,8 @@ # Global options ( in addition to the pre-defined fs, ps, java_home [config] -#TOMCAT_HOME=/opt/tomcat -TOMCAT_HOME=/opt/jakarta-tomcat-4.1-dev -#TOMCAT_HOME=/opt/40 -JAVA_HOME=/usr/java/ibm1.3 +## TOMCAT_HOME, CATALINA_HOME, JAVA_HOME and LD_LIBRARY_PATH +# must be set for the jni worker to operate. # Logger options. For apache2 only level can be set ( it logs to apache's error.log ) @@ -19,8 +17,7 @@ # file=logs/mod_jk.log [shm] -#file=${TOMCAT_HOME}/work/jk2.shm -file=/tmp/jk2.shm +file=${TOMCAT_HOME}/work/jk2.shm size=1000000 @@ -77,17 +74,14 @@ # JAVA_HOME and TOMCAT_HOME can be set as environment variables [vm] # That will work with both 3.x and 4.x. -OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat.jar${ps}${TOMCAT_HOME}/lib/container/tomcat-jni.jar${ps}${TOMCAT_HOME}/lib/common/commons-logging.jar${ps}${TOMCAT_HOME}/bin/bootstrap.jar${ps}${TOMCAT_HOME}/server/lib/tomcat-jni.jar${ps}${TOMCAT_HOME}/common/lib/commons-logging.jar +OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar OPT=-Dtomcat.home=${TOMCAT_HOME} OPT=-Dcatalina.home=${TOMCAT_HOME} -#OPT=-Xmx128M +OPT=-Xmx128M #OPT=-Djava.compiler=NONE [worker.jni:jniCmd1] -ARG=org.apache.tomcat.startup.Main -ARG=org.apache.catalina.startup.Bootstrap -ARG=- ARG=start
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>