Does the app work fine if not on mod_jk? Any errors in the server.log
or mod_jk.log?
I'd suggest try upgrading to v3.1 if possible -
http://download.oracle.com/docs/cd/E18930_01/html/821-2416/gfaad.html
BTW, the users_at_glassfish.java.net alias is the correct forum for these
questions.
On 10/17/11 9:30 AM, Armien Arend wrote:
>
> Hi Amy
>
> Thanks for your reply, but my problem is that it works fine for quite
> a while, and then 1 day it stops working correctly. The servlet
> executes, but the variables are not available to the servlet. The
> specific variable is a cookie variable. After the restart of glassfish
> on the server where the servlet runs fixes the problem for a while again.
>
> Thanks
>
> Armien
>
> *From:*Amy Roh [mailto:amy.roh_at_oracle.com]
> *Sent:* 17 October 2011 06:22 PM
> *To:* wiki_at_glassfish.java.net
> *Cc:* Armien Arend
> *Subject:* Re: enableJK stops working until glassfish restart
>
> Armien,
>
> Restarting GlassFish is required after setting the jvm option in order
> for mod_jk to work in v2.
>
> hth,
> Amy
>
> On 10/17/11 12:41 AM, Armien Arend wrote:
>
> Hello
>
> We run IIS and use mod_jk to redirect calls to glassfish v2. This
> works quite well most of the time, but have found at times that even
> though glassfish is running, the querystring/form/cookie variables are
> not passed into the servlet. Once glassfish is restarted all works
> well again. Another thing, the redirect is to another server running
> glassfish with the following jvm option:
>
> -Dcom.sun.enterprise.web.connector.enableJK=8009
>
> I tried a few searches but did not find the specific problem that we
> have. Is there anyone that could help me with my problem?
>
> Thanks
>
> *Armien*
>
> Tel: (+27)(21) 680 6813
>
>