I am using Apache 2.2.16 and Tomcat 7.0.16. I have 3 instances of Tomcat that runs 3 different war files. To get around the request, I configured httpd using mod_proxy.
3 Tomcat instances work in 8080, 8090, 8099. find the httpd configuration below
ProxyPass /bor `http://localhost:8080/bor/ ProxyPass /borcafews/ `http://localhost:8090/borcafews/ ProxyPass /borechws/ `http://localhost:8099/borechws/
With interruptions, I received a 502 proxy error in 8090 and 8099. Therefore, I set the following variables in httpd.conf
<Location /borcafews/> SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 </Location>`
After configuring this configuration, borcafews did not produce any proxy errors, but for borechws with a 502-Proxy error, the error is interrupted.
proxy: Error reading from remote server returned by /borechws/services/bor (20014)Internal error: proxy: error reading status line from remote server localhost:8099
Please help me solve this problem.
source share