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 Changes Path
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 -0000 1.14
+++ workers2.properties 11 Jul 2002 11:40:48 -0000 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]>