Tomcat CometProcessor NIO via Apache httpd?

I have a CometProcessor servlet that works fine in Apache Tomcat. My server.xml connector entry:

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

I can get into the servlet (named "EventBus") with the Tomcat URL directly as follows:

http://xyz.com:8080/EventBus

I have Apache httpd serving .jsp files and servlets with a basic employee.properties file with a working one, for example:

worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009

This works great with everything except the CometProcessor servlet. When I try to get into this servlet, I get:

HTTP method GET is not supported by this URL

Does anyone know how to properly redirect Apache httpd requests to Apache Tomcat to connect an NIO like CometProcessor?

Thanks for any help.

+5
source share
1 answer

, CometProcessor Apache. CometProcessor -, Apache httpd.

JK , APR NIO CometProcessor.

, mod_proxy NIO-, .

+2

All Articles