GlassFish v3 Extreme Makeover using GrizzlyAdapter part 1: Hello World
Posted by jfarcand on March 9, 2009 at 7:01 PM EDT
This blog has moved here
Related Topics >>
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 2407 reads






Comments
by jfarcand - 2009-03-10 16:17
@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!by alexismp - 2009-03-10 16:11
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?by jfarcand - 2009-03-10 10:00
Salut, please replay to this thread: http://is.gd/mI71 (the answer is there) or post your questions on users@grizzly.dev.java.net. Thanks!!by kongkaiping - 2009-03-10 04:57
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 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) Could you give some suggestion , if I have using the comet in wrong way or other problem? Thanks.