Actually, all machines have 127.0.0.1 with the name of "localhost"
unless they are alternately configured. So if you have a network card
or PPP connection they will have an IP address and you will still have
"localhost". So you can actually configure Tomcat to only listen on
localhost if you chose to.
But back to your problem, have you made any changes at all to any
configuration files? And are you sure that you aren't seeing any errors
in the log file? The line would start with "SEVERE" and might not be
conspicuous if you are looking for a huge explosion. Also, telnet to
localhost 8079 and make sure that you get "connection refused" (I just
want to validate the issue) and make sure that telneting to 8080 just
hangs (no "connection refused"). That is what I understand the
situation as at least, just wanted to make sure.
If none of this gets you anywhere you can always debug the tomcat
process and suspend all threads and take a snapshot while your request
is timing out. Another sanity check on this is to try to connect to
losthost:8080 both when tomcat is running and not. If you don't get
connection refused when tomcat is down then I would venture to tell you
to look at your OS. But if you get connection refused while tomcat is
down and a no response when it's up, then a snapshot of all of the
threads ("where all" if you are using sun's jdb) has to tell you
something about what it's doing.
If this doesn't help send me your log file (pls zip it if it's big) and
any config files you have changed and I'll try to help ya.
Daniel
-----Original Message-----
From: Scott D. Anderson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 3:52 PM
To: Tomcat Users List
Subject: Re: Fresh install of 5.0.25 running but not responding
"Tomcat Users List" <[EMAIL PROTECTED]> writes:
>I just looked at your link. Since your tutorial says to set the domain
>name I imagine that that's just what you did. If you did so, you wont
>be able to get to it with the address "localhost". I'm not sure, but
>I'm thinking that you can omit the name attribute of the <Host> tag and
>Tomcat will listen on *all* IP addresses the machine has. I know that
>it's the default for sure.
Thanks for your lightning-fast response. I searched
the tutorial for "domain" and I see that it doesn't mention
setting the domain name until step 4.2 (Server XML). I'm
getting stuck at the end of step 3.4 (Tomcat Standalone).
Sorry I wasn't more clear about where I was getting stuck.
So, I don't think the hostname is the problem, unless the
directions are seriously out of order, which doesn't seem
likely.
Oh, and this machine only has one IP address.
Any other ideas?
Scott
--
Scott D. Anderson
Computer Science Department
Wellesley College
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]