Thread: how to connect tomcat to apache - 503 on the website via ajp
i getting 503 on website. trying connect tomcat apache. tried several things. cant seem make work.
have enabled a2enmod
a2enmod proxy_ajp
a2enmod proxy
a2enmod proxy_http
a2enmod ssl
first error getting...
i getting forbidden on browser, played apache settings, , checked...proxy:ajp 'client denied server configuration'
grep -r 'connector port="8009"' *
then, 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, getting error...
ps ax | grep httpd | wc -l[tue feb 26 12:46:47 2013] [error] ap_proxy_connect_backend disabling worker (localhost)
[tue feb 26 12:46:47 2013] [error] proxy: ajp: failed make connection backend: localhost
[tue feb 26 12:52:15 2013] [error] (111)connection refused: proxy: ajp: attempt connect 127.0.0.1:8009 (localhost) failed
[tue feb 26 12:52:15 2013] [error] ap_proxy_connect_backend disabling worker (localhost)
[tue feb 26 12:52:15 2013] [error] proxy: ajp: failed make connection backend: localhost
please advise1
thank you.
see if helps you:
connecting apache web server tomcat , writing re-direct rules
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] how to connect tomcat to apache - 503 on the website via ajp
Ubuntu
Comments
Post a Comment