nacho 01/08/22 05:08:31 Modified: src/etc/jk jni_workers.properties Log: Making it more workers.properties alike Revision Changes Path 1.3 +29 -9 jakarta-tomcat/src/etc/jk/jni_workers.properties Index: jni_workers.properties =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/etc/jk/jni_workers.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- jni_workers.properties 2001/08/15 02:40:04 1.2 +++ jni_workers.properties 2001/08/22 12:08:31 1.3 @@ -9,6 +9,27 @@ # your own tomcat root. Following that replace path starting with # d:\sdk\jdk1.2.2\ with your own java home. # + +# +# workers.tomcat_home should point to the location where you +# installed tomcat. This is where you have your conf, webapps and lib +# directories. +# +workers.tomcat_home=c:\tomcat + +# +# workers.java_home should point to your Java installation. Normally +# you should have a bin and lib directories beneath it. +# +workers.java_home=c:\jdk + +# +# You should configure your environment slash... ps=\ on NT and / on UNIX +# and maybe something different elsewhere. +# +ps=\ +# ps=/ + worker.list=jni worker.jni.type=jni @@ -16,38 +37,37 @@ # # Additional class path components. # -worker.jni.class_path=d:\temp\tomcat\lib\container\tomcat-startup.jar -worker.jni.class_path=d:\temp\tomcat\lib\container\tomcat_modules.jar -# worker.jni.class_path=d:\SQLLIB\java\db2java.zip +worker.jni.class_path=$(workers.tomcat_home)\lib\container\tomcat-startup.jar +worker.jni.class_path=$(workers.tomcat_home)\lib\container\tomcat_modules.jar # # Setting the command line for tomcat # worker.jni.cmd_line=-config -worker.jni.cmd_line=d:\tomcat\conf\jni_server.xml +worker.jni.cmd_line=$(workers.tomcat_home)\conf\jni_server.xml # # The JVM that we are about to use # # This is for jdk1.2.x # -worker.jni.jvm_lib=d:\sdk\jdk1.2.2\jre\bin\classic\jvm.dll +worker.jni.jvm_lib=$(workers.java_home)\jre\bin\classic\jvm.dll # # And this is for jdk1.1.7 # -#worker.jni.jvm_lib=d:\sdk\jdk1.1.7\bin\javai.dll +#worker.jni.jvm_lib=$(workers.java_home)\bin\javai.dll # # # Setting the place for the stdout and stderr of tomcat # -worker.jni.stdout=d:\tomcat\logs\jvm.stdout -worker.jni.stderr=d:\tomcat\logs\jvm.stderr +worker.jni.stdout=$(workers.tomcat_home)\logs\jvm.stdout +worker.jni.stderr=$(workers.tomcat_home)\logs\jvm.stderr # # Setting the tomcat.home Java property # -worker.jni.sysprops=tomcat.home=D:\tomcat\ +worker.jni.sysprops=tomcat.home=$(workers.tomcat_home)\ # # Java system properties