tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <>
Subject Re: NIO connector in Tomcat 6.0.14
Date Thu, 25 Oct 2007 17:19:27 GMT
browser don't work the way you might it expect to, firefox for example, 
will not display anything until the entire request is complete. so the 
chat example is no good that way.
write a client application for your comet, to test how it works


javaxmlsoapdev wrote:
> I am trying to use NIO connector for getting comet chat example work. 
> Here is what I have in server.xml. I commented out original connector on
> 8080 (as you can see below) and added NIO on port 8080. 
>  <!--Connector port="8080" protocol="HTTP/1.1" 
>                connectionTimeout="20000" 
>                redirectPort="8443" -->
>     <Connector port="8080"
> protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150"
> connectionTimeout="20000" redirectPort="8443" />	
> I don't above is setup correctly due to two things
> 1)It takes forever (may be until specified timeout period) to respond and
> request comes back doing nothing
> 2)Comet chat example doesn't work. No errors or anything but it simply
> doesn't push chat messages to client browsers, I have two browsers open
> running same chat application.
> Am I not setting up connector properly? Is there any other config required?
> how to get this comet chat example working. Please note that I searched the
> forum already but still confused on NIO connector entry in server.xml.
> Any ideas?
> Thanks,

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message