I successfully installed apache and
tomcat, and the both work well alone. I want to connect apache and tomcat, however. I follow the directions at mod_jk connector docs, but neither the automatic config mode nor the manual settings mode worked. After making the changes, tomcat starts, but apache cannot. When I try to restart the apache service, it says "The requested operation has failed!" If I comment out the lines that I added to httpd.conf, the server starts perfectly.
Question: Is there a way I find out which line the error occured on while reading httpd.conf? There is no entry writtn to error.log in the logs directory. And that is the specified file in the httpd.conf file. Frown
Reference information:
Host System: Windows XP Pro
Apache: v2.2.3
Tomcat: v5.5.17
In order to try to get tomcat and apache to place nice together, first, I downloaded mod_jk.so from the tomcat homepage, and I copied it to the apache modules directory.
In the apache conf folder, I created a workers.properties file that contains:
At the bottom of the apache httpd.conf file, I appended: