cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2004-06-16 Thread yoavs
yoavs   2004/06/16 07:45:11

  Modified:jk/conf  workers2.properties
  Log:
  Bugzilla 28654 done.
  
  Revision  ChangesPath
  1.20  +4 -2  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.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- workers2.properties   22 Nov 2002 18:56:45 -  1.19
  +++ workers2.properties   16 Jun 2004 14:45:11 -  1.20
  @@ -49,8 +49,10 @@
   debug=0
   tomcatId=localhost:8019
   lb_factor=1
  -group=lb
  -group=lb_1
  +#group=lb
  +group:lb:lb
  +#group=lb_1
  +group:lb:lb_1
   disabled=0
   
   [channel.un:/opt/33/work/jk2.socket]
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-11-22 Thread mturk
mturk   2002/11/22 10:56:45

  Modified:jk/conf  workers2.properties
  Log:
  Add the description for JVM startup argument for TC 5.0
  The accepted argument is 'startd' for Bootstrap class.
  That way it will behave like a daemon.
  
  Revision  ChangesPath
  1.19  +2 -0  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.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- workers2.properties   15 Oct 2002 14:02:08 -  1.18
  +++ workers2.properties   22 Nov 2002 18:56:45 -  1.19
  @@ -80,6 +80,8 @@
   info=Command to be executed by the VM on startup. This one will start tomcat.
   class=org/apache/jk/apr/TomcatStarter
   ARG=start
  +# For Tomcat 5 use the 'stard' for startup argument
  +# ARG=stard
   disabled=1
   stdout=${serverRoot}/logs/stdout.log
   stderr=${serverRoot}/logs/stderr.log
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-10-15 Thread mturk

mturk   2002/10/15 07:02:08

  Modified:jk/conf  workers2.properties
  Log:
  Add the classpath option to the vm:
  
  Revision  ChangesPath
  1.18  +2 -1  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.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- workers2.properties   27 Sep 2002 13:05:11 -  1.17
  +++ workers2.properties   15 Oct 2002 14:02:08 -  1.18
  @@ -68,7 +68,8 @@
   [vm:]
   info=Parameters used to load a JVM in the server process
   #JVM=C:\jdk\jre\bin\hotspot\jvm.dll
  
-OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOMCAT_HOME}/server/lib/commons-logging.jar
  +classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar
  +classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar
   OPT=-Dtomcat.home=${TOMCAT_HOME}
   OPT=-Dcatalina.home=${TOMCAT_HOME}
   OPT=-Xmx128M
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-09-27 Thread mturk

mturk   2002/09/27 06:05:11

  Modified:jk/conf  workers2.properties
  Log:
  tomcat-jni is inside TOMCAT_HOME/bin not /lib
  
  Revision  ChangesPath
  1.17  +2 -2  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.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- workers2.properties   19 Sep 2002 06:28:24 -  1.16
  +++ workers2.properties   27 Sep 2002 13:05:11 -  1.17
  @@ -68,7 +68,7 @@
   [vm:]
   info=Parameters used to load a JVM in the server process
   #JVM=C:\jdk\jre\bin\hotspot\jvm.dll
  
-OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat-jni.jar;${TOMCAT_HOME}/server/lib/commons-logging.jar
  
+OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOMCAT_HOME}/server/lib/commons-logging.jar
   OPT=-Dtomcat.home=${TOMCAT_HOME}
   OPT=-Dcatalina.home=${TOMCAT_HOME}
   OPT=-Xmx128M
  @@ -122,6 +122,6 @@
   info=Map the whole webapp
   
   [uri:/examples/servlet/HelloW]
  -info=Exampel with debug enabled.
  +info=Example with debug enabled.
   debug=10
   
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-09-19 Thread mturk

mturk   2002/09/18 23:28:24

  Modified:jk/conf  workers2.properties
  Log:
  Add the commons-logging.jar to the classpath. This is temporary workaround
  to enable channelJni until the classloader code gets fixed.
  
  Revision  ChangesPath
  1.16  +1 -1  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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- workers2.properties   11 Jul 2002 11:40:48 -  1.15
  +++ workers2.properties   19 Sep 2002 06:28:24 -  1.16
  @@ -68,7 +68,7 @@
   [vm:]
   info=Parameters used to load a JVM in the server process
   #JVM=C:\jdk\jre\bin\hotspot\jvm.dll
  
-OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat-jni.jar;${TOMCAT_HOME}/lib/tomcat.jar
  
+OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat-jni.jar;${TOMCAT_HOME}/server/lib/commons-logging.jar
   OPT=-Dtomcat.home=${TOMCAT_HOME}
   OPT=-Dcatalina.home=${TOMCAT_HOME}
   OPT=-Xmx128M
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-07-11 Thread mturk

mturk   2002/07/11 04:40:48

  Modified:jk/conf  workers2.properties
  Log:
  Introduce the worker.jni hooks.
  worker.jni:onStartup executes on load
  worker.jni:onInit  executes on load
  can be followed by extra chars (worker.jni.onInit123)
  worker.jni:onClose can be followed by extra chars
  worker.jni:onShutdown executes on unload and destroys VM
  
  Revision  ChangesPath
  1.15  +8 -2  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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- workers2.properties   1 Jul 2002 23:53:07 -   1.14
  +++ workers2.properties   11 Jul 2002 11:40:48 -  1.15
  @@ -75,13 +75,19 @@
   #OPT=-Djava.compiler=NONE
   disabled=1
   
  -[worker.jni:jniCmd1]
  -info=Command to be executed by the VM. This one will start tomcat.
  +[worker.jni:onStartup]
  +info=Command to be executed by the VM on startup. This one will start tomcat.
   class=org/apache/jk/apr/TomcatStarter
   ARG=start
   disabled=1
   stdout=${serverRoot}/logs/stdout.log
   stderr=${serverRoot}/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
  +ARG=stop
  +disabled=1
   
   [uri:/jkstatus/*]
   info=Display status information and checks the config file for changes.
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-07-01 Thread nacho

nacho   2002/07/01 16:53:08

  Modified:jk/conf  workers2.properties
  Log:
  * add some more examples of config..
  
  Revision  ChangesPath
  1.14  +14 -1 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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- workers2.properties   19 May 2002 20:56:13 -  1.13
  +++ workers2.properties   1 Jul 2002 23:53:07 -   1.14
  @@ -10,6 +10,11 @@
   info=Maps the requests. Options: debug
   debug=0
   
  +# Alternate file logger
  +#[logger.file:0]
  +#level=DEBUG
  +#file=${serverRoot}/logs/jk2.log
  +
   [shm:]
   info=Scoreboard. Required for reconfiguration and status with multiprocess servers
   file=${serverRoot}/logs/jk2.shm
  @@ -21,6 +26,10 @@
   info=Global server options
   timing=1
   debug=0
  +# Default Native Logger (apache2 or win32 ) 
  +# can be overriden to a file logger, useful 
  +# when tracing win32 related issues
  +#logger=logger.file:0
   
   [lb:lb]
   info=Default load balancer.
  @@ -58,10 +67,12 @@
   
   [vm:]
   info=Parameters used to load a JVM in the server process
  -OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar
  +#JVM=C:\jdk\jre\bin\hotspot\jvm.dll
  
+OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat-jni.jar;${TOMCAT_HOME}/lib/tomcat.jar
   OPT=-Dtomcat.home=${TOMCAT_HOME}
   OPT=-Dcatalina.home=${TOMCAT_HOME}
   OPT=-Xmx128M
  +#OPT=-Djava.compiler=NONE
   disabled=1
   
   [worker.jni:jniCmd1]
  @@ -69,6 +80,8 @@
   class=org/apache/jk/apr/TomcatStarter
   ARG=start
   disabled=1
  +stdout=${serverRoot}/logs/stdout.log
  +stderr=${serverRoot}/logs/stderr.log
   
   [uri:/jkstatus/*]
   info=Display status information and checks the config file for changes.
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-05-19 Thread nacho

nacho   02/05/19 13:56:13

  Modified:jk/conf  workers2.properties
  Log:
  * Workaround, this should be done trasparently when porperty is setted, for now.. at 
least the correct one..
  
  Revision  ChangesPath
  1.13  +1 -1  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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- workers2.properties   17 May 2002 00:35:18 -  1.12
  +++ workers2.properties   19 May 2002 20:56:13 -  1.13
  @@ -66,7 +66,7 @@
   
   [worker.jni:jniCmd1]
   info=Command to be executed by the VM. This one will start tomcat.
  -class=org.apache.jk.apr.TomcatStarter
  +class=org/apache/jk/apr/TomcatStarter
   ARG=start
   disabled=1
   
  
  
  

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




RE: cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-05-17 Thread GOMEZ Henri

Good, now we've got a config example.

The works on autoconf stuff goes farther.

I could now generate build.properties from a
build.properties.autoconf (I keep .sample
untouched).

The autoconf is more modularized,  thanks to
Doctor M4 Pier ;)

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 2:35 AM
To: [EMAIL PROTECTED]
Subject: cvs commit: jakarta-tomcat-connectors/jk/conf
workers2.properties


costin  02/05/16 17:35:18

  Modified:jk/conf  workers2.properties
  Log:
  Update the worker.properties.
  
  We use a special property 'info' for comments, that allows 
jk_config.c to
  preserve them when saving. Any # comment will be lost.
  
  I'll start working on docs and the jmx wrapper, most of the code
  should be stable and working fine.
  
  Revision  ChangesPath
  1.12  +67 -101   
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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- workers2.properties  6 May 2002 22:48:56 -   1.11
  +++ workers2.properties  17 May 2002 00:35:18 -  1.12
  @@ -1,142 +1,108 @@
  -# Comments will be lost when protocol-based config will be used
  -# ( at least in the first version ). In a future version we'll save
  -# the comments before every section and property and save ( maybe )
  -
  -# Global options ( in addition to the pre-defined fs, ps, java_home
  -[config]
  -## TOMCAT_HOME, CATALINA_HOME, JAVA_HOME and LD_LIBRARY_PATH 
  -# must be set for the jni worker to operate.
  -debugEnv=0
  -
  -
  -# Logger options. For apache2 only level can be set ( it 
logs to apache's error.log )
   [logger]
   level=DEBUG
  -# File property is not used on Apache2 or if a 'native' 
logger is available
  -# The Apache2 ( or native ) log file is used instead
  -# For apache1 the file must be specified if you want logging.
  -# file=logs/mod_jk.log
   
  -[shm]
  -file=${serverRoot}/logs/jk2.shm
  -size=100
  +[config:]
  +file=${serverRoot}/conf/workers2.properties
  +debug=0
  +debugEnv=0
   
  -[uriMap]
  +[uriMap:]
  +info=Maps the requests. Options: debug
   debug=0
   
  -[workerEnv]
  +[shm:]
  +info=Scoreboard. Required for reconfiguration and status 
with multiprocess servers
  +file=${serverRoot}/logs/jk2.shm
  +size=100
   debug=0
  +disabled=0
   
  - Channels 
  -# Each channel defines a communication mechanism to a 
tomcat instance.
  -# Each channel is associated with a ajp13:NAME, with the 
same local name
  +[workerEnv:]
  +info=Global server options
  +timing=1
  +debug=0
   
  +[lb:lb]
  +info=Default load balancer.
  +debug=0
   
  -# Default channel 
  -#[channel.socket:localhost:8009]
  -#lb_factor=1
  -#tomcatId=localhost:8009
  +[lb:lb_1]
  +info=A second load balancer.
  +debug=0
   
  +[channel.socket:localhost:8009]
  +info=Ajp13 forwarding over socket
  +debug=0
  +tomcatId=localhost:8009
   
  -# Example additional socket channel. The location is in the 
name ( URL-style
   [channel.socket:localhost:8019]
  +info=A second tomcat instance. 
  +debug=0
   tomcatId=localhost:8019
   lb_factor=1
  -group=lb_1
   group=lb
  +group=lb_1
  +disabled=0
   
  +[channel.un:/opt/33/work/jk2.socket]
  +info=A second channel connecting to localhost:8019 via unix socket
  +tomcatId=localhost:8019
  +lb_factor=1
  +debug=0
   
  -
  -# Example unix socket.
  -# XXX We must use an explicit setting to use substitution - 
resolve this
  -[channel.apr:${TOMCAT_HOME}/work/jk2.socket]
  -tomcatId=localhost:8009
  -lb_factor=0
  -
  -
  -# 
  -# The JNI channel is enabled and configured automatically
  -# if a VM is detected and tomcat started.
   [channel.jni:jni]
  +info=The jni channel, used if tomcat is started inprocess
   
  - Workers 
  -# All non-ajp13 workers or workers with special configurations
  -# There is no configuration for ajp13 workers - you just configure
  -# channels 
  -
  -# The status worker. 
  -[worker.status]
  -
  +[status:]
  +info=Status worker, displays runtime informations
   
  -# 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
  -[vm]
  -# That will work with both 3.x and 4.x. 
  +[vm:]
  +info=Parameters used to load a JVM in the server process
   OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar

cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-05-16 Thread costin

costin  02/05/16 17:35:18

  Modified:jk/conf  workers2.properties
  Log:
  Update the worker.properties.
  
  We use a special property 'info' for comments, that allows jk_config.c to
  preserve them when saving. Any # comment will be lost.
  
  I'll start working on docs and the jmx wrapper, most of the code
  should be stable and working fine.
  
  Revision  ChangesPath
  1.12  +67 -101   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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- workers2.properties   6 May 2002 22:48:56 -   1.11
  +++ workers2.properties   17 May 2002 00:35:18 -  1.12
  @@ -1,142 +1,108 @@
  -# Comments will be lost when protocol-based config will be used
  -# ( at least in the first version ). In a future version we'll save
  -# the comments before every section and property and save ( maybe )
  -
  -# Global options ( in addition to the pre-defined fs, ps, java_home
  -[config]
  -## TOMCAT_HOME, CATALINA_HOME, JAVA_HOME and LD_LIBRARY_PATH 
  -# must be set for the jni worker to operate.
  -debugEnv=0
  -
  -
  -# Logger options. For apache2 only level can be set ( it logs to apache's error.log 
)
   [logger]
   level=DEBUG
  -# File property is not used on Apache2 or if a 'native' logger is available
  -# The Apache2 ( or native ) log file is used instead
  -# For apache1 the file must be specified if you want logging.
  -# file=logs/mod_jk.log
   
  -[shm]
  -file=${serverRoot}/logs/jk2.shm
  -size=100
  +[config:]
  +file=${serverRoot}/conf/workers2.properties
  +debug=0
  +debugEnv=0
   
  -[uriMap]
  +[uriMap:]
  +info=Maps the requests. Options: debug
   debug=0
   
  -[workerEnv]
  +[shm:]
  +info=Scoreboard. Required for reconfiguration and status with multiprocess servers
  +file=${serverRoot}/logs/jk2.shm
  +size=100
   debug=0
  +disabled=0
   
  - Channels 
  -# Each channel defines a communication mechanism to a tomcat instance.
  -# Each channel is associated with a ajp13:NAME, with the same local name
  +[workerEnv:]
  +info=Global server options
  +timing=1
  +debug=0
   
  +[lb:lb]
  +info=Default load balancer.
  +debug=0
   
  -# Default channel 
  -#[channel.socket:localhost:8009]
  -#lb_factor=1
  -#tomcatId=localhost:8009
  +[lb:lb_1]
  +info=A second load balancer.
  +debug=0
   
  +[channel.socket:localhost:8009]
  +info=Ajp13 forwarding over socket
  +debug=0
  +tomcatId=localhost:8009
   
  -# Example additional socket channel. The location is in the name ( URL-style
   [channel.socket:localhost:8019]
  +info=A second tomcat instance. 
  +debug=0
   tomcatId=localhost:8019
   lb_factor=1
  -group=lb_1
   group=lb
  +group=lb_1
  +disabled=0
   
  +[channel.un:/opt/33/work/jk2.socket]
  +info=A second channel connecting to localhost:8019 via unix socket
  +tomcatId=localhost:8019
  +lb_factor=1
  +debug=0
   
  -
  -# Example unix socket.
  -# XXX We must use an explicit setting to use substitution - resolve this
  -[channel.apr:${TOMCAT_HOME}/work/jk2.socket]
  -tomcatId=localhost:8009
  -lb_factor=0
  -
  -
  -# 
  -# The JNI channel is enabled and configured automatically
  -# if a VM is detected and tomcat started.
   [channel.jni:jni]
  +info=The jni channel, used if tomcat is started inprocess
   
  - Workers 
  -# All non-ajp13 workers or workers with special configurations
  -# There is no configuration for ajp13 workers - you just configure
  -# channels 
  -
  -# The status worker. 
  -[worker.status]
  -
  +[status:]
  +info=Status worker, displays runtime informations
   
  -# 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
  -[vm]
  -# That will work with both 3.x and 4.x. 
  +[vm:]
  +info=Parameters used to load a JVM in the server process
   OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar
   OPT=-Dtomcat.home=${TOMCAT_HOME}
   OPT=-Dcatalina.home=${TOMCAT_HOME}
   OPT=-Xmx128M
  -#OPT=-Djava.compiler=NONE
  -
  +disabled=1
   
   [worker.jni:jniCmd1]
  +info=Command to be executed by the VM. This one will start tomcat.
  +class=org.apache.jk.apr.TomcatStarter
   ARG=start
  +disabled=1
   
  +[uri:/jkstatus/*]
  +info=Display status information and checks the config file for changes.
  +group=status:
   
  - Locations  
  -# XXX Uris to be read from separate file, one per webapp.
  -# XXX Webapps to be declared automatically, using webapps/ content :-)
  -
  -
  -### Virtual host definitions ( in the vhost 

cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-04-30 Thread costin

costin  02/04/29 23:50:05

  Modified:jk/conf  workers2.properties
  Log:
  An update config to test the new mapping.
  
  Revision  ChangesPath
  1.9   +41 -17jakarta-tomcat-connectors/jk/conf/workers2.properties
  
  Index: workers2.properties
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/conf/workers2.properties,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- workers2.properties   18 Apr 2002 19:22:54 -  1.8
  +++ workers2.properties   30 Apr 2002 06:50:05 -  1.9
  @@ -17,13 +17,13 @@
   # file=logs/mod_jk.log
   
   [shm]
  -file=${TOMCAT_HOME}/work/jk2.shm
  +file=${serverRoot}/logs/jk2.shm
   size=100
   
   
    Channels 
   # Each channel defines a communication mechanism to a tomcat instance.
  -# Each channel is associated with a worker.ajp13:NAME, with the same local name
  +# Each channel is associated with a ajp13:NAME, with the same local name
   
   
   # Default channel 
  @@ -72,7 +72,7 @@
   # 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
  -[vm]
  +[disabled:vm]
   # That will work with both 3.x and 4.x. 
   OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar
   OPT=-Dtomcat.home=${TOMCAT_HOME}
  @@ -89,23 +89,47 @@
   # XXX Uris to be read from separate file, one per webapp.
   # XXX Webapps to be declared automatically, using webapps/ content :-)
   
  -[uri:/examples/servlet/HelloWorldExample]
  -worker=ajp13:jni
  -# worker=ajp13:localhost:8009
  -# worker=ajp13:unixSocket
   
  -[uri:/examples/servlet/RequestHeaderExample]
  -#worker=ajp13:jni
  -# worker=ajp13:localhost:8009
  -worker=ajp13:unixSocket
  -
  -[uri:/examples/servlet/RequestInfoExample]
  -#worker=ajp13:jni
  -worker=ajp13:localhost:8009
  -# worker=ajp13:unixSocket
  +### Virtual host definitions ( in the vhost directory ) 
  +# No '/' in the name. 
  +# It _must_ be defined for each virtual host ( or bad things will happen in jk2.0, 
  +# later we might forgive you ) ( either manually or automatically )
  +
  +[uri:localhost:8080]
  +alias=127.0.0.1:8080
  +alias=myLocalHost:8080
  +
  +### Webapps definitions ( in each webapp )
  +# The name and context are equals ( that's how we know it's a context definition )
  +# Must be defined 
  +
  +[uri:/examples]
  +context=/examples
   
  +[uri:localhost:8080/examples]
  +context=/examples
   
   # Status worker. XXX protect it with Location and security settings,
   # it'll display all properties - including eventual secrets.
  +# 
  +[uri:/jkstatus]
  +context=/jkstatus
  +
  +### Per/uri mappings
  +
  +# Exact mapping
  +[uri:/examples/servlet/RequestHeaderExample]
  +
  +# Prefix mapping
  +[uri:/examples/servlet/RequestInfoExample/*]
  +
  +# Extension match
  +[uri:/examples/*.jsp]
  +
   [uri:/jkstatus/*]
  -worker=worker.status
  +worker=worker.status:
  +
  +## No other forms of mappings are currently supported
  +# Because the spec doesn't support them.
  +
  +
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-04-12 Thread costin

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  ChangesPath
  1.3   +21 -12jakarta-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 -  1.2
  +++ workers2.properties   12 Apr 2002 23:18:35 -  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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-04-12 Thread costin

costin  02/04/12 22:55:18

  Modified:jk/conf  workers2.properties
  Log:
  A new update to the sample config - this time with settings to load catalina 
inprocess.
  ( won't forward requests yet - ChannelJni needs fixes )
  
  Revision  ChangesPath
  1.4   +19 -7 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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- workers2.properties   12 Apr 2002 23:18:35 -  1.3
  +++ workers2.properties   13 Apr 2002 05:55:18 -  1.4
  @@ -4,7 +4,8 @@
   
   # Global options ( in addition to the pre-defined fs, ps, java_home
   [config]
  -TOMCAT_HOME=/opt/tomcat
  +#TOMCAT_HOME=/opt/tomcat
  +TOMCAT_HOME=/opt/40
   JAVA_HOME=/usr/java/ibm1.3
   
   
  @@ -70,20 +71,31 @@
   # JAVA_HOME and TOMCAT_HOME can be set as environment variables
   [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}/lib/tomcat.jar
  +OPT=-Djava.class.path=${TOMCAT_HOME}/bin/bootstrap.jar
  
+#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=-Dcatalina.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
  -
  +[worker.jni:jniCmd1]
  +# For 3.3
  +#class=org/apache/tomcat/startup/Main
  +
  +# For 4.0
  +class=org/apache/catalina/startup/Bootstrap
  +ARG=start
  +
  +# For JkMain ( testing )
  +#ARG=-out
  +#ARG=${serverRoot}${fs}logs${fs}java.out
  +#ARG=-err
  +#ARG=${serverRoot}${fs}logs${fs}java.err
   
   
    Locations  
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties jk2.properties

2002-04-11 Thread costin

costin  02/04/11 12:10:57

  Modified:jk/conf  jk2.properties
  Added:   jk/conf  workers2.properties
  Log:
  Added the (sample) workers2.properties ( for C ). It must be installed
  in APACHE_HOME/conf
  No settings in httpd.conf except including the module.
  
  The current files are set for UNIX socket, I'll revert the default to
  tcp after some testing.
  
  Revision  ChangesPath
  1.2   +2 -2  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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jk2.properties6 Feb 2002 19:04:28 -   1.1
  +++ jk2.properties11 Apr 2002 19:10:57 -  1.2
  @@ -24,8 +24,8 @@
   #handler.channel.port=8009
   
   # Other options:
  -#handler.channel.className=org.apache.jk.common.ChannelUn
  -#handler.channel.file=${jk.home}/jk2.socket
  +handler.channel.className=org.apache.jk.common.ChannelUn
  +handler.channel.file=${jkHome}/work/jk2.socket
   
   #handler.channel.className=org.apache.jk.common.ChannelJni
   
  
  
  
  1.1  jakarta-tomcat-connectors/jk/conf/workers2.properties
  
  Index: workers2.properties
  ===
  # Comments will be lost when protocol-based config will be used
  # ( at least in the first version ). In a future version we'll save
  # the comments before every section and property and save ( maybe )
  
  # Global options ( in addition to the pre-defined fs, ps, java_home
  [config]
  jkHome=/opt/tomcat
  
  
  # Logger options. For apache2 only level can be set ( it logs to apache's error.log )
  [logger]
  level=DEBUG
  # File property is not used on Apache2 or if a 'native' logger is available
  # The Apache2 ( or native ) log file is used instead
  # For apache1 the file must be specified if you want logging.
  # file=logs/mod_jk.log
  
  
   Channels 
  # Each channel defines a communication mechanism to a tomcat instance.
  # Each channel is associated with a worker.ajp13:NAME, with the same local name
  
  
  # Default channel 
  [channel.socket:localhost:8009]
  # lbfactor=1
  
  
  # Example additional socket channel. The location is in the name ( URL-style
  # [channel.socket:localhost:8019]
  
  
  
  # Example 2 - explicitely set the host/port, the name can be anything.
  # [channel.socket:myWorker]
  # host=myHost
  # port=8109
  
  
  # Example unix socket.
  # We must use an explicit setting to use substitution
  [channel.apr:unixSocket]
  file=${jkHome}/work/jk2.socket
  
  
  
  
  
   Workers 
  # All non-ajp13 workers or workers with special configurations
  
  # The status worker. 
  [worker.status]
  
  
  
  # Note that we use separate lines instead of , separated values. 
  [worker.lb]
  balanced_workers=worker.ajp13:localhost:8109
  balanced_workers=worker.ajp13:/tmp/tomcatUnixSocket
  
  
  # 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
  
  
  
   Locations  
  # XXX Uris to be read from separate file, one per webapp.
  # XXX Webapps to be declared automatically, using webapps/ content :-)
  
  [uri:/examples/*]
  # worker=ajp13:localhost:8009
  worker=ajp13:unixSocket
  
  
  # Status worker. XXX protect it with Location and security settings,
  # it'll display all properties - including eventual secrets.
  [uri:/jkstatus/*]
  worker=worker.status
  
  
  
  
  

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




cvs commit: jakarta-tomcat-connectors/jk/conf workers2.properties

2002-04-11 Thread costin

costin  02/04/11 17:25:39

  Modified:jk/conf  workers2.properties
  Log:
  Configured with 3 workers for testing lb and unix
  ( lb should do its magic to not use the ones that
  don't work ). Leave the uri maps with the default ( lb )
  
  Revision  ChangesPath
  1.2   +11 -12jakarta-tomcat-connectors/jk/conf/workers2.properties
  
  Index: workers2.properties
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/conf/workers2.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- workers2.properties   11 Apr 2002 19:10:57 -  1.1
  +++ workers2.properties   12 Apr 2002 00:25:39 -  1.2
  @@ -27,8 +27,7 @@
   
   
   # Example additional socket channel. The location is in the name ( URL-style
  -# [channel.socket:localhost:8019]
  -
  +[channel.socket:localhost:8019]
   
   
   # Example 2 - explicitely set the host/port, the name can be anything.
  @@ -38,14 +37,11 @@
   
   
   # Example unix socket.
  -# We must use an explicit setting to use substitution
  +# XXX We must use an explicit setting to use substitution - resolve this
   [channel.apr:unixSocket]
   file=${jkHome}/work/jk2.socket
   
   
  -
  -
  -
    Workers 
   # All non-ajp13 workers or workers with special configurations
   
  @@ -53,11 +49,16 @@
   [worker.status]
   
   
  +# This is created by default - and used for all webapps that don't specify 
  +# explicitely an worker.
  +# It'll automatically get all the 'forwarding' workers/channels.
  +# [worker.lb]
  +
   
   # Note that we use separate lines instead of , separated values. 
  -[worker.lb]
  -balanced_workers=worker.ajp13:localhost:8109
  -balanced_workers=worker.ajp13:/tmp/tomcatUnixSocket
  +# This is also created by default - when a forwarding worker has a 
  +# 'group' property
  +# [worker.lb:group1]
   
   
   # XXX document/implement a better way to 'disable' a setting. Comments are
  @@ -83,12 +84,10 @@
   
   [uri:/examples/*]
   # worker=ajp13:localhost:8009
  -worker=ajp13:unixSocket
  +# worker=ajp13:unixSocket
   
   
   # Status worker. XXX protect it with Location and security settings,
   # it'll display all properties - including eventual secrets.
   [uri:/jkstatus/*]
   worker=worker.status
  -
  -
  
  
  

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