我正在使用Apache 2.2.16和Tomcat 7.0.16。我有3个Tomcat实例执行3个不同的战争文件。为了绕过请求,我使用mod_proxy配置了httpd。Mod_Proxy 502 - 代理间歇性错误
3 Tomcat实例在8080上运行,8090,8099,在下面找到
ProxyPass /bor `http://localhost:8080/bor/
ProxyPass /borcafews/ `http://localhost:8090/borcafews/
ProxyPass /borechws/ `http://localhost:8099/borechws/
间歇我得到502代理错误在8090和8099,所以我已经设置在httpd以下变量的httpd配置的.conf
<Location /borcafews/>
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>`
设置这种结构中,borcafews未给予任何代理错误之后但borechws与502-代理错误间断性地失效。
proxy: Error reading from remote server returned by /borechws/services/bor (20014)Internal error: proxy: error reading status line from remote server localhost:8099
请帮我解决这个问题。