tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject RE: Where to put context.xml?
Date Tue, 13 Sep 2005 09:22:40 GMT

The docBase is just the folder where your web applications are located. You need to have a
folder in applications for your web application. For the empty path application this is /ROOT.


<Context path="/ROOT" docBase="/home/tomcat/applications/"
         debug="0" reloadable="true" >

Means a folder at



> -----Original Message-----
> From: Michael Lai []
> Sent: 13 September 2005 10:21
> To: Tomcat Users List
> Subject: Re: Where to put context.xml?
> Allistair Crossley wrote:
> >Nearly. Rename your file ROOT.xml and a path of /ROOT and 
> you're away. The other alternative is create in your web 
> application folder META-INF/context.xml
> >
> >Allistair
> >
> Thank you for your prompt replay, Allistair.  I choosed the second 
> option and created the META folder.  So I now have:
> /home/tomcat/applications/META-INF/context.xml
> And my context.xml shows:
> <Context path="" docBase="/home/tomcat/applications/"
>          debug="0" reloadable="true" >
> </Context>
> I restarted tomcat but with the same effect.  Is there some other 
> configuration that I have to modify to inform tomcat that I have a 
> project in this folder?
> Michael.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
Disclaimer:  The information contained within this e-mail is confidential and may be privileged.
This email is intended solely for the named recipient only; if you are not authorised you
must not disclose, copy, distribute, or retain this message or any part of it. If you have
received this message in error please contact the sender at once so that we may take the appropriate
action and avoid troubling you further.  Any views expressed in this message are those of
the individual sender.  QAS Limited has the right lawfully to record, monitor and inspect
messages between its employees and any third party.  Your messages shall be subject to such
lawful supervision as QAS Limited deems to be necessary in order to protect its information,
its interests and its reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee
that attachments are virus free or compatible with your systems and does not accept any liability
in respect of viruses or computer problems experienced.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message