From user-return-10861-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Thu Jul 10 14:33:50 2008 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 68136 invoked from network); 10 Jul 2008 14:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2008 14:33:50 -0000 Received: (qmail 5016 invoked by uid 500); 10 Jul 2008 14:33:48 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 4592 invoked by uid 500); 10 Jul 2008 14:33:46 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 4581 invoked by uid 99); 10 Jul 2008 14:33:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 07:33:46 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of josephcleong@gmail.com designates 209.85.162.177 as permitted sender) Received: from [209.85.162.177] (HELO el-out-1112.google.com) (209.85.162.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 14:32:51 +0000 Received: by el-out-1112.google.com with SMTP id v27so577768ele.13 for ; Thu, 10 Jul 2008 07:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=8e75B+c0rcbXoBDiegI7z47Kfi17RcxPx4I3hAyZL1M=; b=qnOmBLxZvT4brqRmHFGoSqiplxx7oXeI935eDE8Mgraf1qyOHwnIFA+9q5GLTArR9N 6g503kEVFDG3H9tORY5OFVe0rBncyOAfcqAiOUehLETvOxAFXBZTu5/v95Dp26oOLjtH hIKJ3VFPE+gBFIEVYikRkSnepZilKRAPhvwlI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=l/s11K3cV4g+mqPDjFMZM/D3PioRMphKIEo8nhwMRYWR6n+3lt15SEtgyvc/oJQkn+ 3wmR8l87zeQefqtnlUOzTa8HcquSu0iHgfKbd2g6hxC+4j62QmgjSgVSjRwtstMAvZ4u J04GVu7TIGwgmkhYftfdCcR6ZVEdi1kH9biQk= Received: by 10.151.112.4 with SMTP id p4mr14544805ybm.167.1215700393583; Thu, 10 Jul 2008 07:33:13 -0700 (PDT) Received: by 10.151.143.7 with HTTP; Thu, 10 Jul 2008 07:33:13 -0700 (PDT) Message-ID: Date: Thu, 10 Jul 2008 10:33:13 -0400 From: "Joseph Leong" To: user@geronimo.apache.org Subject: Re: Multi-homed geronimo woes In-Reply-To: <48750BD6.7000203@berghold.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17549_2923770.1215700393541" References: <48750BD6.7000203@berghold.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17549_2923770.1215700393541 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Pete, If you ping whine now, does it resolve to localhost? If it does, then the DNS record is fine and something might be wrong with the geronimo config. I'm not totally sure as well, but if your DNS is being governed on etc/hosts/ after a restart of the service - I believe your (local) dns entries should be in effect immediately? Hopefully this will help rule out whether its DNS or geronimo. Hope this helps, Joseph Leong On Wed, Jul 9, 2008 at 3:04 PM, Peter L. Berghold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi folks, > > I have a server with 4 IP addresses associated with it and I'm trying to > get Geronimo to listen to three of the four IP addresses. > > Here is an excerpt from my configuration file: (names have been changed > to protect the innocent) > > > name="geronimo/tomcat/1.1/car?ServiceModule=geronimo/tomcat/1.1/car,j2eeType=Host,name=TomcatVirtualHost_1"> > name="className">org.apache.catalina.core.StandardHost > name=www.mumble.net > appBase= > workDir=work > > > name="geronimo/tomcat/1.1/car?ServiceModule=geronimo/tomcat/1.1/car,j2eeType=Host,name=TomcatVirtualHost_3"> > name="className">org.apache.catalina.core.StandardHost > name=www.grumble.org > appBase= > workDir=work > > > name="geronimo/tomcat/1.1/car?ServiceModule=geronimo/tomcat/1.1/car,j2eeType=Host,name=TomcatVirtualHost_2"> > name="className">org.apache.catalina.core.StandardHost > name=www.whine.org > appBase= > workDir=work > > > > In my /etc/hosts file I have: > > 127.0.0.1 localhost www.mumble.net > 127.0.0.1 localhost www.whine.org > 127.0.0.1 localhost www.grumble.org > > The websites I have associated with mumble and grumble work just fine > but whine does not. > > If I do a telnet to port 80 to the IP addresses associated with mumble > and grumble I get a response. When I telnet to port 80 for whine's > address I get no response. > > Now.. I may be about to answer my own question here, but I just moved > whine's DNS records today. Might this be a case where DNS has not > caught up with reality and geronimo is just confused? > > > > > - -- > > Peter L. Berghold http://www.berghold.net peter@berghold.net > Unix Professional Dog Agility Fan Crazed Cook > "Those who fail to learn from history are condemned to repeat it." > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIdQvWUM9/01RIhaARArB4AKCZ6oGMpoUWT9YxIostOI2n7asKEgCfZYiL > 1IK6XwBOb+iy0AIM9K/4XbI= > =0Gi+ > -----END PGP SIGNATURE----- > ------=_Part_17549_2923770.1215700393541 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Pete,

If you ping whine now, does it resolve to localhost? If it does, then the DNS record is fine and something might be wrong with the geronimo config. 

I'm not totally sure as well, but if your DNS is being governed on etc/hosts/ after a restart of the service - I believe your (local) dns entries should be in effect immediately?

Hopefully this will help rule out whether its DNS or geronimo.

Hope this helps,
Joseph Leong

On Wed, Jul 9, 2008 at 3:04 PM, Peter L. Berghold <peter@berghold.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I have a server with 4 IP addresses associated with it and I'm trying to
get Geronimo to listen to three of the four IP addresses.

Here is an excerpt from my configuration file: (names have been changed
to protect the innocent)

<gbean gbeanInfo="org.apache.geronimo.tomcat.HostGBean"
name="geronimo/tomcat/1.1/car?ServiceModule=geronimo/tomcat/1.1/car,j2eeType=Host,name=TomcatVirtualHost_1">
<attribute
name="className">org.apache.catalina.core.StandardHost</attribute>
<attribute name="initParams">name=www.mumble.net
      appBase=
      workDir=work</attribute>
</gbean>
<gbean gbeanInfo="org.apache.geronimo.tomcat.HostGBean"
name="geronimo/tomcat/1.1/car?ServiceModule=geronimo/tomcat/1.1/car,j2eeType=Host,name=TomcatVirtualHost_3">
<attribute
name="className">org.apache.catalina.core.StandardHost</attribute>
<attribute name="initParams">name=www.grumble.org
      appBase=
      workDir=work</attribute>
</gbean>
<gbean gbeanInfo="org.apache.geronimo.tomcat.HostGBean"
name="geronimo/tomcat/1.1/car?ServiceModule=geronimo/tomcat/1.1/car,j2eeType=Host,name=TomcatVirtualHost_2">
<attribute
name="className">org.apache.catalina.core.StandardHost</attribute>
<attribute name="initParams">name=www.whine.org
      appBase=
      workDir=work</attribute>
</gbean>


In my /etc/hosts file I have:

127.0.0.1 localhost www.mumble.net
127.0.0.1 localhost www.whine.org
127.0.0.1 localhost www.grumble.org

The websites I have associated with mumble and grumble work just fine
but whine does not.

If I do a telnet to port 80 to the IP addresses associated with mumble
and grumble I get a response.  When I telnet to port 80 for whine's
address I get no response.

Now.. I may be about to answer my own question here, but I just moved
whine's DNS records today.  Might this be a case where DNS has not
caught up with reality and geronimo is just confused?




- --

Peter L. Berghold     http://www.berghold.net   peter@berghold.net
Unix Professional     Dog Agility Fan   Crazed Cook
"Those who fail to learn from history are condemned to repeat it."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdQvWUM9/01RIhaARArB4AKCZ6oGMpoUWT9YxIostOI2n7asKEgCfZYiL
1IK6XwBOb+iy0AIM9K/4XbI=
=0Gi+
-----END PGP SIGNATURE-----

------=_Part_17549_2923770.1215700393541--