Help needed to install tomcat in linux

Hi …,

anybody please help me to install tomcat in red hat machine… since i m involved in developing web application i m need of tomcat urgently can anybody please extend your help…

if start the tomcat i m getting below lines displayed in my terminal

Using CATALINA_BASE: /opt/linux softwares/apache-tomcat
Using CATALINA_HOME: /opt/linux softwares/apache-tomcat
Using CATALINA_TMPDIR: /opt/linux softwares/apache-tomcat/temp
Using JRE_HOME: /usr

but if i type localhost:8080 in my browser i cant get the tomcat index page … plz help me

thanx

Try

#ps ax|grep tomcat

and check is tomcat running.

If you see only one line with something like


[root@ns34 bin]# ps ax|grep tomcat
17874 pts/0    S+     0:00 grep tomcat

then it isn’t started…

Check logs like hooknc suggested and open server.xml in config and check port settings.

Also, good idea is to check open ports with

nmap -sS -O 127.0.0.1

There you will see is there anything on port 8080…

try to find your catalina.err file and see what the problems are (if any) and then try and fix them.

I know that that isn’t much of an answer, but we didn’t get much to work with.