Tomcat Solr times out
Posted
by
user568458
on Server Fault
See other posts from Server Fault
or by user568458
Published on 2012-04-07T17:37:18Z
Indexed on
2012/04/09
17:36 UTC
Read the original article
Hit count: 298
(Plesk 10.4 centos 5.8 linux apache2 server, with Tomcat5 on port 8080 and Apache Solr)
I get "The connection has timed out" on requesting domain.com:8080 or www.domain.com:8080 or ip.ad.dr.ess:8080
Every reason I can find why this might be seems not to be the case:
- Plesk thinks Tomcat is running fine and lists it as an active service.
- The firewall currently has an accept all rule on port 8080.
- There's nothing relevant in the catalina tomcat logs (/var/log/tomcat5) - just some stuff from last time tomcat was started. There's no record at all of the requests that fail.
netstat -lnp | grep 8080
gives the following, which I beleive means Tomcat is listening to requests to port 8080 on all ip addresses from any ip and any port (please correct me if I'm wrong):
:
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4018/java
This covers every cause of this time out that I can find - so I must be missing something fundamental.
It seems Tomcat is running, listening to the right port, is getting an appropriate IP address, is not obstructed by a firewall and is not failing after receiving a request in a way which would be recorded in the logs (so I believe it can't be out of memory, or anything like that).
I'm all out of ideas on how to continue debugging this. I must have overlooked something obvious. Can anyone help?
© Server Fault or respective owner