Re: COMET - Delays in output

2007-08-01 Thread FelixG
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

Re: COMET - Delays in output

2007-07-30 Thread FelixG
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

COMET - Delays in output

2007-07-27 Thread FelixG
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

[SOLVED] Re: COMET with Tomcat 6.0.13 causes 405 Error

2007-07-25 Thread FelixG
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, >

COMET with Tomcat 6.0.13 causes 405 Error

2007-07-25 Thread FelixG
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