> From: Furst, Carl [mailto:carl.fu...@mlb.com] 
> Subject: Why is the tomcat welcome page showing?

> In server.xml I have a Host section set up with a Context that 
> has a path set to "".

Unfortunate that you choose to use the least desirable method of setting the 
default webapp.

> I see in the logs that the webapp assigned to that path is indeed
> executing when I hit '/'. However the browser shows the Tomcat homepage.

Possibly browser caching, but also possible that your webapp isn't being 
deployed properly.

> How do I disable the ROOT context?

You can't - there must always be a ROOT context; you have just chosen a poor 
(and conflicting) way to specify it.

What you should be doing:

1) Tell us the version of Tomcat you're using.

2) Stop Tomcat.

3) Remove the existing ROOT directory from the <Host> appBase directory.

4) Rename your webapp to ROOT (or ROOT.war, if appropriate).

5) Remove the <Context> element from server.xml.

6) Remove the contents of Tomcat's work and temp directories.

7) Remove the ROOT.xml file (if it exists) from conf/Catalina/[host].

8) Restart Tomcat.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to