tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties
Date Fri, 12 Apr 2002 23:18:35 GMT
costin      02/04/12 16:18:35

  Modified:    jk/conf  workers2.properties
  Log:
  Added the config settings for jni. I'll disable it later.
  
  Revision  Changes    Path
  1.3       +21 -12    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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- workers2.properties	12 Apr 2002 00:25:39 -0000	1.2
  +++ workers2.properties	12 Apr 2002 23:18:35 -0000	1.3
  @@ -4,7 +4,8 @@
   
   # Global options ( in addition to the pre-defined fs, ps, java_home
   [config]
  -jkHome=/opt/tomcat
  +TOMCAT_HOME=/opt/tomcat
  +JAVA_HOME=/usr/java/ibm1.3
   
   
   # Logger options. For apache2 only level can be set ( it logs to apache's error.log )
  @@ -39,9 +40,11 @@
   # Example unix socket.
   # XXX We must use an explicit setting to use substitution - resolve this
   [channel.apr:unixSocket]
  -file=${jkHome}/work/jk2.socket
  +file=${TOMCAT_HOME}/work/jk2.socket
   
   
  +[channel.jni:jni]
  +
   #################### Workers ####################
   # All non-ajp13 workers or workers with special configurations
   
  @@ -61,20 +64,25 @@
   # [worker.lb:group1]
   
   
  -# XXX document/implement a better way to 'disable' a setting. Comments are
  -# unsafe ( hard to preserve with auto config ) 
   # Requirements: libjvm.so MUST BE INCLUDED in LD_LIBRARY_PATH for this 
   # to work reliably and on all platforms. Same for other java libs. 
   # "java" script is a good example, Sun needs it to start java and we need it to.
   # JAVA_HOME and TOMCAT_HOME can be set as environment variables
  -# [worker.jni]
  -# tomcat_home=/opt/tomcat
  -# java_home=/usr/java/ibm1.3
  -# cmd_line=start -config ${tomcat_home}${ps}conf${ps}server.xml -home ${tomcat_home}
  -# stdout=${workers.tomcat_home}${ps}logs${ps}inprocess.stdout
  -# stderr=${workers.tomcat_home}${ps}logs${ps}inprocess.stderr
  -# sysprops=tomcat.home=${workers.tomcat_home}
  -# sysprops=java.compiler=NONE
  +[vm]
  +# Optional: JVM= PATH_TO_libjvm.so ( standard locations are searched )
  +OPT=-Djava.class.path=${TOMCAT_HOME}/lib/container/tomcat-jk2.jar${ps}${TOMCAT_HOME}/lib/common/tomcat-util.jar
  +#OPT=-Djava.class.path=${TOMCAT_HOME}/server/lib/tomcat-jk2.jar${ps}${TOMCAT_HOME}/server/lib/tomcat-util.jar
  +OPT=-Xmx128M
  +OPT=-Dtomcat.home=${TOMCAT_HOME}
  +OPT=-Djava.compiler=NONE
  +
  +
  +# Call org.apache.jk.server.JniMain with the 3 params.
  +# XXX make it more generic
  +[worker.jni]
  +stdout=${serverRoot}${fs}logs${fs}inprocess.out
  +stderr=${serverRoot}${fs}logs${fs}inprocess.err
  +cmd_line=${TOMCAT_HOME}${ps}conf${ps}jk2.properties
   
   
   
  @@ -83,6 +91,7 @@
   # XXX Webapps to be declared automatically, using webapps/ content :-)
   
   [uri:/examples/*]
  +worker=ajp13:jni
   # worker=ajp13:localhost:8009
   # worker=ajp13:unixSocket
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message