I'm trying to connect Tomcat to Apache using mod_proxy_ajp. Here are the relevant configuration sections.
# Configure AJP proxying
Deny from all
# Forward all newtowne requests
Allow from all
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector address="localhost" port="8009"
maxThreads="200" connectionTimeout="60000" />
However, when I attemp tto request a resource that should get mapped to the Tomcat engine, I see the following error in the Apache logs:
[Sat Jul 22 16:50:22 2006] [error] (13)Permission denied: proxy: AJP: attempt to connect to 127.0.0.1:8009 (127.0.0.1) failed
[Sat Jul 22 16:50:22 2006] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1)
[Sat Jul 22 16:50:22 2006] [error] proxy: AJP: failed to make connection to backend: 127.0.0.1
[Sat Jul 22 16:50:24 2006] [error] proxy: AJP: disabled connection for (127.0.0.1)
It looks as though Apache is attempting to Proxy the request as directed, but gets not further than that, as it is denied permission to speak to the AJP server. As far as I can tell the AHP connector starts successfully since I see no indications otherwise in the logs.
Thanks in advance.