CentOS List wrote:
I did a yum -y install tomcat5 and tomcat got installed with openjdk.
But
somehow if I goto http://localhost:8080 I am unable to get to the tomcat default site.
Correction. I got to a blank page.
Do a 'yum search tomcat' and note that there are several packages. If you want the admin site and sample webapps you have to install the corresponding packages.
Results as follows:-
=============================== Matched: tomcat
tomcat5-admin-webapps.i386 : The administrative web applications for Jakarta : Tomcat tomcat5-webapps.i386 : Web applications for Jakarta Tomcat
Are these two installed? Or do you want them? If you are going to supply your own ROOT application you shouldn't need them, but if you want to see something by default or have web administration access you would.