users@glassfish.java.net

Re: Any JK (Apache connector) users?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 02 Nov 2005 22:28:37 -0500

Hi Miguel,

Miguel A Paraz wrote:
> 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

Wrong line ;-) Can you add the proper line :-)

>
> 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?

Nope. This code hasn't changed recently, so it is in b24. Which version
of Tomcat jar are you using? Make sure tomcat-ajp.jar is used if you are
copying the file from Tomcat 5.5.12. Or make sure the jar you drop under
s1as_home/lib contains the Jk connector.

Thanks

-- Jeanfrancois



>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>