users@grizzly.java.net

Re: comet support and mod_jk

From: Survivant 00 <survivant00_at_gmail.com>
Date: Thu, 14 Aug 2008 17:51:31 -0400

I don't know if that can help you.. but I'm using mod_rewrite instead of
mod_jk.


here a sample of my httpd.conf


LoadModule proxy_html_module modules/mod_proxy_html.so
Include conf/proxy_html.conf

ProxyPreserveHost on
RewriteEngine on

RewriteRule ^/hudson$ /hudson/ [R,L]
RewriteRule ^/hudson/(.*) http://localhost:8765/hudson/$1 [P,L]

2008/8/14 Cam Bazz <cambazz_at_gmail.com>

> hello,
>
> I have mod_jk proxying requests to port 8009 of my localhost.
>
> ajp is enabled by
> <jvm-options>-Dcom.sun.enterprise.web.connector.enableJK=8009</jvm-options>
>
> unfortunately I am getting exception:
>
> b-4548-8a23-39e117280167;|StandardWrapperValve[tServlet]: PWC1406:
> Servlet.service() for servlet tServlet threw exception
> java.lang.IllegalStateException: Comet support is not enabled. Make sure
> you added the cometSupport=true property in domain.xml
>
>
> comet support is enabled, as it was in my test server...
>
> could this be an issue with JK?
>
> Best,
> -C.B.
>