Hello I'm trying to use grizzly comet in a simple example. I have download
the example from lasterra Blog (the author is Enrique Rodriguez Lasterra)
but I get a exception java.lang.IllegalStateException: Grizzly Comet
hasn't been registered when on the doPost the line
int handlerId = context.addCometHandler(handler);
is executed.
I have followed all the indications given in Jean-Francois Arcand's Blog
and I haven't found any discordance with the code example. I have also
writen the following lines in domain.xml
<http-listener acceptor-threads="1" address="0.0.0.0"
blocking-enabled="false" default-virtual-server="server"
enabled="true" family="inet" id="http-listener-1" port="8080"
security-enabled="false" server-name="" xpowered-by="true">
<property name="cometSupport" value="true"/>
</http-listener>
but I always get the same exception. I'm using glassfish v2. Has someone
any idea of which could be the error? I send the war file.
Thanks, greetings
Juan Moratilla Peón