Hi,
> Email Address: foo_at_bar.com
> URL:
> Comments:
>
> hi, jfarcand
>
> When I making a comet project according to your comet example, and I am using the long-streaming style. but I come to encounter a strange problem!!! that is : the glassfish alway throw the following exception at irregular intervals : can you give me some suggestion as I am novice to glassfish and comet.
>
>
> SEVERE: doSelect exception
> java.nio.channels.CancelledKeyException
> at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
> at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:64)
> at com.sun.grizzly.TCPSelectorHandler.onReadInterest(TCPSelectorHandler.java:668)
> at com.sun.grizzly.Controller.doSelect(Controller.java:422)
> at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
> at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1136)
> at com.sun.grizzly.Controller.start(Controller.java:943)
> at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1178)
> at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1045)
> at com.sun.grizzly.http.SelectorThread.startEndpoint(SelectorThread.java:1110)
> at com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.start(GrizzlyServiceListener.java:91)
> at com.sun.enterprise.v3.services.impl.GrizzlyProxy$1.run(GrizzlyProxy.java:222)
>
It this really an issue?do you mean your application no longer works
after that exception?
Thanks
-- Jeanfrancois