LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   tomcat5 is installed but doesn't work on Ubuntu 6.06 (https://www.linuxquestions.org/questions/linux-software-2/tomcat5-is-installed-but-doesnt-work-on-ubuntu-6-06-a-496268/)

mohtasham1983 10-27-2006 11:41 PM

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?

btmiller 10-27-2006 11:45 PM

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.

mohtasham1983 10-27-2006 11:58 PM

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.

mohtasham1983 10-29-2006 11:07 PM

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?

Mara 10-30-2006 02:53 PM

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 12:17 AM.