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
@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
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
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
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
[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
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
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