COMET End event subtype= null

2014-08-01 Thread Elias Kopsiaftis
I am developing a COMET application that is primarily based on the example
given on the documentation of the chat server. My problem is that when two
users connect, the connection held open by the comet servlet is closed. I
know this because I am getting END events in my log.
The confusing part is, it will randomly fail, and when it does, subtype is
null. When I  say randomly fail, I mean get the END event when you are not
supposed to. Does subtype being null point to anything? This is so
frustrating because it fails randomly. I am on Tomcat7 on linux. I can
provide more info if its needed


Re: COMET End event subtype= null

2014-08-01 Thread Elias Kopsiaftis
ok looks like i have the configuration of
org.apache.catalina.valves.CometConnectionManagerValve
wrong. sorry about that. Still have the random disconnect error though


On Fri, Aug 1, 2014 at 10:46 AM, Elias Kopsiaftis yemi...@gmail.com wrote:

 I am developing a COMET application that is primarily based on the example
 given on the documentation of the chat server. My problem is that when two
 users connect, the connection held open by the comet servlet is closed. I
 know this because I am getting END events in my log.
 The confusing part is, it will randomly fail, and when it does, subtype is
 null. When I  say randomly fail, I mean get the END event when you are not
 supposed to. Does subtype being null point to anything? This is so
 frustrating because it fails randomly. I am on Tomcat7 on linux. I can
 provide more info if its needed



Re: COMET End event subtype= null

2014-08-01 Thread Elias Kopsiaftis
ok now it is properly configured(I was missing the slash at the end of the
tag), but Im still getting null for event subtypes. Any thoughts?


On Fri, Aug 1, 2014 at 11:18 AM, Elias Kopsiaftis yemi...@gmail.com wrote:

 ok looks like i have the configuration of 
 org.apache.catalina.valves.CometConnectionManagerValve
 wrong. sorry about that. Still have the random disconnect error though


 On Fri, Aug 1, 2014 at 10:46 AM, Elias Kopsiaftis yemi...@gmail.com
 wrote:

 I am developing a COMET application that is primarily based on the
 example given on the documentation of the chat server. My problem is that
 when two users connect, the connection held open by the comet servlet is
 closed. I know this because I am getting END events in my log.
 The confusing part is, it will randomly fail, and when it does, subtype
 is null. When I  say randomly fail, I mean get the END event when you are
 not supposed to. Does subtype being null point to anything? This is so
 frustrating because it fails randomly. I am on Tomcat7 on linux. I can
 provide more info if its needed