Steve and Charles asked a number of diagnostic questions, here are my answers:
Charles wrote:
>Is there a stdout.log (or any other log files) in your environment?
>Might want to check those as well. Anything on the console window for
>the Tomcat process?
Steve wrote:
>Check all logs, are there even incoming requests?
By default I believe catalina.out on Unix corresponds to the
stdout.log and stderr.log files Tomcat uses in Windows. I also set
verbosity="4" for the the Logger elements in server.xml in hopes of
seeing more detail but didn't notice anything extra.
I just had what I think is the default logging configuration, where
only catalina.out and localhost_log.* appeared, and I'd already
looked through them. I enabled the AccessLogValue so I'd see requests
logged, and the localhost_access_log file is empty
(zero bytes).
>Can you get a thread dump and see where they're stuck?
That would be nice, something like pstack on Linux would be great, but
I don't know what tools are available for Mac to do this.
Charles wrote:
> Have you restarted the two servers? Has this occurred more than once?
I've stopped and started Tomcat many times, trying various config
tweaks (e.g. running on a different port). I had one of the servers
rebooted yesterday, didn't seem to help.
Charles wrote:
> Is everything else on the two affected boxes working?
Steve wrote:
> Seems like a network issue.
> 1. Try visiting the tomcat page from the server itself
At the moment I only have remote ssh access. I did try running a
couple simple Java web gets, and they too seem to hang.
Steve wrote:
> 2. Try pinging the server from another machine
/sbin/ping of the servers works OK. They're reachable on the network.
I'm able to ssh to them.
Steve wrote:
> 3. Try connecting to port 80 (or whatever port tomcat is listening on) with telnet from another machine and issuing a GET / request manually
Great idea! On one of the servers, this is what I see:
% telnet <hostname> <port>
Trying <ip>...
Connected to <hostname>.
Escape character is '^]'.
GET /
It hangs on the GET /. On the other server, it only gets as far as
the "Trying <ip>...", it never gets to the "Connected to". If one of
my nonresponsive servers actually "connected" what does that tell me?
--
Joel [Online at http://jfkbits.blogspot.com]
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)