Re: Unit testing a CometProcessor Servlet

2010-10-04 Thread Nabble User
t may concern, > > (FYI: It's usually polite to identify yourself) > > On 9/27/2010 3:59 PM, Nabble User wrote: > > Does anyone have tips for unit testing a servlet that implements > > CometProcessor? > > Can't you synthesize all the events you need? It sho

Re: Unit testing a CometProcessor Servlet

2010-10-01 Thread Nabble User
Why is this the wrong type of question? On Wed, Sep 29, 2010 at 2:44 PM, Pid * wrote: > On 29 Sep 2010, at 12:19, Nabble User wrote: > > > Anyone? > > I think you may be asking the wrong type of question. > > > p > > -

Re: Unit testing a CometProcessor Servlet

2010-09-29 Thread Nabble User
Anyone?

Unit testing a CometProcessor Servlet

2010-09-27 Thread Nabble User
Does anyone have tips for unit testing a servlet that implements CometProcessor? I have a servlet similar in structure to the the Chat Servlet example here: http://tomcat.apache.org/tomcat-6.0-doc/aio.html So, examples for testing that servlet code would be beneficial. Thanks in advance.

Re: Anyone using Tomcat 6 Comet with Apache mod_proxy?

2010-08-11 Thread Nabble User
A little more info. I mentioned that on Centos when I disabled keepalives the response to the client would not close right away (as it would do properly on my Windows machine). I downgraded TC on my windows machine from 6.0.28 to 6.0.26 (same as I have on Centos) and I can now duplicate this issu

Re: Anyone using Tomcat 6 Comet with Apache mod_proxy?

2010-08-11 Thread Nabble User
FYI - I am using org.apache.coyote.http11.Http11NioProtocol as my connector protocol. My "long polling" requests are pretty quick (less than 2 seconds) so its not a long connection issue.

Anyone using Tomcat 6 Comet with Apache mod_proxy?

2010-08-10 Thread Nabble User
I have a CometProcessor servlet similar to the one in the sample here: http://tomcat.apache.org/tomcat-6.0-doc/aio.html#Example_code One difference is that we close the writer after sending the message in the MessageSender thread. It all works fine hitting Tomcat directly. However, I'd like to p