costin      02/04/18 12:19:02

  Modified:    jk/conf  jk2.properties
  Log:
  Update the config file - most of the stuff has been removed, it was
  just un-needed pain for the users, we knew already what was there.
  
  The config file should be used only to override defaults, if you
  have a good reason to. In addition added a ( I hope clear ) message
  that the config file may be overrideni by config tools.
  That will happen after I get to implement the Mbean for jk
  or if another tools set properties via JkMain.
  
  Revision  Changes    Path
  1.6       +10 -59    jakarta-tomcat-connectors/jk/conf/jk2.properties
  
  Index: jk2.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/conf/jk2.properties,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jk2.properties    17 Apr 2002 22:22:54 -0000      1.5
  +++ jk2.properties    18 Apr 2002 19:19:02 -0000      1.6
  @@ -1,63 +1,14 @@
  -# Workers.properties like file for the java side.
  -# It should be easy to read from C as well, to avoid duplication
  -# There are many ways to configure jk2 - including 'native' interceptor
  -# conf in server.xml, servlet and web.xml, properties file. For the first,
  -# version we'll use the file. If/when xml is used ( any form ), we'll
  -# generate this file automatically.
  +## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
  +## WHEN YOU EDIT THE FILE.
   
  +## COMMENTS WILL BE _LOST_
   
  -# Pattern ( similar with server.xml, but for properties ) : 
  -#
  -# handler.NAME.className=[class name to be loaded]
  -# handler.NAME.property=value : a setter will be called, with int,boolean
  -# conversions if needed.  
  +## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
   
  +# Override the default port for the socketChannel
  +# channelSocket.port=8019
  +# Default: 
  +# channelUnix.file=${jkHome}/work/jk2.socket
  +# Just to check if the the config  is working
  +shm.file=/tmp/jk2.shm
   
  -# Handlers that will be loaded by jk2:
  -# Default:
  -handler.list=channel,apr,shm,unixChannel,channel8019,channelJni,request,container
  -
  -# Transport handler. 
  -# Default:
  -handler.channel.className=org.apache.jk.common.ChannelSocket
  -handler.channel.debug=0
  -handler.channel.port=8009
  -
  -handler.channel8019.className=org.apache.jk.common.ChannelSocket
  -handler.channel8019.port=8019
  -
  -# Other options:
  -#handler.channel.className=org.apache.jk.common.ChannelUn
  -#handler.channel.file=${jkHome}/work/jk2.socket
  -
  -handler.unixChannel.className=org.apache.jk.common.ChannelUn
  -handler.unixChannel.file=${jkHome}/work/jk2.socket
  -handler.unixChannel.next=request
  -
  -handler.channelJni.className=org.apache.jk.common.ChannelJni
  -handler.channelJni.next=request
  -
  -handler.apr.className=org.apache.jk.apr.AprImpl
  -# handler.apr.aprHome=/usr/lib
  -
  -handler.shm.className=org.apache.jk.common.Shm
  -handler.shm.file=/tmp/jk2.shm
  -
  -
  -# Optional - right now request handles all messages
  -# handler.dispatch.className=org.apache.jk.common.HandlerDispatch
  -# handler.dispatch.debug=0
  -
  -
  -# The only request handler we have right now, for ajp13 requests.
  -# Default:
  -#handler.request.className=org.apache.jk.common.HandlerRequest
  -#handler.request.debug=0
  -
  -
  -#handler.container.className=org.apache.jk.common.WorkerDummy
  -
  -# This will be added automatically by the server adapter. Only dummy
  -# needs to be added for testing purpose
  -# handler.container.className=org.apache.jk.server.tomcat33.Worker33
  -# handler.container.className=org.apache.jk.server.tomcat40.Worker40
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to