I’m using Apache 2.2 and JBoss 7.1.3.Final. I’m connected to JBoss from Apache via AJP. Below is my configuration …
ProxyPass /cloudfront/ ajp://localhost:8009/cloudfront/
ProxyPass /app1/resources/ !
ProxyPass /app1/ ajp://localhost:8009/app1/ connectiontimeout=300 timeout=300
ProxyPass /app2/ ajp://localhost:8009/app2/
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule !/status.html https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
RewriteCond %{REQUEST_METHOD} !POST
ReWriteRule ^(.*);jsessionid=.*$ https://%{SERVER_NAME}$1 [L,R=301]
ProxyTimeout 600
When I try and connect to /app1 through a browser, I get a timeout (504 GATEWAY_TIMEOUT error) after about a minute. I have confirmed I have extended teh client timeout on Firefox for instance, to 600 seconds. Is there anything else wrong in the configuration above that is preventing extending the timeout period longer than a minute?