users@glassfish.java.net

Re: Can AJP13 connector in Glassfish support comet servlet?

From: Chris Fleischmann <Chris.Fleischmann_at_Sun.COM>
Date: Wed, 21 May 2008 16:37:45 +1000

Have you added

|<property name="cometSupport" value="true"/>

to your http-listener, see: http://weblogs.java.net/blog/jfarcand/archive/2006/10/writting_a_come.html for more information


|


glassfish_at_javadesktop.org wrote:
> I configured my glassfish with Apache httpd following the instruction by Jean-Francois Arcand's Blog http://weblogs.java.net/blog/jfarcand/archive/2006/03/running_glassfi_1.html, and after that I can access my servlet through Apache, but comet servlet can not work, it throw exception :
> java.lang.IllegalStateException: Grizzly Comet hasn't been registered
> at com.sun.enterprise.web.connector.grizzly.comet.CometContext.addCometHandler(CometContext.java:220)
> at com.sun.enterprise.web.connector.grizzly.comet.CometContext.addCometHandler(CometContext.java:266)
> at comet.CometServlet.doPost(CometServlet.java:104)
> at comet.CometServlet.doGet(CometServlet.java:60)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
> ......
> I enabled the AJP connector by setting the jvm option -Dcom.sun.enterprise.web.connector.enableJK=8009, but nowhere to add Comet support to AJP connector.
> Does anyone know where to configure the comet support for AJP connector? Because my web application will use JK for load balancing.
> [Message sent by forum member 'herculesx' (herculesx)]
>
> http://forums.java.net/jive/thread.jspa?messageID=275634
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>