tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsons Technical Services" <parsonstechni...@earthlink.net>
Subject Re: set default web application
Date Wed, 12 Jan 2005 04:51:02 GMT
Turn up debugging and check your logs. It should report on startup what is 
processed. Look for errors.

Move the ROOT folder out of the webapps folder.

After step 3 would step 1 still work?

Doug

----- Original Message ----- 
From: "xhu1" <xhu1@yahoo.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, January 11, 2005 8:42 PM
Subject: set default web application


> Hi,
> I just downloaded Tomcat5.5 and Struts1.2.4. I would
> like to make struts-mailreader app to be the default
> application in Tomcat. However I could not make it.
>
> What I did (I didn't touch any configuration yet):
> 1. copy struts-mailreader.war and put in webapps
> directory. it got deployed and I can go to
> http://localhost:8080/struts-mailreader
> 2. I add context.xml under
> webapps/struts-mailreader/META-INFO with the following
> line:
> <Context path=""
> docbase="${catalina.home}/webapps/struts-mailreader"></Context>.
> When I go to http://localhost:8080, it still points to
> welcome one.
> 3. I rename ROOT under webapps to be ROOT1, now
> http://localhost:8080 becomes blank screen
> 4, I add struts-mailreader.xml under
> conf\Catalina\localhost with the same line as in
> context.xml, it still a blank screen when I request
> http://localhost:8080.
>
> set the default web app should be very commom task,
> but it's so difficult for me. Please help. Thanks.
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message