Hi, I get the following AJP errors when I try to access a webpage after starting Apache and Tomcat. Both Apache web server and Tomcat start up fine but I get these errors in Apache logs and I get a 503 Service Temporarily Unavailable message in the browser. Apparently Tomcat isn't seeing the request.
[error] (OS 10061) No connection could be made because the target machine actively refused it. : proxy: AJP: attempt to connect to 127.0.0.1:8009(localhost) failed [error] ap_proxy_connect_backend disabling worker for (localhost) [error] proxy: AJP: failed to make connection to backend: localhost Can you please help me find out where the problem lies. Thanks, Joe Environment: Apache 2.2, Tomcat 6.0.29, JDK 6, Windows 7 64-bit /* excerpt from httpd.conf */ LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin a...@gmail.com ServerName abc.local ServerAlias www.abc.local ErrorLog "logs/ajp.error.log" RewriteEngine on RewriteCond %{HTTP_HOST} ^abc.local [nc] RewriteRule ^(.*)$ http://www.abclocal$1 [r=301,L] <Proxy *> AddDefaultCharset Off Order deny,allow Allow from all </Proxy> ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ </VirtualHost> /* excerpt from tomcat/conf/server.xml */ <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> <Connector port="8009" protocol="AJP/1.3" redirectPort="443" /> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host> <Host name="abc.local" appBase="c:/hosts/abc.local/webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host>