Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Tomcat listening on port but not responding to requests

Timothy Collett

2006-11-30

Replies:

On Nov 30, 2006, at 1:56 PM, Joel Klein wrote:
>> 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.

Is there a curses-based browser on the machines you could use via
ssh? I always try to make sure I have lynx available on every
machine I configure...

> 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?

Hmm...should it be "GET / HTTP/1.1"? Oh, well, I'm not that great on
raw http...

Can you try doing the same thing from the machines themselves--ssh
in, then telnet localhost 8080?

The only other thing I can think of to check offhand is the firewall...

Timothy Collett

--

For every complex problem there is an answer that is clear, simple,
and wrong.
-- H L Mencken


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.