users@grizzly.java.net

Re: removeCometHandler Error

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 27 May 2009 11:12:34 -0400

Salut,

Umar Farman wrote:
> Salut Jeanfrancois,
>
> Also, would like to clear my head about you saying that GF v2ur2 ships
> with default grizlly. Does this default girizzly package also include
> grizzly Comet APIs?
>

Yes, but Grizzly 2.1 Comet implementation has been improved.

> I am confised about this one because, if I don't inlcude any external
> grizzly jar, I get compilation errors regarding Comet API (cannot find
> library).

Strange as Grizzly Comet Framework has been supported since GlassFish 1.0

>
> Incase, GF v2ur2 does come with grixxly Comet API, then I should not be
> getting the errors, though I have configured the domain.xml with:
>
> <property name="cometSupport" value="true"/>

You are not getting compilation error, but runtime. I do think the
grizzly-1.0.129 is used for compilation, but never picked up by
glassfish. You can compile agains ur2 by adding the
glassfish.home/lib/appserv-rt.jar and remove 1.0.29. You will see
compilation error in that case.

On test you can do is to install GF 2.1 outside NB and deploy your
application. It should work.

Thanks

-- Jeanfrancois


>
> Thanks and regards,
> Umar Farman
> Software Engineer
> PakVista Technologies Co. (Pvt) Ltd.
> Office No.18, 3rd Floor, Select Center,
> F-11 Markaz - Islamabad.
> Office: +92 51 831 4504-5
> Cell : +92 3333 525 4003
> URL: www.pakvistatech.com <http://www.pakvistatech.com>
> <http://www.pakvistatech.com/>