Hello,
It turned out that the leave issue was not an issue since it is perfectly
normal that you don't see yourself leave from a chat room, only other users
logged on to that chat room see the leave message. The index.html issue has
been resolved with issue number 168:
https://grizzly.dev.java.net/issues/show_bug.cgi?id=168
Thanks Jeanfrancois for that
- Bjarki B
-----Original Message-----
From: Jeanfrancois.Arcand_at_Sun.COM [mailto:Jeanfrancois.Arcand_at_Sun.COM]
Sent: 23. júní 2008 15:38
To: users_at_grizzly.dev.java.net
Subject: Re: Getting cometd Bayeux sample to work
Salut,
Bjarki Bjorgulfsson wrote:
> Hello all,
>
>
>
> Sorry for the double post, I first subscribed to Nabble and sent those
> emails to the list but I didn’t see my emails appear on the list. Then I
> logged in with my java.dev account at
> https://grizzly.dev.java.net/servlets/ProjectMailingListList and
> subscribed from there and re-sent the emails thus the double post..
>
>
>
> Anyway I got this sample working, it works if I open
> http://localhost:8080/index.html but not if I open
> http://localhost:8080/ even though the form appears. There is one
> inconsistency from the jetty comet example, there is no message when I
> hit the leave button but otherwise it works the same.
Hum...you have find a bug :-) Can you file an issue here:
https://grizzly.dev.java.net/issues/
Also does it work with Jetty when you do
http://localhost:8080/ ? If
yes, can you file a second issue?
Many thanks!
-- Jeanfrancois
>
>
>
> - Bjarki B
>
>
>
> ------------------------------------------------------------------------
>
> *From:* Bjarki Bjorgulfsson [mailto:bb72_at_kent.ac.uk]
> *Sent:* 22. júní 2008 18:01
> *To:* users_at_grizzly.dev.java.net
> *Subject:* Getting cometd Bayeux sample to work
>
>
>
> I’m having trouble getting the
>
http://download.java.net/maven/2/com/sun/grizzly/samples/grizzly-cometd-chat
/
> to work. I have tried on 2 different Windows machine but nothing happens
> at all in either case. Here is what I did:
>
>
>
> 1. Downloaded the chat example war from the above url,
> grizzly-cometd-chat-1.8.0-rc1.war
> 2. Downloaded
>
http://download.java.net/maven/2/com/sun/grizzly/grizzly-cometd-webserver/1.
8.0/grizzly-cometd-webserver-1.8.0.jar
>
> 3. Ran java -jar grizzly-cometd-webserver-1.8.0.jar -p 8080 -a
> grizzly-cometd-chat-1.8.0-rc1.war
> 4. Opened http://localhost:8080/
>
>
>
> Both machines are have jdk1.6.0_06 and jre1.6.0_06 with Windows XP
> professional SP2. Is there anything special I’m doing wrong? I tried IE
> 7.0, Firefox 3.0, Safari and Opera. I get the Cometd Chat form in all
> cases and I’m able to enter my username and some text but nothing is
> displayed in the chat div. Is there a tutorial on how to debug the
> cometd Bayeux grizzly server?
>
>
>
> - Bjarki B
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: users-help_at_grizzly.dev.java.net