users@grizzly.java.net

Re: CometEngine in 1.0.20 dropping packets

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 06 May 2009 14:28:42 -0400

Salut,

I'm still unable to deploy the application properly. Can you send me a
war file that works for you?

Thanks

-- Jeanfrancois

Jeffrey Kesselman wrote:
>> Salut,
>>
>> Jeffrey Kesselman wrote:
>> > Here is the version of my code I'm working with right now. I've
>> > included a readme with reproduction instructions.
>> >
>> > I really hope its something dumb I'm doing...
>>
>> I've updated to 1.0.27 and I'm not able to reproduce the issue, e.g. I
>> don't see any exception in the log. Can you try with 1.0.27 and let me
>> know if you see the issue? I do see:
>
> I dont exception either, thats what i meant about it being 'silent" I
> just never get the second packet.
>
> Take a look at the README where I have before and after logs as an example.
>
>>
>> > 8080-2;|Check to send <<< |#]
>> >
>> >
>> [#|2009-05-05T13:46:37.019-0400|INFO|sun-appserver9.1|com.rebelmonkey.monkeywrench.mweb.CometClientHandler|_ThreadID=19;_ThreadName=CometSelector;|++interrupt|#]
>> >
>> >
>> [#|2009-05-05T13:46:37.139-0400|INFO|sun-appserver9.1|com.rebelmonkey.monkeywrench.mweb.CometClientHandler|_ThreadID=17;_ThreadName=httpWorkerThread-8080-0;|++initialize|#]
>> >
>> >
>> [#|2009-05-05T13:46:37.139-0400|INFO|sun-appserver9.1|com.rebelmonkey.monkeywrench.mweb.CometClientHandler|_ThreadID=17;_ThreadName=httpWorkerThread-8080-0;|Check
>> to send >>> |#]
>> >
>> >
>> [#|2009-05-05T13:46:37.139-0400|INFO|sun-appserver9.1|com.rebelmonkey.monkeywrench.mweb.CometClientHandler|_ThreadID=17;_ThreadName=httpWorkerThread-8080-0;|Check
>> to send <<< |#]
>> >
>> >
>> [#|2009-05-05T13:47:07.139-0400|INFO|sun-appserver9.1|com.rebelmonkey.monkeywrench.mweb.CometClientHandler|_ThreadID=19;_ThreadName=CometSelector;|++interrupt|#]
>> >
>> >
>> [#|2009-05-05T13:47:07.277-0400|INFO|sun-appserver9.1|com.rebelmonkey.monkeywrench.mweb.CometClientHandler|_ThreadID=17;_ThreadName=httpWorkerThread-8080-0;|++initialize|#]
>> >
>> >
>> [#|2009-05-05T13:47:07.277-0400|INFO|sun-appserver9.1|com.rebelmonkey.monkeywrench.mweb.CometClientHandler|_ThreadID=17;_ThreadName=httpWorkerThread-8080-0;|Check
>> to send >>> |#]
>> >
>> >
>> [#|2009-05-05T13:47:07.277-0400|INFO|sun-appserver9.1|com.rebelmonkey.monkeywrench.mweb.CometClientHandler|_ThreadID=17;_ThreadName=httpWorkerThread-8080-0;|Check
>> to send <<< |#]
>>
>> But I'm getting a JS script error when I add a name
>>
>> > sendMessage is not defined
>> >
>> http://192.168.0.101:8080/MWEB/chattest.jsp/event/2y7%2FjoMJjaFCCu0nQItmrQ%3D%3D
>> > Line 2
>>
>
> Thats very odd. I clearly see a sendMessage function in my copy of the
> javascript,. Can you email me what yours looks like?
>
> JK