users@glassfish.java.net

Re: Any JK (Apache connector) users?

From: Miguel A Paraz <mparaz_at_gmail.com>
Date: Thu, 3 Nov 2005 11:23:57 +0800

Hi Jeanfrancois,

On 11/2/05, Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com> wrote:
> (1) added, to domain.xml:
> <jvm-options>-Dcom.sun.enterprise.web.connector.enableJK=8009</jvm-options>
>
> (2) copied tomcat-ajp.jar from Tomcat 5.5.12 installation.
>
> (3) Started GlassFish

I did the same, and the property appeared in this line:
[#|2005-11-02T23:05:09.449+0800|INFO|sun-appserver-pe9.0|javax.enterprise.tools.launcher|_ThreadID=10;_ThreadName=main;|
/usr/java/jdk1.5.0_04/jre/../bin/java

But, I didn't get this:
[#|2005-11-02T10:50:30.862-0500|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Apache
> mod_jk/jk2 attached to virtual-server server listening on port: 8009|#]
>
[#|2005-11-02T10:50:41.881-0500|INFO|sun-appserver-pe9.0|org.apache.jk.common.ChannelSocket|_ThreadID=11;_ThreadName=Thread-3;|JK:
> ajp13 listening on /0.0.0.0:8009|#]
> [#|2005-11-02T10:50:41.940-0500|INFO|sun-appserver-pe9.0|org.apache.jk.server.JkMain|_ThreadID=11;_ThreadName=Thread-3;|Jk
> running ID=0 time=0/156 config=null|#]

> Are you seeing any exception in the log?

No exception. It's as if the -D was never seen.

This is glassfish-installer-9.0-b24.jar by the way - do I need to
build from source?