[CentOS] Tomcat 6 and Java 1.6

Tue Aug 25 18:00:43 UTC 2009
Les Mikesell <lesmikesell at gmail.com>

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.
> 
> Yes those are installed. I will need to have the administration site 
> To manage. But it wont show up. Just a blank page

Have you installed anything else that might conflict or replace 
components?  Does 'java -version' show
java version "1.6.0"?
The default page should be what is at
/var/lib/tomcat5/webapps/ROOT/index.jsp.  Does that look normal?  Do you 
get something at http://localhost:8080/admin or 
http://localhost:8080/manager/html?

-- 
   Les Mikesell
    lesmikesell at gmail.com