tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Márton Szabolcs <>
Subject Re: tomcat comet, not working...
Date Tue, 29 May 2007 12:12:34 GMT


i set my connector like this.
it should be correct, isnt it? 

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


public class CometSampleServlet 
        extends HttpServlet  implements CometProcessor {
    protected ArrayList<HttpServletResponse> connections = 
        new ArrayList<HttpServletResponse>();
    protected MessageSender sender = null;
    public void event(CometEvent event) throws IOException, ServletException {
        HttpServletRequest request = event.getHttpServletRequest();

but my service method still invoked.... 
is any settings should take?

this example from:
(its japanese, but you could see in the black text areas)


35% kedvezmény a Partvonal Kiadó köteteire - hogy minden olvasó kézhez kapja a maga könyvét.,1,6022,172067,232579/click.prm

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message