I am getting 503 on my website. I am trying to connect tomcat with apache. I tried several things. I cant seem to make it work.
I have enabled a2enmod
a2enmod proxy_ajp
a2enmod proxy
a2enmod proxy_http
a2enmod ssl
first error I was getting...
I was getting forbidden on the browser, I played with apache settings, and checked...proxy:ajp 'client denied by server configuration'
grep -r 'Connector port="8009"' *
Then, I have added address="127.0.0.1" on tomcat6 server.xml
cd /var/log/apache2 cat error.log<Connector port="8009" address="127.0.0.1" protocol="AJP/1.3" redirectPort="8443"/>
now, I am getting this error...
ps ax | grep httpd | wc -l[Tue Feb 26 12:46:47 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Tue Feb 26 12:46:47 2013] [error] proxy: AJP: failed to make connection to backend: localhost
[Tue Feb 26 12:52:15 2013] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
[Tue Feb 26 12:52:15 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Tue Feb 26 12:52:15 2013] [error] proxy: AJP: failed to make connection to backend: localhost
please advise1
Thank you.
Bookmarks