apahce配置长连接,修改了协议server.xml的协议,但是通讯失效


问题是这样的
由于业务需要,业务用到了长连接,使用的是Http11Nio的协议,用的Google的comet4j但是到了apache负载均衡的时候,jk组件没能起到作用,大家遇到过这个问题吗。
希望知情的大神能在apache的配置方面给些建议

tomcat server.xml


 xml


 <Connector connectionTimeout="20000" port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" redirectPort="8443"/>

apache tomcat

啦啦啦啦啦啦啦 10 years, 6 months ago

你可以看看 AJP的端口。

围观群众乙 answered 10 years, 6 months ago

Your Answer