Where to put context.xml?

2005-09-13 Thread Michael Lai
This is probably an obvious question to most but I am new with tomcat 5.5 so I am still trying to figure things out. I want to create a web project with the document base in /home/tomcat/applications as opposed to the normal webapps folder. This is what I have in my server.xml: Server

RE: Where to put context.xml?

2005-09-13 Thread Allistair Crossley
@jakarta.apache.org Subject: Where to put context.xml? This is probably an obvious question to most but I am new with tomcat 5.5 so I am still trying to figure things out. I want to create a web project with the document base in /home/tomcat/applications as opposed to the normal webapps

Re: Where to put context.xml?

2005-09-13 Thread Michael Lai
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

RE: Where to put context.xml?

2005-09-13 Thread Allistair Crossley
Means a folder at /home/tomcat/applications/ROOT/META-INF/context.xml applications -Original Message- From: Michael Lai [mailto:[EMAIL PROTECTED] Sent: 13 September 2005 10:21 To: Tomcat Users List Subject: Re: Where to put context.xml? Allistair Crossley wrote: Nearly

RE: Where to put context.xml?

2005-09-13 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: Where to put context.xml? Context path=/ROOT docBase=/home/tomcat/applications/ debug=0 reloadable=true /Context To again quote from the Tomcat doc for the path attribute of the Context element: The value

RE: Where to put context.xml?

2005-09-13 Thread Allistair Crossley
[mailto:[EMAIL PROTECTED] Sent: 13 September 2005 14:25 To: Tomcat Users List Subject: RE: Where to put context.xml? From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: Where to put context.xml? Context path=/ROOT docBase=/home/tomcat/applications/ debug=0

Re: Where to put context.xml?

2005-09-13 Thread Michael Lai
Allistair Crossley wrote: Hi, 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. Thus Context path=/ROOT docBase=/home/tomcat/applications/ debug=0

Re: Where to put context.xml?

2005-09-13 Thread Michael Lai
Caldarale, Charles R wrote: To again quote from the Tomcat doc for the path attribute of the Context element: The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered [sic] from the filenames used for either the .xml context file or