LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2006, 11:41 PM   #1
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Rep: Reputation: 30
tomcat5 is installed but doesn't work on Ubuntu 6.06


Hi,
I have installed tomcat5 on my ubuntu 6.06 machine using synaptic and installed SDK and JRE as well.
I can run tomcat by /etc/init/tomcat5 start

but when I check http://localhost it says that page cannot be displayed.
http://localsot:8080/ also doesn't show antrhing. I even change the port to 80 in server.xml file.

Does anyone know how it is possible to see the page confirming successful installation of tomcat?
 
Old 10-27-2006, 11:45 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Can you use netstat -tpan to check and see if anything is actually listening on port 80? How about ps to see if Tomcat is running. It's been years since i dealt with Tomcat, but I remember it being somewhat of a pain.
 
Old 10-27-2006, 11:58 PM   #3
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Original Poster
Rep: Reputation: 30
Here is useful information I receive b netstat -tpan

Quote:
root@mohi-desktop:/home/mohi# netstat -tpan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 5 075/kaffe-bin
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 4 902/mysqld
tcp 0 0 0.0.0.0:8180 0.0.0.0:* LISTEN 5 075/kaffe-bin
tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 5 075/kaffe-bin
tcp 0 0 0.0.0.0:1241 0.0.0.0:* LISTEN 5
I have changed tomcat port to 8888 to avoid conflict with apache despite apache is not working on my machine anymore.
 
Old 10-29-2006, 11:07 PM   #4
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Original Poster
Rep: Reputation: 30
I can see tomcat running on port 8180 which is a non-SSL Coyote HTTP/1.1 Connector. I even copied some java files and html files in /var/lib/tomcat5/webapps/ROOT.
html files work, but for java files, only codes are visible.

Any idea what's wrong here?
 
Old 10-30-2006, 02:53 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply

Tags
install, synaptic, tomcat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 06:11 PM
Cannot boot already installed ubuntu on newly installed win xp abhi_337 Ubuntu 1 07-13-2006 03:33 AM
XP doesn't recognize Ubuntu, Ubuntu installed first. MonkeyBusiness Linux - Newbie 9 06-21-2006 03:58 AM
Will Ubuntu Work work With my Wireless Card? PulsarSL Ubuntu 3 10-07-2005 10:33 PM
Installing Tomcat5 Randvegeta Linux - Software 1 05-07-2005 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 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