tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <cost...@covalent.net>
Subject mod_jk2 config
Date Sat, 02 Mar 2002 15:39:00 GMT
With my recent changes, there are few changes in the config.
My config is:
( in httpd.conf )

LoadModule jk2_module modules/mod_jk2.so

<IfModule mod_jk2.c>

JkSet logLevel debug

JkSet worker.ajp13.type ajp13
JkSet worker.ajp13.channel socket
JkSet worker.ajp13.port 8009

# JkSet worker.ajp13.channel apr
# JkSet worker.ajp13.host /tmp/tomcatUnixSocket
# JkSet worker.ajp13.channel jni

JkSet worker.status.type status

JkSet /examples/* ajp13

<Location /jkstatus>
     JkUriSet worker status
</Location>

Both styles of uri config work ( == JkMount), uri.PROPERTY is not 
completely implemented yet. 

I tested only on apache2 - the apache1.3 module compiles but 
I didn't test it. If you have some time...

The major change is that 'worker.NAME.type' must be the first 
thing, and worker.NAME.channel the second. 
In addition, worker.list is no longer used - any worker that is
declared will be loaded.

This is similar with server.xml - where each <BaseInterceptor>,
<Valve>, etc will be loaded if it's not commented out, and
the object must be created before setting properties on it.
worker.type will create a worker object ( in this case, worker is
the interface, ajp13/status/jni is the 'class name' ). Same
for channel, which must be instantiated.

Costin 


--
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