LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2010, 04:04 AM   #1
LinpusKelvin
Member
 
Registered: May 2010
Posts: 39

Rep: Reputation: 15
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.
 
Old 05-11-2010, 04:20 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Is it a typo or you are actually browsing http://local? And if you are then you should change it to http://localhost
 
Old 05-11-2010, 04:39 AM   #3
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
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
 
Old 05-11-2010, 07:13 PM   #4
LinpusKelvin
Member
 
Registered: May 2010
Posts: 39

Original Poster
Rep: Reputation: 15
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.
 
Old 05-12-2010, 01:50 AM   #5
hashim.km
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Rep: Reputation: 0
try to post log file which will shows the entire log of tomcat. log file will be located in /var/log/tomcat/
 
Old 05-12-2010, 02:10 AM   #6
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
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
 
Old 05-12-2010, 02:25 AM   #7
LinpusKelvin
Member
 
Registered: May 2010
Posts: 39

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Apache and Tomcat leupi Linux - Server 1 03-30-2008 01:40 PM
Installing Apache Tomcat Server on RED HAT Linux 9 shelldinesh Linux - Software 0 10-06-2004 06:55 AM
Installing Tomcat, Cocoon with Apache RKris Linux - Software 0 12-12-2003 01:59 PM
Trouble installing jk2 connector for apache tomcat kahalabob Linux - Networking 0 10-26-2003 11:22 PM
tomcat apache problem..please help Sridhar Guntur Linux - Software 3 10-08-2002 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration