How do you use uriworkermap.properties in Tomcat?

S

Suk

Hi

I'm using Tomcat with Apache and I want Tomcat to auto generate
mod_jk.conf

The bit I cant seem to get working is for JkMount statments to appear
in mod_jk.conf. I have created a uriworkermap.properties but nothing
seems to happen.

Do I need to specify where this file is in my server.xml? I have
defined a Listener as follows:

<Listener className="org.apache.jk.config.ApacheConfig"
workersConfig="/usr/local/apache2/tomcat/conf/workers.properties"
modJk="/usr/local/a
pache2/modules/mod_jk.so" jkLog="/usr/local/apache2/logs/mod_jk.log"
jkWorker="worker1"/>

There is an attribute called workersConfig which defines where to find
worker.properties.

Is there something similar to find uriworkermap.properties? Why doesnt
Tomcat read this file?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,087
Members
48,773
Latest member
Kaybee

Latest Threads

Top