[CentOS] Tomcat 6 and Java 1.6

Tue Aug 25 13:34:57 UTC 2009
CentOS List <centoslist at gmail.com>

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

Proto Recv-Q Send-Q Local Address               Foreign Address
State
tcp        0      0 *:mysql                     *:*
LISTEN
tcp        0      0 localhost.localdomain:8005  *:*
LISTEN
tcp        0      0 *:8009                      *:*
LISTEN
tcp        0      0 *:webcache                  *:*
LISTEN
tcp        0      0 *:http                      *:*
LISTEN
tcp        0      0 *:ssh                       *:*
LISTEN 

But tracking the log /var/log/tomcat5/catalina.out  I have it running

Aug 26, 2009 5:33:05 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client:/usr/lib/jvm/jav
a-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0
/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Aug 26, 2009 5:33:05 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 26, 2009 5:33:05 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 780 ms
Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 26, 2009 5:33:05 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 26, 2009 5:33:06 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 26, 2009 5:33:06 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/28  config=null
Aug 26, 2009 5:33:06 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 26, 2009 5:33:06 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 435 ms