Skip to main content

GlassFish v3 Extreme Makeover using GrizzlyAdapter part 1: Hello World

Posted by jfarcand on March 9, 2009 at 4:01 PM PDT

This blog has moved here

Related Topics >>


@alexis, monitoring, callflow, etc. will also works, and deploying more than one GrizzlyAdapter as well (you can do that as well in Grizzly). Extension like Jersey will be much more easier to integrate as well :-) Better, you will be able to run directly on top of nucleus, e.g no web container required (ServletContainer). Thanks!

If anyone is following along and running the code, the classes required for the adapter are in grizzly-utils.jar (in the modules/ directory of the latest GlassFish v3 build). Now, other than being able to "asadmin list-applications", what are the other benefits for running inside GlassFish?

Salut, please replay to this thread: (the answer is there) or post your questions on Thanks!!

hi jfarcand I have give you a word in your last article about a confused exception when I developing comet app in glassfish. I am not sure what is the wrong. the exception is: SEVERE: doSelect exception java.nio.channels.CancelledKeyException at at at com.sun.grizzly.TCPSelectorHandler.onReadInterest( at com.sun.grizzly.Controller.doSelect( at at com.sun.grizzly.Controller.startSelectorHandlerRunner( at com.sun.grizzly.Controller.start( at com.sun.grizzly.http.SelectorThread.startListener( at at com.sun.grizzly.http.SelectorThread.startEndpoint( at at$ Could you give some suggestion , if I have using the comet in wrong way or other problem? Thanks.