tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: mod_jk2 config
Date Mon, 04 Mar 2002 10:06:01 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

Great

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

good

>JkSet /examples/* ajp13

good

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

So status is a specialized worker used to display the jk state

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

I'll try to after various jakarta RPMs.

>The major change is that 'worker.NAME.type' must be the first 
>thing, and worker.NAME.channel the second. 

You need this limitation to be able to verify next params ?

>In addition, worker.list is no longer used - any worker that is
>declared will be loaded.

Good

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

Ok, seems fine

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