Skip to main content

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...
proxy:ajp 'client denied server configuration'
i getting forbidden on browser, played apache settings, , checked...

grep -r 'connector port="8009"' *

then, have added address="127.0.0.1" on tomcat6 server.xml
<connector port="8009" address="127.0.0.1" protocol="ajp/1.3" redirectport="8443"/>
cd /var/log/apache2 cat error.log

now, getting error...
[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
ps ax | grep httpd | wc -l
1
please advise

thank you.



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

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP