After looking at the TCP packets I can say this:
The use of flush() in COMET *does* push data-packets immediately to the
client, but it seems that
the client (in my case a browser) doesn't recognize/display them until the
outputstream is closed
due to an ERROR/TIMEOUT or until I call close() manu
ork. Are there possibly
> transparent proxies between the two endpoints? You could try testing
> with network tools such as netcat to debug what's happening.
>
> Regards,
> Sebastiaan
>
> FelixG wrote:
>> Hi,
>> I'm trying to implement the comet code-example
Hi,
I'm trying to implement the comet code-example from the Tomcat
documentation,
using Tomcat 6.0.13, Http11NioProtocol is working and my servlet is
implementing CometProcessor.
I am trying to write into the response's PrintWriter with this code in
event():
if (event.getEventType() == CometEvent
ebapp depends on catalina.jar (which contains
> CometProcessor), however if it's included in your webapp then tomcat's
> instanceof CometProcessor check fails, causing this error. (If using
> mvn, set your dependency scope of the tomcat jars to provided).
>
> Regards,
>
Hi everyone,
I am trying to get the Adv. IO feature of Tomcat 6.0.13 (running on a sparc
sun solaris 8 with JDK6)
working. After searching the mailing-lists I changed the connector in
server.xml to use the NioProtocol:
But I kept on getting the "HTTP method GET is not supported by this URL"
e