https://issues.apache.org/bugzilla/show_bug.cgi?id=50207

           Summary: CometProcessor async timeout events are not being
                    fired
           Product: Tomcat 7
           Version: 7.0.4
          Platform: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Connectors
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jnorri...@gmail.com


This is reproducible using the the default chat example (ie: ChatServlet,
/examples/jsp/chat) and the following additional changes:

1) Enabled Http11Nio in conf/server.xml:

    <Connector 
        address="0.0.0.0" 
        port="8080" 
        protocol="org.apache.coyote.http11.Http11NioProtocol"
        connectionTimeout="20000" 
        enableLookups="false"
        acceptCount="100"
        disableUploadTimeout="true"
        maxThreads="15"
        minSpareThreads="15"
        maxSpareThreads="15"
        RECYCLE_FACADES="true"/>

2) Enabled the comet valve in conf/context.xml:

  <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />

The problem is CometEvent.EventType.ERROR (and subtype TIMEOUT) and
CometEvent.EventType.END are never being fired.

This can be confirmed in the logs; the messages for these events are never
printed.  This worked on Tomcat 6.0.29.

As an aside, what is the most complete/robust way to do async IO in tomcat 7
today, Servlet 3.0 or CometProcessor?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to