Skip to main content

Porting and Compiling your GlassFish v2 Comet application To v3

Posted by jfarcand on July 1, 2008 at 2:18 PM PDT

This blog has moved here

Related Topics >>

Comments

Salut, it will not works. Which features are you looking at in v3 that isn't in v2? Follow up the discussion on users@grizzly.dev.java.net (faster response). Thanks!

ohh man, does anyone know how I can get the latest and greatest Grizzly working with GF V2ur2?

Salut,

you get that exception because you are compiling using Grizzly 1.8.0 but deploy in GlassFish v2, which use Grizzly 1.0.20. To deploy in v2, use the com.sun.enterprise.web... and compile agains Grizzly 1.0.20 or appserv-rt.jar.

Thanks

hello, I have grizzly-compat-1.8.0.jar as well as grizzly-comet-webserver-1.8.0.jar in my libraries, in my enterprise application. I am using the following includes: import com.sun.grizzly.comet.CometContext; import com.sun.grizzly.comet.CometEngine; import com.sun.grizzly.comet.CometEvent; import com.sun.grizzly.comet.CometHandler; it does compile and deploy, but I get: java.lang.IllegalStateException: Grizzly Comet hasn't been registered