users@grizzly.java.net

Re: about grizzly with tomcat

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Mon, 9 May 2011 15:31:26 +0200

Hi,

unfortunately it won't work on Tomcat, cause it relies on Grizzly
continuation mechanism.
If you need webcontainer - you can try the sample with Glassfish 3.1.

Thanks.

WBR,
Alexey.

On May 8, 2011, at 10:46 , ³Â¾ü wrote:

> hi.
> I tried grizzly-comet-chat1.9.10 samples, and I couldn't get it work.
> I am using eclipse 3.4¡¢tomcat6 ¡¢grizzly v1.90 and jdk1.7
>
> 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 as the
> Servlet.service() Thread.
>
> How can I enable with tomcat?
> or it Does not support Tomcat?
>
>