File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Help with Tomcat Install -- Startup OK but MGR page not loading
Joined: Mar 05, 2010
Mar 05, 2010 12:12:24
I have installed
at least a half dozen times on various RHEL5 boxes.
In the past I have literally just copied the tar.gz into /usr/share (where we keep all our instances, not /var/lib like i know many others do), unpacked it and then started it up (/bin/startup.sh).
It usually runs without a hitch, as-is and when i go to
):8080, I get the manager, and then can start dragging my applications into /webapps and be done with it.
Right now I have a very strange case on my hands. I did the above on a rhel5 server, and start it.
In terminal, it shows normal startup:
# ./startup.sh Using CATALINA_BASE: /usr/share/apache-tomcat-6.0.24 Using CATALINA_HOME: /usr/share/apache-tomcat-6.0.24 Using CATALINA_TMPDIR: /usr/share/apache-tomcat-6.0.24/temp Using JRE_HOME: /usr/java/jdk1.6.0_07/ Using CLASSPATH: /usr/share/apache-tomcat-6.0.24/bin/bootstrap.jar
and catalina.out shows
/usr/share/apache-tomcat-6.0.24/bin/catalina.sh: line 335: /usr/java/jdk1.6.0_07/bin/java/bin/java: Not a directory Mar 4, 2010 1:13:33 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_07/jre/lib/i386/server:/usr/java/jdk1.6.0_07/jre/lib/i386:/usr/java/jdk1.6.0_07/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib Mar 4, 2010 1:13:34 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Mar 4, 2010 1:13:34 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 707 ms Mar 4, 2010 1:13:34 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Mar 4, 2010 1:13:34 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.24 Mar 4, 2010 1:13:34 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml Mar 4, 2010 1:13:34 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml Mar 4, 2010 1:13:34 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT Mar 4, 2010 1:13:34 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs Mar 4, 2010 1:13:34 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory examples Mar 4, 2010 1:13:35 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Mar 4, 2010 1:13:35 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Mar 4, 2010 1:13:35 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/28 config=null Mar 4, 2010 1:13:35 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1036 ms
As you can see, no significant error (at least in my estimation) occurs. But when I go to 8080, it just sits loading until it times out.
Also, if i grep for it in the ps list I get
root 12971 1 99 14:30 pts/0 00:00:03 /usr/java/jdk1.6.0_07//bin/java -Djava.util.logging.config.file=/usr/share/apache-tomcat-6.0.24/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/apache-tomcat-6.0.24/endorsed -classpath /usr/share/apache-tomcat-6.0.24/bin/bootstrap.jar -Dcatalina.base=/usr/share/apache-tomcat-6.0.24 -Dcatalina.home=/usr/share/apache-tomcat-6.0.24 -Djava.io.tmpdir=/usr/share/apache-tomcat-6.0.24/temp org.apache.catalina.startup.Bootstrap start root 12987 12290 0 14:30 pts/0 00:00:00 grep java
So it IS running as far as all indications would say.
Can someone give me a some tips or hints on where to look next?
Joined: Mar 05, 2010
Mar 05, 2010 12:13:55
Also, when I do a
$ netstat -vatn
tcp 0 0 :::8080 :::* LISTEN
Does this mean the port is open or...?
so I did an nmap on localhost:
# nmap localhost Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2010-03-05 14:24 EST Interesting ports on localhost.localdomain (127.0.0.1): Not shown: 1671 closed ports PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 80/tcp open http 199/tcp open smux 443/tcp open https 783/tcp open spamassassin 3306/tcp open mysql 10000/tcp open snet-sensor-mgmt
doesnt look like a port conflict to me. I even changed the port from 8080 to 8090, then to 8008, and no difference.
Joined: Apr 06, 2010
Apr 06, 2010 06:39:26
i have the same problem buddy. How did you resolve this?
Joined: Mar 05, 2010
Apr 07, 2010 07:57:23
Actually, the server just needed a reboot.
I'm not sure why, I assume maybe it was that I had uninstalled an older tomcat install then installed the new one?
But that's all it took for me.
rocket mass heater
subject: Help with Tomcat Install -- Startup OK but MGR page not loading
Servlet compile problem
problem with tomcat Native library
AspectJ LTW using Spring
HTTP Status 404 problem
SSL on Tomcat -- No, not your typical question!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015