users@glassfish.java.net

Re: Any JK (Apache connector) users?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 02 Nov 2005 10:53:29 -0500

Hi Miguel,

Miguel A Paraz wrote:
> Hi,
> I found this:
> http://weblogs.java.net/blog/amyroh/archive/2005/06/do_you_want_a_w.html
> and then to this:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5059905
>
> And followed the instructions. When running glassfish, I see that
> -Dcom.sun.enterprise.web.connector.enableJK=8009 is set.

I've just did

(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

and then saw:

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

Thanks

-- Jeanfrancois


>
> I opened the source code and saw PEWebContainer.java which says that
> if the property is set, then this should appear in the log:
> Apache mod_jk/jk2 attached to virtual-server
>
> Nothing like that. And port 8009 is not listened to.
>
> Has anyone else tried this?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>