atom feed24 messages in net.java.dev.glassfish.usersProblems with listeners, hosts and mu...
FromSent OnAttachments
glas...@javadesktop.orgJun 30, 2008 12:02 pm 
Wolfram RittmeyerJun 30, 2008 1:54 pm 
glas...@javadesktop.orgJun 30, 2008 2:24 pm 
glas...@javadesktop.orgJul 1, 2008 12:38 am 
glas...@javadesktop.orgJul 1, 2008 1:51 am 
Wolfram RittmeyerJul 2, 2008 2:37 pm 
glas...@javadesktop.orgJul 4, 2008 3:27 am 
Wolfram RittmeyerJul 4, 2008 2:41 pm 
glas...@javadesktop.orgJul 4, 2008 3:06 pm 
glas...@javadesktop.orgJul 7, 2008 1:29 am 
Scott OaksJul 7, 2008 6:58 am 
glas...@javadesktop.orgJul 7, 2008 10:00 am 
glas...@javadesktop.orgJul 7, 2008 1:48 pm 
glas...@javadesktop.orgJul 8, 2008 2:13 am 
glas...@javadesktop.orgJul 8, 2008 2:28 am 
glas...@javadesktop.orgJul 8, 2008 3:53 am 
Jan....@Sun.COMJul 8, 2008 6:42 pm 
glas...@javadesktop.orgJul 9, 2008 12:54 am 
glas...@javadesktop.orgJul 10, 2008 3:48 am 
glas...@javadesktop.orgJul 12, 2008 5:35 am 
glas...@javadesktop.orgJul 13, 2008 11:22 am 
glas...@javadesktop.orgJul 14, 2008 8:12 am 
Wolfram RittmeyerJul 14, 2008 12:22 pm 
Wolfram RittmeyerJul 14, 2008 12:33 pm 
Subject:Problems with listeners, hosts and multihoming
From:glas...@javadesktop.org (glas@javadesktop.org)
Date:Jun 30, 2008 12:02:20 pm
List:net.java.dev.glassfish.users

Hello

I want GF to serve different applications if requested from different hosts. So
I've added three IP addresses to my eth0, I've declared them in an external DNS
with different names: lvov1.ips, lvov2.ips and lvov3.ips. Machine name is
localhost.localdomain and no host aliases are included in /etc/hosts file.

Then I've created three servers in GF with hosts value: lvov1.ips, lvov2.ips and
lvov3.ips. I've changed the host value of server 'server' to [b]localhost,
localhost.localdomain[/b]. All four servers connected to the default non-SSL
listener.

Then I've deployed three simple jsf applications in each one of the servers,
each one in context /A1, /A2 and /A3. No default server module has been
selected.

When I try to go to http://lvov.ips:8173 or http://lvov.ips:8173/A1, I get the
usual fault page as if that url is not present, and the same happens with
lvov2.ips and lvov3.ips; and with applications A2 and A3.

I am wondering if the hosts value in each server is intended to route requests
based on the host header value. Is there any other configuration value missing?

I've also tried to create three listeners to the same port for each IP alias,
but in that case GF doesn't start due to port conflict. But each listener was
defined for each IP.

Thanks, [Message sent by forum member 'aperezymadrid' (aperezymadrid)]

http://forums.java.net/jive/thread.jspa?messageID=283437