Hi all,

I've been trying to setup a FC5 box with tomcat5. I followed a couple of tutorials around, and made it quite effortlessly with YUM in my test environment.

When I tried to do the same in my production server, I can't seem to be able to make tomcat "listen" in the 8080 port. When connecting from the outside of the machine, I keep getting "Firefox no puede establecer una conexión con el servidor en X.Y.Z.T:8080." (Something like: Firefox couldn't stablish a connection with the server XYZT:8080). IE also fails, so I'm afraid it's a server-side issue (that's why I'm posting here).

After a port-scan in both machines, I can see that "test" is listening on port 8080, but "prod" is not, but I don't know if it's a matter of firewalls (SELinux disabled) or misconfiguration on my tomcat5 install.

If I connect locally with telnet, have a look at what I get (the lines with >> are the ones that I wrote, the rest is server output)

# telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
>> get /
<html><head><title>Apache Tomcat/5.5.15 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 501 - Method get is not defined in RFC 2068 and is not supported by the Servlet API </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Method get is not defined in RFC 2068 and is not supported by the Servlet API </u></p><p><b>description</b> <u>The server does not support the functionality needed to fulfill this request (Method get is not defined in RFC 2068 and is not supported by the Servlet API ).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.15</h3></body></html>Connection closed by foreign host.

And back to prompt. I googled a bit and noticed that "get" is not a cool command, so I went for GET... And well, tomcat5 then doesn't give an error, but closes connections inmediately :)

# telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
>> GET /
Connection closed by foreign host.

So, _apparently_ tomcat is listening and doing something, but it dies in some ways I don't understand. Nothing is logged to "catalina.out", only when it starts/stops so I don't even know where to start to troubleshoot it :(

Any previous_experiences / suggestions / docs / helps ??

Thanks!!

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to