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 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html E.g <Context docBase="ROOT" reloadable="true" /> or even nested elements inside <Context docBase="ROOT"> <Resource ... /> </Context>
-----Original Message----- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Sat 04/12/2004 19:20 To: Tomcat Users List Cc: 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. Jake >Please clarify. > >-Narahari > > >Remy Maucherat <[EMAIL PROTECTED]> wrote: >On Sat, 4 Dec 2004 16:25:59 -0000, Allistair Crossley >wrote: >> 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 >http://server:8080 >> >> 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 >Tomcat? > >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: > > >-- >xxxxxxxxxxxxxxxxxxxxxxxxx >RÃmy Maucherat >Developer & Consultant >JBoss Group (Europe) SÃRL >xxxxxxxxxxxxxxxxxxxxxxxxx > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > >--------------------------------- >Do you Yahoo!? > All your favorites on one personal page  Try My Yahoo! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software <a href="http://www.qas.com">www.qas.com</a> Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT>