users@glassfish.java.net

Comet issue when running with Glassfish Predule v3 + dojo

From: <glassfish_at_javadesktop.org>
Date: Sat, 17 Jan 2009 06:09:52 PST

Hi,

I'm trying to develop a small webapp using dojox.cometd and glassfish prelude v3. I can't even get dojox.cometd.init(contextPath) to work. In firebug, I see this response coming from the comet servlet:

/*[{"channel":"/meta/handshake","version":"1.0","supportedConnectionTypes":["long-polling","callback-polling"],"minimumVersion":"0.9","id":"4","clientId":"15067c2c8353e18c","successful":true,"advice":{"reconnect":"retry","interval":0,"multiple-clients":false},"authSuccessful":true}]*/

I would think that /* and */ are extra and that's why dojo cometd fails to parse the response.

Is this suppose to work or not?

Thanks
Lionel
[Message sent by forum member 'yopyop6' (yopyop6)]

http://forums.java.net/jive/thread.jspa?messageID=326627