Hi Denise. I successfully integrated apache 2.0.43 and tomcat 4.1.16 with a simplistic configuration.
httpd.conf ---------- LoadModule jk_module modules/mod_jk-2.0.43.so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkRequestLogFormat "%w %r %s %T" JkMount /test worker1 JkMount /test/* worker1 in workers.properties --------------------- worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 ...and nothing more. It worked for me. About the static mappings you did, I read it from the manual: Caution: If Apache is configured to serve static pages for a web application it bypasses any security contraints you may have configured in your web application web.xml config file. That discouraged me to map static pages. Hope it help. iran -----Mensagem original----- De: Denise Mangano [mailto:[EMAIL PROTECTED]] Enviada em: sexta-feira, 20 de dezembro de 2002 14:10 Para: 'Tomcat Users List' Assunto: Configuring mod_jk - Again! Hi all :) I know some of you are probably cringing saying oh no not again! ;) Well its that time again. Going to get this mod_jk working if it's the last thing I do!! So I followed the how-to...again. It looks like Apache is not getting any errors when trying to see the mod_jk connector. This looks like a success, no? [Fri Dec 20 09:51:50 2002] [notice] Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_jk/1.2.2-dev mod_fastcgi/2.2.12 mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations Now, I'm back to the original problem. Although it looks like everything is fine as separate entities, but I cannot pull up http://localhost/examples in my browser. I still have to use http://localhost:8080/examples. For some reason apache is still looking in the /var/www directory: [Fri Dec 20 09:57:22 2002] [error] [client 12.42.32.222] File does not exist: /var/www/html/examples/servlets/index.html The error message that I was receiving about being unable to locate mod_jk.so is no longer showing in my catalina.out log and again it looks like everything is successful... Dec 20, 2002 10:14:14 AM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Dec 20, 2002 10:14:14 AM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Dec 20, 2002 10:14:14 AM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer Dec 20, 2002 10:14:15 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.17 I have attached my workers.properties, server.xml, and mod_jk.conf file (Where you see www.mydomain.com in the file on my machine it is my actual domain name). In my httpd.conf file my server name is defined the same as in the Host directive, and workers.properties. The only change I made was to add the code to include the mod_jk.conf file. Why is this turning out to be such a task?! Thanks in advance. Denise Mangano -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>