users@grizzly.java.net

Re: java.lang.IllegalStateException: Make sure you have enabled Comet or make sure the Thread invoking that method is the same a the request Thread.

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 26 Aug 2009 11:02:53 -0400

Salut,

yaaqov wrote:
> hi.
> I tried all grizzly samples, and I couldn't get them work.
> I am using eclipse 3.4 and glassfish v3 and grizzly v1.99
>
> I am getting this message all the time:
> java.lang.IllegalStateException: Make sure you have enabled Comet or make
> sure the Thread invoking that method is the same a the request Thread.
>
> I have enabled comet in the domain.xml file.
>
> I tried different versions of grizzly and of the samples. without any
> success.

See:

    http://wiki.glassfish.java.net/Wiki.jsp?page=GrizzlyConfigOnePager

The notation has changed:

> v3.grizzly.enableCometSupport Map to: network-config>network-listeners>network-listener#enable-comet-support enable Comet support for all http-listener, including the Admin-gui.

A+

-- Jeanfrancois

>
> can anyone help? :-((
>
>
> thanks