users@glassfish.java.net

Can AJP13 connector in Glassfish support comet servlet?

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 May 2008 22:09:10 PDT

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