How do I get Tomcat to generate the JkMount lines the in mod_jk.conf file?
I have Tomcat generating the Apache config files by including
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
modJk="/opt/hpapache2/modules/mod_jk.so" />
in server.xml.
I can't figure out how to get it to include the
JkMount /dev ajp13
JkMount /dev/* ajp13
lines that seem to be necessary to tell Apache what to hand off to Tomcat.
If I add those lines manually after starting Tomcat and before starting
Apache, it works. But as soon as I restart Tomcat, it regenerates
mod_jk.conf and the lines go away.
My guess was that Tomcat would generate these from server.xml <Context>
entries, but I added this to server.xml and I'm still not getting the
JkMount lines.
<Context path="/dev"
docBase="webapps/dev"
debug="0"
reloadable="true" >
</Context>
Thanks,
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management