users@glassfish.java.net

Re: Apache, mod_jk and VirtuellServers

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 02 Oct 2006 12:43:33 -0400

Hi Johannes,

back from a client site so my answer should be faster :-)

Johannes Hammoud wrote:
> Hi Jeanfrancois,
>
>
> I read your block about configuring listeners and virtuell server before.
> Used it to build up my developing system (without Apache).
> Was very good and easy to understand, also for me as developer:)
>
>
> The second blog (Amy Roh) i sent the link to my hoster.
> The admin used it to create the connection to SJSAS.
> Works also perfect as described earlier.
>
>
> But this does not clear my problem.
> I miss a connection between an SJSAS-Service, which handels the incoming apache request, and the virtuell servers.
> So how could this be done in admin console.
>
>
> This is currently my "poor" view of the request flow:
> 1. Apache forwards request to the connector
> 2. Connetor sends request to an port (think its 8009)
> 3. Seems SJSAS listens automatically to 8009 (perhaps cause of the configurations the hoster admin has done in the properties)
>
>

The listener on port 8009 parse the requests and properly maps it to the
  targeted virtual-server.


> What i do not understand is:
> 1. In the admin console i can not see any listener on 8009 (only 4848,8080,8081)

Yes, this is a special listener. I'm trying to make Apache|mod_jk an
official feature so admin|admin-gui can implement the support for it.
Right now all happens via the property in domain.xml.

> 2. So how should i attach the listener to my virtuell servers (normally this is done by listener names)

You should create your extra virtual-server, restart the server, and the
mod_jk connector will automatically maps the Apache request to it. If
that doesn't work, just file an issue and we will take a look at it.

Thanks

-- Jeanfrancois


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