users@grizzly.java.net

Re: (Cometd issue with encoded json)Re: [Jean-Francois Arcand's Blog] New Comment Posted to 'Updating Grizzly version in GlassFish v3'

From: neekfenwick <nabble_at_neek.tcp.co.uk>
Date: Tue, 19 May 2009 09:35:25 -0700 (PDT)

Jeanfrancois Arcand-2 wrote:
>
> Can you try a more recent version of GlassFish? We have changed that
> issue. Unfortunately, you cannot update grizzly in v3 prelude....You can
> also test it directly using Grizzly Cometd web server:
>

I downloaded glassfishv3prelude again today and installed from scratch, only
to find it also sends comment-enclosed json, so apparently the glassfish
distro hasn't been changed since I first installed a few months ago.

I am a little confused by you saying you cannot update grizzly in v3
prelude, when that seems to be the entire point of your blog post
http://weblogs.java.net/blog/jfarcand/archive/2008/11/updating_grizzl.html.


Jeanfrancois Arcand-2 wrote:
>
> http://download.java.net/maven/2/com/sun/grizzly/grizzly-cometd-webserver/1.9.15a/grizzly-cometd-webserver-1.9.15a.jar
>
> and test using:
>
> java -jar grizzly-cometd-webserver.jar -p 8080 -a your_war_file
>

I've done this (you've forced me to finally implement proper war packaging
in my build.xml :)) and run it. I find the json comes back not comment
escaped, so the grizzly you linked to performs as I expect. The dojo comet
impl then seems to get in a fairly tight loop in the browser, sending a
/meta/connect ever 20 ms, but I guess that's my fault somewhere and I'll
chase it tomorrow.

How can I get that version of grizzly in my glassfishv3prelude, please? Do
I just have to wait for someone else to package glassfish, and when might
that happen? My app in development is now at the point where I pretty much
need cometd working to progress.

If I can run my jsp's in this grizzly-cometd-webserver then perhaps I can
get away with that, for now. Is that possible?
-- 
View this message in context: http://www.nabble.com/%28Cometd-issue-with-encoded-json%29Re%3A--Jean-Francois-Arcand%27s-Blog--New-Comment-Posted-to-%27Updating-Grizzly-version-in-GlassFish-v3%27-tp23618372p23619951.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.