Hi, I'm having a hard time activating the AJP connector. I've changed the file server-fragment.xml in C:\springsource\vfabric-tc-server-developer-2.6.2.RELEASE\templates\ajp\conf to:
What I'm aiming for: The linux server in my LAN running apache httpd should be able to forward requests to my development machine. In order to do that, I've created the following config on the linux server under apache httpd, using mod_proxy:
<?xml version='1.0' encoding='utf-8'?>
My problem is, that calling http://linuxserver/tpro fails after trying to connect for quite a while.
ProxyPass /tpro ajp://192.168.2.22:8009/tpro
Deny from none
#Allow from .example.com
The apache httpd log shows the following:
The machine 192.168.2.22 is the development machine with STS installed.
==> /var/log/httpd/access_log <==
192.168.2.22 - - [22/Jan/2012:16:54:37 +0100] "GET /tpro HTTP/1.1" 503 399
==> /var/log/httpd/error_log <==
[Sun Jan 22 16:56:37 2012] [error] (70007)The timeout specified has expired: proxy: AJP: attempt to connect to 192.168.2.22:8009 (192.168.2.22) failed
[Sun Jan 22 16:56:37 2012] [error] ap_proxy_connect_backend disabling worker for (192.168.2.22)
[Sun Jan 22 16:56:37 2012] [error] proxy: AJP: failed to make connection to backend: 192.168.2.22
In fact, the application IS working, I can invoke it by calling http://192.168.2.22:8080/tpro/
Can you help me with that?