Thanks for the response, Chris. Yes, I used ROOT.xml (in upper case) but it just does not work.
Well, there is no particular reason for not renaming my 'testweb' directory to 'ROOT'. I just do not like the fact very much that I have to rely on Tomcat specific contexts. I prefer to use my one and it bothers me that it does not work on Linux. As mentioned, no problems on Windows XP, but using ROOT.xml on my Linux machine does not work. It seams that Tomcat ignores the ROOT.xml in <tomcat>/conf/Catalina/localhost Thanks for the hint to not use the webapps directory. Yes, I do use another directory outside of Tomcat (I changes the appBase attribute in the host tag of the server.xml What do you mean with 'plus have it loaded from a separate ROOT.xml file, too' ? Thanks again! Maik -----Original Message----- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 15. Oktober 2008 00:31 To: Tomcat Users List Subject: Re: Changing the ROOT application in Tomcat 6.0.18 on Linux -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maik, Maik Schumacher wrote: > I want to change the ROOT application on Tomcat 6 without renaming my Web > application to ROOT. Any particular reason? It's /way/ easier to simply re-name your directory to 'ROOT'. > I performed the following steps on Windows where I have a Web application > called "testweb" in the <tomcat>\webapps directory. > > 1) Created new directory structure <tomat>\conf\Catalina\localhost > > 2) Create a new File ROOT.xml in this new direcotry with this content: > > <Context path="testweb" reloadable="true"/> Try moving your deployment directory to somewhere other than in the tomcat/webapps directory. It's not a good idea to allow TC to try to auto-deploy your webapp, plus have it loaded from a separate ROOT.xml file, too. Also, are you sure you used ROOT.xml (case matters)? If you didn't do that, it won't work. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkj1HZ0ACgkQ9CaO5/Lv0PC7LgCdEyx1tUi8/dSR3ULdZO8XcU1p ux0AoKQ9hbApotDORgs94udGEIlUFPZC =l5Q4 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]