tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject RE: webapps ROOT folder significance
Date Sat, 04 Dec 2004 19:34:50 GMT
What Remy means is that you need to *create* a new file called ROOT.xml and place it in tomcat/conf/Catalina/localhost
(it's not there by default)
In that file, add
<Context docBase="ROOT" />
Also check out how you can further configure this Context at
<Context docBase="ROOT" reloadable="true" />
or even nested elements inside
<Context docBase="ROOT">
  <Resource ... />

	-----Original Message----- 
	From: Jacob Kjome [] 
	Sent: Sat 04/12/2004 19:20 
	To: Tomcat Users List 
	Subject: Re: webapps ROOT folder significance

	At 09:46 AM 12/4/2004 -0800, you wrote:
	 >Remy you really confused me.  Can you elaborate a little more please ?
	 >What root.xml file in webapps\ROOT folder ?
	 >or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ?
	 >Do you mean a context.xml file in the catalnia\locahost folder ?
	Yep.  But make sure the file name is ROOT.xml, not root.xml.
	 >Please clarify.
	 >Remy Maucherat <> wrote:
	 >On Sat, 4 Dec 2004 16:25:59 -0000, Allistair Crossley
	 >> In versions prior to 5.5, you could make your own webapp the root context
	 >by using an empty path attribute on the Context for your web application.
	 >However, in 5.5 you cannot do this and *must* use the ROOT folder for your
	 >web application *if* you want the web application accessible from
	 >> I would be interested also to hear from the dev team, why a user cannot
	 >package a web application with a webapp folder they desire and deploy this
	 >as root. Afterall, is forcing the webapp folder name not binding the user to
	 >Yes, this is all part of a grand plan to tie users to Tomcat, and take
	 >over the world. Call Austin for help, it's the only hope for mankind.
	 >Actual solution: write a ROOT.xml file pointing to whatever docBase
	 >you want for your webapp (outside of the host appBase), like:
	 >Rémy Maucherat
	 >Developer & Consultant
	 >JBoss Group (Europe) SàRL
	 >To unsubscribe, e-mail:
	 >For additional commands, e-mail:
	 >Do you Yahoo!?
	 > All your favorites on one personal page ­ Try My Yahoo!
	To unsubscribe, e-mail:
	For additional commands, e-mail:

QAS Ltd.
Developers of QuickAddress Software
<a href=""></a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message