I'm trying to define web applications with document
roots in places other than the virtual host's webApps
directory. Somehow I can't seem to add any Contexts
to the default server.xml file.
When I try to add:
<Context path="/"
docBase="c:/myNewApp"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
right before:
<Context
path="/examples"
docBase="examples"
debug="0"
reloadable="true">
....
</Context>
I get the following:
"PARSE error at line 7 column -1
org.xml.sax.SAXParseException: XML declaration may
only begin entities."
I'm sticking it right before the examples context in
server.xml so I dont see why there would be an XML
error. Am I supposed to do something else to make
Tomcat4.0 recognize apps outside of the webapps
directory? I was using Tomcat 3.2 and the same code
in server.xml worked fine.
Thanks in advance.
Calvin
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/