Hi,
I tried the chat application using glassfish v3 ea b39 (this is Grizzly
1.9.8?). I tried with 2 browsers, 1 on Firefox and the other on
Safari. I have the similar issue. Type the message in Firefox, the
Firefox doesn't show anything but the Safari shows the message.
Thanks,
Doris
Jeanfrancois Arcand wrote:
> Salut,
>
> can you update to the latest 1.9.8. The exception you attached has
> been fixed in that version. Let me know how it goes after.
>
> Thanks!
>
> --Jeanfrancois
>
> Jens Heyer wrote:
>>> Salut,
>>
>>>
>>
>>> Jens.Heyer_at_hsbctrinkaus.de wrote:
>>
>>> > Hello everybody,
>>
>>> >
>>
>>> > I tried the sample "grizzly-comet-chat-1.9.9-20090307.220712-19.war",
>>
>>> > "grizzly-comet-chat-iframe-1.9.9-20090307.220712-19.war" and
>>
>>> > "grizzly-comet-counter-1.9.9-20090307.220712-19.war" from the maven
>>
>>> > repository
>> (http://download.java.net/maven/2/com/sun/grizzly/samples/) and
>>
>>> > got an unexpected behaviour by using miscellaneous browsers.
>>
>>> >
>>
>>> > This is what I have done in case of sample
>>
>>> > "grizzly-comet-chat-1.9.9-20090307.220712-19.war":
>>
>>> >
>>
>>> > 1. java -jar grizzly-comet-webserver-1.9.9-20090307.220712-42.jar
>>> -p 8080
>>
>>> > -a grizzly-comet-chat-1.9.9-20090307.220712-19.war
>>
>>> > com.sun.grizzly.samples.comet.AjaxCometServlet
>>
>>> > 2. Start a Firefox 3.0.6 (hereinafter called 'A'), open
>>
>>> > "http://localhost:8080/", enter a Name
>>
>>> > 3. Start a Firefox 3.0.6 (hereinafter called 'B'), open
>>
>>> > "http://localhost:8080/", enter a Name
>>
>>>
>>
>>> Are the 2 browsers running from the same instance of Firefox? If yes,
>>
>>> the two connections max limit to a host will prevent the application
>>
>>> from working.
>>
>>
>>
>> Hmm, I don’t really know what you mean by opening two different
>> instances, but I what I did is just double clicking the Firefox
>> Desktop Icon two times. I think this should create two separate
>> instances right?
>>
>>
>>
>>>
>>
>>>
>>
>>> > 4. Enter a Text in 'B' and press the "Post Message" button (this
>>> notifies
>>
>>> > the chat clients 'A' and 'B' as expected)
>>
>>> > 5. Start a Internet Explorer 7.0.5730.13 (hereinafter called 'C'),
>>> open
>>
>>> > "http://localhost:8080/", enter a Name
>>
>>> > 6. Enter a Text in 'A' and press the "Post Message" button (this
>>> notifies
>>
>>> > the chat clients 'A', 'B' and 'C' as expected)
>>
>>> > 7. Enter a Text in 'C' and press the "Post Message" button (>>
>>> nothing
>>
>>> > happens? <<)
>>
>>>
>>
>>> hum...looks like we have a bug. Can you file an issue here:
>>
>>>
>>
>>> https://grizzly.dev.java.net/issues/
>>
>>>
>>
>>> Do you know if 1.9.6 suffer the same issue?
>>
>>
>>
>> I tried to start the 1.9.6 Version but in that case I got an
>> exception after entering a name and logging in (take a look at the
>> attachment for further details).
>>
>>
>>
>>>
>>
>>> Thanks!
>>
>>>
>>
>>> --Jeanfrancois
>>
>>>
>>
>>>
>>
>>> >
>>
>>> > Aside from that, after waiting some minutes both Firefox instances
>>> stop
>>
>>> > listening to the chat although they are still able to send messages?
>>
>>> >
>>
>>> >
>>
>>> > Another demonstration by using the
>>
>>> > "grizzly-comet-chat-iframe-1.9.9-20090307.220712-19.war":
>>
>>> >
>>
>>> > 1. java -jar grizzly-comet-webserver-1.9.9-20090307.220712-42.jar
>>> -p 8080
>>
>>> > -a grizzly-comet-chat-iframe-1.9.9-20090307.220712.19.war
>>
>>> > com.sun.grizzly.sample.comet.iframechat.CometServlet
>>
>>> > 2. Start a Firefox 3.0.6 (hereinafter called 'A'), open
>>
>>> > "http://localhost:8080/", enter a Name
>>
>>> > 3. Start a Firefox 3.0.6 (hereinafter called 'B'), open
>>
>>> > "http://localhost:8080/", enter a Name (>> after the logging in the
>> name I
>>
>>> > entered is not displayed in the top? <<)
>>
>>> > 4. Enter Text in 'A' and press enter (>> only 'A' gets a message, not
>> 'B'?
>>
>>> > <<)
>>
>>> > 5. Enter Text in 'B' and press enter (>> only 'A' gets a message, not
>> 'B'?
>>
>>> > <<)
>>
>>> > 6. Start a Internet Explorer 7.0.5730.13 (herinafter called 'C'),
>>> open
>>
>>> > "http://localhost:8080/", enter a Name (>> after the logging in the
>> name I
>>
>>> > entered is not displayed in the top like in case of 'B'? <<)
>>
>>> > 7. Enter Text in 'C' and press enter (>> only 'A' gets a message,
>>> not 'B'
>>
>>> > or 'C'? <<)
>>
>>> > 8. Close 'A' (>> both the chat and the name gets visible in 'B'
>>> somehow?
>>
>> >> <<)
>>
>> >>
>>
>> >> Best regards
>>
>> >>
>>
>> >> Jens
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>