> What about the Grizzly Continuation jar? Do you have that in your
> web-inf lib?
Yes, without it I see a lot of NPEs in GFv3 log.
> Does that even apply anymore (I don't see GrizzlyContinuation in
> your latest stuff)?
I just see from svn log, that this module was removed. Anyway don't
see the reason why you can't use it.
WBR,
Alexey.
> On Fri, Mar 12, 2010 at 3:33 PM, Oleksiy Stashok <Oleksiy.Stashok_at_sun.com
> > wrote:
>
>> Do you have the Grizzly continuation jar in your WEB-INF and comet
>> enabled?
> I've dowloaded the war file from the url you've provided. Comet is
> enabled in GFv3 by default.
>
>> If I do both of those I am seeing incorrect behavior in the clock
>> (not very responsive, shows new time every minute or so).
> Oh, I've it updated every 5-10 seconds, and thought it's expected :)
>
> I've enabled wireshark to check HTTP communication, and see, that
> Glassfish replies very fast to client connection with DWR responses,
> where I can see the time sent. But browser (firefox) doesn't update
> the time.
> For example I see 23:27:44 time being sent in DWR response and
> browser is still on 23:26:20...
>
> Also from time to time I see client makes longer pauses before
> sending HTTP POST to get the current time, but at the same time once
> request gets sent - GF responses immediately.
>
> Can we try some other sample?
>
> Thank you.
>
> WBR,
> Alexey.
>
>>
>> On Fri, Mar 12, 2010 at 12:54 PM, Oleksiy Stashok <Oleksiy.Stashok_at_sun.com
>> > wrote:
>> Hi David,
>>
>> do you see any specific problem, when running dwr sample on GFv3?
>> I've deployed it to GFv3 and the clock app works fine there.
>>
>> Thanks.
>>
>> WBR,
>> Alexey.
>>
>>
>>> Thanks for the quick response Justin. It is very likely that I am
>>> going down the wrong path so before you spend time looking at the
>>> code I have attached I want to give you some background. The
>>> Continuation class attached was originally designed for Jetty. A
>>> few years ago Jeanfrancois submitted a quick and dirty patch which
>>> also allowed it to work with Grizzly Continuations. The code has
>>> been virtually untouched since (I did some minor work recently).
>>> Currently I am trying to get things working in Glassfish 3 and I
>>> am testing with our sample app (dwr.war):
>>> http://ci.directwebremoting.org/bamboo/browse/DWR-TRUNK-72/artifact
>>>
>>> My testing has been limited to the clock example in the dwr.war.
>>> I test it by first ensuring comet is enabled in Glassfish:
>>> <http max-connections="250" default-virtual-server="server" comet-
>>> support-enabled="true">
>>> <file-cache enabled="false"></file-cache>
>>> </http>
>>>
>>> And then adding the Grizzly Continuation jar into my web-inf/lib (http://download.java.net/maven/2/com/sun/grizzly/grizzly-continuation/
>>> ). This leads me to my first question. Is this even valid
>>> anymore? I see you have made many changes since Jeanfrancois
>>> first submitted this patch and I don't see anything mentioning
>>> Continuations in your latest release. If I am as I suspect way
>>> off - pointing me in the right direction would be great.
>>>
>>> Also, I see that Glassfish 3 supports the servlet 3 spec. Has
>>> this replaced the Grizzly Continuation stuff?
>>>
>>> On 3/8/2010 7:30 AM, Justin Lee wrote:
>>>> Can you post the code (and issues you're having) to the list and
>>>> we'll take a look?
>>>>
>>>> On 3/7/10 12:31 PM, David Marginian wrote:
>>>>> Hi,
>>>>> I am the lead developer for DWR and I have been working on
>>>>> getting a 3.0 release out. Before I do I want to have our comet
>>>>> stuff working. I have already tackled Tomcat and Jetty but I
>>>>> haven't had much luck with Glassfish and Grizzly. We had some
>>>>> code in place for this (jeanfrancois helped out here) but it
>>>>> hasn't been looked at in a long time and I know things have
>>>>> changed a lot since. I was wondering if any of the experts
>>>>> here would take a look at our code and provide some
>>>>> recommendations for a way forward. Any help would be much
>>>>> appreciated if you have time, if not thanks for reading.
>>>>>
>>>>> Take care
>>>>> David Marginian
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>
>>>>
>>>> __________ Information from ESET NOD32 Antivirus, version of
>>>> virus signature database 4926 (20100308) __________
>>>>
>>>> The message was checked by ESET NOD32 Antivirus.
>>>>
>>>> http://www.eset.com
>>>>
>>>>
>>>>
>>>>
>>>
>>> <
>>> Continuation
>>> .java
>>> >
>>> <
>>> GrizzlyContainerAbstraction
>>> .java
>>> >
>>> <
>>> GrizzlyContinuationSleeper
>>> .java
>>> >
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>>
>
>