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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
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: 4,290
|
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,696
|
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
All times are GMT -5. The time now is 06:57 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
|
|