I have followed the tutorial at: http://www.reliablepenguin.com/legacy/projects/tomcat/ everything seemed to work alright although i cannot see my tomcat server. when i browse to //mycomputername:8080 i get an Unable to connect error. Is there somthing in the setup that i am missing. when i look at /
logs/catalina.out i do see one problem which is:
Aug 1, 2006 10:24: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/java/j2sdk1.4.2_12/jre/lib/i386/client:/usr/java/j2sdk1.4.2_12/jre/lib/i386
But i do not think that this would cause a unable to connect error. any help would be great, thank you.
Here is the output for a few commands that i have tried:
[root@localhost]# /etc/tomcat5/bin/startup.sh
Using CATALINA_BASE: /etc/tomcat5/
Using CATALINA_HOME: /etc/tomcat5/
Using CATALINA_TMPDIR: /etc/tomcat5//temp
Using JRE_HOME: /usr/java/j2sdk1.4.2_12
[root@localhost]# netstat -an | grep 8080
tcp 0 0 :::8080 :::* LISTEN
[root@localhost]# cat /etc/tomcat5/logs/catalina.out
Created MBeanServer with ID: e94e92:10ccac36df9:-8000:
neuron.orst.edu:1
Aug 1, 2006 10:24: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/java/j2sdk1.4.2_12/jre/lib/i386/client:/usr/java/j2sdk1.4.2_12/jre/lib/i386
Aug 1, 2006 10:24:06 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 1, 2006 10:24:06 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4221 ms
Aug 1, 2006 10:24:06 AM org.apache.catalina.users.MemoryUserDatabase save
WARNING: User database is not persistable - no write permissions on directory
Aug 1, 2006 10:24:06 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 1, 2006 10:24:06 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Aug 1, 2006 10:24:06 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 1, 2006 10:24:07 AM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /etc/tomcat5/work/Catalina/localhost/manager is unusable.
Aug 1, 2006 10:24:07 AM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /etc/tomcat5/work/Catalina/localhost/host-manager is unusable.
Aug 1, 2006 10:24:08 AM org.apache.catalina.core.ApplicationContext
log
INFO: ContextListener: contextInitialized()
Aug 1, 2006 10:24:08 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Aug 1, 2006 10:24:08 AM org.apache.jasper.EmbeddedServletOptions
<init>
SEVERE: The scratchDir you specified: /etc/tomcat5/work/Catalina/localhost/servlets-examples is unusable.
Aug 1, 2006 10:24:08 AM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /etc/tomcat5/work/Catalina/localhost/webdav is unusable.
Aug 1, 2006 10:24:08 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule
: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
Aug 1, 2006 10:24:08 AM
org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /etc/tomcat5/work/Catalina/localhost/balancer is unusable.
Aug 1, 2006 10:24:08 AM org.apache.jasper.EmbeddedServletOptions
<init>
SEVERE: The scratchDir you specified: /etc/tomcat5/work/Catalina/localhost/tomcat-docs is unusable.
Aug 1, 2006 10:24:09 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Aug 1, 2006 10:24:09 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Aug 1, 2006 10:24:09 AM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /etc/tomcat5/work/Catalina/localhost/jsp-examples is unusable.
Aug 1, 2006 10:24:09 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 1, 2006 10:24:09 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 1, 2006 10:24:09 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/48 config=null
Aug 1, 2006 10:24:09 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml
at classpath resource
Aug 1, 2006 10:24:10 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3562 ms
Created MBeanServer with ID: 1f436f5:10ccac53480:-8000:
neuron.orst.edu:1
Aug 1, 2006 10:25:58 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent