users@glassfish.java.net

Re: need help with GlassFish install front-ended by Apache2 ...

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Mon, 13 Feb 2012 10:52:42 +0100

On 02/12/2012 02:52 AM, forums_at_java.net wrote:
> QUESTION: Notice the variable I created at install: gf_listener, which
> you
> can see in the server log above. I notice in all online examples
> people use
> jk-connector, but the 3.1.1 Administrator Guide mod_jk section seems to
> indicate this can be something other than jk-connector. Am I doing
> something
> wrong (did I screw up the asadmin commands use of gf_listener and
> jk-connector; what should it look like)?
Can you pls. attach GF domain.xml file you use? (you can find it in
gfv3/glassfish/domains/domain1/config/domain.xml)


> QUESTION: Also the asadmin commands I used above come from the
> administrator
> document PDF example section for mod_jk, but I see online people
> consistently
> use something different (which is correct? or are both correct?):
>
>
> (from 3.1.1 Administrative Guide):
>
> asadmin> set
> server-config.network-config.network-listeners.network-listener.jk-connector.jk-configuration-file=/home/glassfish/glassfish3/glassfish/domains/domain1/config/glassfish-jk.properties
>
>
> (from many examples online):
>
> asadmin> set
> configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled=true
>
These are independent commands.
Please take a look at the step 4) in the Amy's blog to see how you can
create jk enabled listener.
http://weblogs.java.net/blog/amyroh/archive/2009/06/running_glassfi.html

Thanks.

WBR,
Alexey.