You do not edit mod_jk.conf-auto. It does not make sense, since it is
always overwritten by tomcat when it starts. What you do is:
1) you copy the mod_jk.conf-auto to mod_jk.conf-my-own-file
2) in the Apache's httpd.conf you put the line:
Include /the/full/path/to/mod_jk.conf-my-own-file
3) You make sure:
a) that you have the ajp12 connector in server.xml activated
(it is needed for shutting down Tomcat)
b) that you have the ajp13 connector in server.xml activated
(you wanted it in JkMount)
c) You have the ajp13 connector in workers.properties
workers.tomcat_home=/you/tomcat/home/directory ***
workers.java_home=/usr/local/jdk1.3 ***
ps=/
worker.list=ajp13
worker.ajp13.port=8006
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.loadbalancer.balanced_workers=ajp13
and all the rest is commented out with # [ *** change these!!! ]
Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168
Ohio Supercomputer Center | Internet: [EMAIL PROTECTED]
1224 Kinnear Rd, | http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163 | http://www.osc.edu/
On Wed, 28 Feb 2001, Wang, Jianming wrote:
> Hello,
>
> I have configed Apache to work with Tomcat. However, in the
> mod_jk.conf-auto file, it still uses JkMount /example/servlet/* ajp12, even
> I already configed Apache to use ajp13. Why tomcat still use ajp12? Could
> you please give me a help? Thank you in advance.
>
> Jianming Wang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]