Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Tomcat 5.23 help - http://hostname:8080 is an empty page. (http://www.linux-archive.org/centos/341883-tomcat-5-23-help-http-hostname-8080-empty-page.html)

testwreq wreq 03-15-2010 02:30 PM

Tomcat 5.23 help - http://hostname:8080 is an empty page.
 
I installed tomcat 5.23 from the yum install of centos5.3 and have started tomcat on port 8080 . The http://hostname:8080 shows a blank page. In a standard Tomcat distribution, the default application is located in the ROOT directory /var/lib/tomcat5/webapps: From centos installation, this directory is empty. Please help us to bring up the apache-tomcat installation page.

*
tomcat5.conf has the following settings
CATALINA_HOME="/usr/share/tomcat5"
JASPER_HOME="/usr/share/tomcat5"
CATALINA_TMPDIR="/usr/share/tomcat5/temp"

JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed"
*
I see the following*in /usr/share/tomcat5 after installtion. Why is webapps folder empty?
drwxr-xr-x 2 tomcat root 4096 Mar 10 09:27 bin
lrwxrwxrwx 1 tomcat root** 23 Mar 10 09:27 common -> /var/lib/tomcat5/common

lrwxrwxrwx 1 tomcat root** 12 Mar 10 09:27 conf -> /etc/tomcat5
lrwxrwxrwx 1 tomcat root** 16 Mar 10 09:27 logs -> /var/log/tomcat5
lrwxrwxrwx 1 tomcat root** 23 Mar 10 09:27 server -> /var/lib/tomcat5/server

lrwxrwxrwx 1 tomcat root** 23 Mar 10 09:27 shared -> /var/lib/tomcat5/shared
lrwxrwxrwx 1 tomcat root** 23 Mar 10 09:27 temp -> /var/cache/tomcat5/temp
lrwxrwxrwx 1 tomcat root** 24 Mar 10 09:27 webapps -> /var/lib/tomcat5/webapps

lrwxrwxrwx 1 tomcat root** 23 Mar 10 09:27 work -> /var/cache/tomcat5/work

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Les Mikesell 03-15-2010 02:52 PM

Tomcat 5.23 help - http://hostname:8080 is an empty page.
 
On 3/15/2010 10:30 AM, testwreq wreq wrote:
> I installed tomcat 5.23 from the yum install of centos5.3 and have
> started tomcat on port 8080 . The http://hostname:8080 shows a blank
> page. In a standard Tomcat distribution, the default application is
> located in the ROOT directory /var/lib/tomcat5/webapps: From centos
> installation, this directory is empty. Please help us to bring up the
> apache-tomcat installation page.
> tomcat5.conf has the following settings
> CATALINA_HOME="/usr/share/tomcat5"
> JASPER_HOME="/usr/share/tomcat5"
> CATALINA_TMPDIR="/usr/share/tomcat5/temp"
> JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed"
> I see the following in /usr/share/tomcat5 after installtion. Why is
> webapps folder empty?


Do a 'yum search tomcat5' to see the available packages and install any
that are missing. tomcat5-webapps and tomcat5-admin-webapps are
separate packages.

--
Les Mikesell
lesmikesell@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Les Mikesell 03-15-2010 03:30 PM

Tomcat 5.23 help - http://hostname:8080 is an empty page.
 
On 3/15/2010 11:10 AM, testwreq wreq wrote:
> Thanks. That was it. I can now see the welcome page.
> I have to move one application to this installation. Application
> consists of some jsp pages and servlets. Is there a place that documents
> the steps to setup an application?

Usually you build a .war file containing the application, drop it in the
webapps directory, and access it at http://yourhost:8080/yourapp where
yourapp is the name of the war file (yourapp.war). If you want it to
appear as the default page for a site, you have to replace the ROOT.war
file and the deployed webapps/ROOT/ directory.

--
Les Mikesell
lesmikesell@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 06:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.