When I auto-generate the mod_jk directives, I'm finding strange behavior:  Even if my 
workers.properties file contains the name of a worker other than ajp13, the JkMount 
commands that get generated always have the worker name as "ajp13".
for example, if I put the following in my workers.properties:

worker.list=testWorker1
# settings for testWorker1
worker.testWorker1.port=8009
worker.testWorker1.host=localhost
worker.testWorker1.type=ajp13

I'll still get, in the auto file, lines like:

 JkMount /examples/jsp/security/protected/j_security_check  ajp13
    JkMount /examples/snoop  ajp13
    JkMount /examples/servlet/*  ajp13
    JkMount /examples/CompressionTest  ajp13
    JkMount /examples/*.jsp  ajp13
    JkMount /examples/servletToJsp  ajp13

...etc.

even though I'm naming the worker 'testWorker1'

I know Tomcat is reading the correct workers.properties file, because when I remove 
it, Tomcat complains. 

BTW, here's my <location directive:

  <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
     modJk="c:/Apache2/modules/mod_jk-2.0.42.dll"  />


Anybody know what's going on?

-Dave Naden



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

Reply via email to