Problem faces when installing Apache Tomcat 5.5.29
Question:
Installed items apache-tomcat-5.5.29.tar.gz stored at /opt jre-1_5_0_22-linux-i586.rpm stored at /root jdk-6u20-linux-i586.rpm stored at /root I succesfully extract it and run it. This code is shown [root@localhost bin]# ./startup.sh Using CATALINA_BASE: /opt/apache-tomcat-5.5.29 Using CATALINA_HOME: /opt/apache-tomcat-5.5.29 Using CATALINA_TMPDIR: /opt/apache-tomcat-5.5.29/temp Using JRE_HOME: /usr/java/jre1.5.0_22/ Using CLASSPATH: /opt/apache-tomcat-5.5.29/bin/bootstrap.jar Problems: http://local/ cannot show the mainpage of apache Hope to hear from u soon, and I m newbie. Thanks in advance. |
Is it a typo or you are actually browsing http://local? And if you are then you should change it to http://localhost
|
Hi
You need to hit http://localhost:8080 - Tomcat listens on port 8080 by default and not 80. If that doesn't work, do something like netstat -ntpl which should show if the Tomcat instance is indeed listening on port 8080. Cheers, Yas |
Thanks for reply,
I tried all the recommended steps and yet it doesnt work. Do u think the package I installed are correct? The script generated by the netstat -ntpl not showing the used of port 8080 by tomcat Thanks and hope to hear from u soon. |
try to post log file which will shows the entire log of tomcat. log file will be located in /var/log/tomcat/
|
Hi
Could you perhaps post the output of the netstat -ntpl? Also, post the contents of: 1. $CATALINA_HOME/conf/server.xml 2. $CATALINA_HOME/conf/context.xml 3. The contents of $CATALINA_HOME/logs/catalina.out when you restart the app server. Cheers, Yas |
Thanks for the reply man. I appreciate it. The problem is because of the conflict of software with the HTTrack that I installed. So, I restart and do a httpd. Then, problem solved.
|
All times are GMT -5. The time now is 02:06 AM. |