users@glassfish.java.net

Re: Error in Listener Config

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Tue, 17 Feb 2009 13:40:35 -0800

You'd only need to do one of the following to enable mod_jk -

asadmin set
server.http-service.http-listener.jk-connector.property.jkEnabled=true

or you can use the following deprecated command, provided for backward
compatibility:

asadmin create-jvm-options -Dcom.sun.enterprise.web.connector.enableJK=8009

Are you seeing any errors in server.log or mod_jk.log?

Thanks,
Amy

glassfish_at_javadesktop.org wrote:
> Hi,
>
> I'm faced to the same problem here. I'm trying to make mod_jk work with my glassfish-v3-b37-02_16_2009, and the jk port does not work.
> About my domain.xml, I've added:
>
> <http-listener xpowered-by="false" port="8019" id="jk-connector" address="0.0.0.0" default-virtual-server="server" server-name="">
> <property name="jkEnabled" value="true"/>
> </http-listener>
>
> What's the correct configuration ?
>
> I've also tried to put the -Dcom.sun.enterprise.web.connector.enableJK=8019 in the JVM options, as I did for the glassfishv2, but with no luck too.
>
> Thanks,
> Cédric.
> [Message sent by forum member 'cedricbr' (cedricbr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=332264
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>