ajp connection fail

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ajp connection fail

velocity
[Fri Mar 01 03:55:30 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Fri Mar 01 03:55:30 2013] [error] proxy: AJP: failed to make connection to backend: localhost
[Fri Mar 01 14:32:06 2013] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed

I tried so many things.  I still get this.  I cant seem to fix this ajp connection issue.

I did try this link mod-proxy-ajp-on-apache-2-2
and many other...



please, advise.
Reply | Threaded
Open this post in threaded view
|

Re: ajp connection fail

velocity
I cant seem to solve this issue. Please, advise.

here is my vhost

# domain: store.example.com
# public: /var/www/

#Listen 80
NameVirtualHost *:80

<VirtualHost *:80>
     # Admin email, Server Name (domain name), and any aliases
     ServerName  store.example.com:80
     ServerAdmin webmaster@localhost
     
     # Index file and Document Root (where the public files are located)
     DocumentRoot /var/www

     SSLEngine Off

     # Log file locations
     LogLevel warn
     ErrorLog /var/log/apache2/error.log
     CustomLog /var/log/apache2/access.log combined
 
     ProxyRequests Off
     ProxyPreserveHost On
     ProxyPass / ajp://localhost:8009/  retry=0

     RewriteEngine On
     RewriteRule ^/(images/.+);jsessionid=\w+$ /$1

</VirtualHost>


<VirtualHost *:443>
     ServerName  store.example.com:443
     ServerAdmin webmaster@localhost
     
     ProxyRequests Off
     ProxyPreserveHost On    
     proxyPass / ajp://localhost:8009/ retry=0

     RewriteEngine On
     RewriteRule ^/(images/.+);jsessionid=\w+$ /$1

     SSLEngine On
     SSLProtocol all -SSLv2
     SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
     SSLCertificateFile /etc/apache2/ssl/st_example.crt
     SSLCertificateKeyFile /etc/apache2/ssl/st.example.key
     SSLCACertificateFile /etc/apache2/ssl/st_example.ca-bundle
</VirtualHost>
Reply | Threaded
Open this post in threaded view
|

Re: ajp connection fail

velocity
This post was updated on .
still getting the same error.

[Sun Mar 03 20:08:05 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Sun Mar 03 20:08:05 2013] [error] proxy: AJP: failed to make connection to backend: localhost
[Sun Mar 03 20:08:27 2013] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed

and cd runtime/logs
cat error.log

/ofbiz-containers.xml process error. Line: 254. Error message: cvc-complex-type.2.3: Element 'property' cannot have character [children], because the type's content type is element-only.

tried these links without luck.
configure-mod_proxy_ajp-with-tomcat start
ajp
ajp ssl