Not with Apache 2.x but with 1.3.27 I've been able to make it work fine with RedHat 7, 8, and 9. Setting up mod_jk was tricky If I recall correctly. But after doing it a few times it becomes much clearer how the pieces fit in. I also am using the autoconfig option of Tomcat which worked great!
First of all, I strongly recommend the new Tomcat book by Oreilly. Everything I needed to set it up was in there. They have a whole chapter on the subject including how to setup with Apache 2.x. In a nutshell I setup a workers file under '/opt/tomcat/conf/jk' and modified my server.xml to include a couple of listener options. One for 8005 and the other for the virtual host. Find the setting for 8005 and add the listener as follows: <Server port="8005" shutdown="SHUTDOWN" debug="0"> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" /> Next find the virtual host definition and add the listener there also: <!-- Define the default virtual host --> <Host name="localhost" debug="0" appBase="webapps" > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true"/> I also created '/opt/tomcat/conf/auto'. This I believe instructs Tomcat to automagically create my 'mod_jk.conf' file which Apache needs. Next modify the Apache 'httpd.conf' to include the config file Tomcat will create when you run it (Include /opt/tomcat/conf/auto/mod_jk.conf). Oh and don't forget to Load/Add the mod_jk in Apache. 'LoadModule jk_module libexec/mod_jk.so' 'AddModule mod_jk.c' I hope I didn't loose you there. I'm still rather new myself to mod_jk and Tomcat. I think that's about it. Email me directly if you need further help. After doing this a dozen times I still need to tweak things. Once I start everything up I usually run the JSP examples or servlets as a test. Can't seem to get it to work properly on the first try yet ;-) Good Luck! -------------------- Has anyone been able to successfully get Tomcat working with Apache 2x using mod_jk on a RedHat 9.0 system? I can get Tomcat to work fine in standalone but for the life of me cannot get mod_jk to work. Has any kind soul created RPMs of the whole thing? Thanks in advance for any help, --Moby -- Linux: Telling Microsoft where to go since 1991 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list