LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem faces when installing Apache Tomcat 5.5.29 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-faces-when-installing-apache-tomcat-5-5-29-a-807128/)

LinpusKelvin 05-11-2010 04:04 AM

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.

linuxlover.chaitanya 05-11-2010 04:20 AM

Is it a typo or you are actually browsing http://local? And if you are then you should change it to http://localhost

alli_yas 05-11-2010 04:39 AM

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

LinpusKelvin 05-11-2010 07:13 PM

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.

hashim.km 05-12-2010 01:50 AM

try to post log file which will shows the entire log of tomcat. log file will be located in /var/log/tomcat/

alli_yas 05-12-2010 02:10 AM

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

LinpusKelvin 05-12-2010 02:25 AM

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.