Why is the tomcat welcome page showing?

2011-08-15 Thread Furst, Carl
Hey all, 

In server.xml I have a Host section set up with a Context that has a path
set to . 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.

If you're seeing this page via a web browser, it means you've setup Tomcat
successfully. Congratulations!

Why is my webapp not showing in my browser? Do I have to set up a
DocumentIndex type parameter like in Apache?

How do I disable the ROOT context?

Thanks,

Carl Furst


smime.p7s
Description: S/MIME cryptographic signature





**

MLB.com: Where Baseball is Always On


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

RE: Why is the tomcat welcome page showing?

2011-08-15 Thread Furst, Carl
To follow up on this.. I removed the ROOT folder from the webapps.. and it
still shows up even when I have re-defined the default Context.

Where does the welcome page get rendered?

Thanks,


Carl Furst


-Original Message-
From: Furst, Carl [mailto:carl.fu...@mlb.com] 
Sent: Monday, August 15, 2011 4:49 PM
To: users@tomcat.apache.org
Subject: Why is the tomcat welcome page showing?

Hey all, 

In server.xml I have a Host section set up with a Context that has a path
set to . 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.

If you're seeing this page via a web browser, it means you've setup Tomcat
successfully. Congratulations!

Why is my webapp not showing in my browser? Do I have to set up a
DocumentIndex type parameter like in Apache?

How do I disable the ROOT context?

Thanks,

Carl Furst


smime.p7s
Description: S/MIME cryptographic signature





**

MLB.com: Where Baseball is Always On


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

RE: Why is the tomcat welcome page showing?

2011-08-15 Thread Caldarale, Charles R
 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



RE: Why is the tomcat welcome page showing?

2011-08-15 Thread Furst, Carl
Hi Charles,

Thanks for taking the time to answer. I'm using Tomcat 6.0 on Solaris

I understand it's not ideal, however, I have to work this way because of a
framework built for a different platform. The deployment mechanisms are such
that they don't deploy to ROOT.

Anyway with you're inspiring words of  webapp isn't being deployed
properly got me going and rebuilding, killing the jdk and starting up
again. Something got cleared and it's working again.

Very much obliged,

Carl Furst


-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Monday, August 15, 2011 5:09 PM
To: Tomcat Users List
Subject: RE: Why is the tomcat welcome page showing?

 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



smime.p7s
Description: S/MIME cryptographic signature





**

MLB.com: Where Baseball is Always On


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