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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-27-2006, 11:41 PM
|
#1
|
|
Member
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408
Rep:
|
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?
|
|
|
|
10-27-2006, 11:45 PM
|
#2
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,824
Rep: 
|
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.
|
|
|
|
10-27-2006, 11:58 PM
|
#3
|
|
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:
|
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.
|
|
|
|
10-29-2006, 11:07 PM
|
#4
|
|
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:
|
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?
|
|
|
|
10-30-2006, 02:53 PM
|
#5
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,479
Rep: 
|
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:20 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|