ok this is about installing tomcat6
It did work when I installed it first time (and then only). Since then I could not access localhost:8080 at all. Let me run through what I have done:
Linux bt 3.2.6 #1 SMP Fri Feb 17 10:34:20 EST 2012 x86_64 GNU/Linux
Installed tomcat6 with this command:
Installation was ok.
apt-get install tomcat6 tomcat6-admin tomcat6-examples tomcat6-docs
Then I started the service:
Look at netstat output:
root@bt:~# /etc/init.d/tomcat6 start
* Starting Tomcat servlet engine tomcat6 [ OK ]
nmap output of 127.0.0.1
root@bt:~# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::8080 :::* LISTEN 6420/java
Now trying to access http://localhost:8080/ and it is timing out.
root@bt:~# nmap -sS 127.0.0.1
Starting Nmap 6.01 ( http://nmap.org ) at 2012-10-17 15:48 NZDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000050s latency).
Not shown: 993 closed ports
PORT STATE SERVICE
80/tcp open http
139/tcp open netbios-ssn
443/tcp open https
445/tcp open microsoft-ds
902/tcp open iss-realsecure
3001/tcp open nessus
8080/tcp open http-proxy
Nmap done: 1 IP address (1 host up) scanned in 0.29 seconds
Funny is that it worked once when I first installed tomcat6 for the very first time I could see "It Works" page with all the infos in it.
Since then I cannot access it anymore.
I have removed the tomcat6 and re-installed but I just cannot aeccess http://localhost:8080/
I have checked my proxy setting and it's set to ignore hosts
I really do not what else I can possibly do.
Please someone help.
I am a bit desperate at the moment: a bit more info:
root@bt:~# service tomcat6 status
* Tomcat servlet engine is running with pid 1928
root@bt:~# netstat -nlp | grep 8080
tcp6 0 0 :::8080 :::* LISTEN 1928/java
root@bt:~# ps -ef | grep tomcat
tomcat6 1928 1 0 16:12 ? 00:00:03 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.awt.headless=true -Xmx128M -XX:+UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath /usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tmp org.apache.catalina.startup.Bootstrap start
root 6793 5661 0 16:57 pts/2 00:00:00 grep --color=auto tomcat