[CentOS] Tomcat 6 and Java 1.6

Tue Aug 25 14:17:31 UTC 2009
brad <brad at bradandkim.net>

On Tue, 2009-08-25 at 21:47 +0800, CentOS List wrote:
> >>>> I did a yum -y install tomcat5 and tomcat got installed with openjdk.
> But
> >>>> somehow if I goto http://localhost:8080 I am unable to get to the
> tomcat
> >>>> 
> >>>> default site.
> >>>>
> >>>> Any insight?
> >>>> 
> >>> Does netstat show anything listening on 8080?  Do you have a firewall
> that
> >>> 
> >>> hasn't been adjusted to allow access to port 8080?
> > 
> >> Thanks for the reply. Netstat does not show port 8080. Iptables is not
> >> running.
> >> 
> <snip>
>  
> 
> > Netstat is calling port 8080 webcache, so tomcat is listening.  Have you
> > checked your firewall?
> 
> I do not have a firewall.. Iptables is off
> 

Is SELinux running?  Have you checked /var/log/messages
or /var/log/audit/audit.log if you have it?  Is there anything in your
tomcat logs?  Do you get an error when you try to pull up the website? 

Brad