tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: context.xml question
Date Wed, 18 Jun 2003 16:55:17 GMT

Howdy,

>Can the docBase attribute of the context element be relative?  The
location

Yes.  It can be relative to the host's appBase or absolute.  See the
Context configuration reference.

>On a seperate note, when installing a war file using the catalina ant
task,
>should tomcat automatically look in the META-INF directory of the war
file
>for a context.xml file?  I have not been able to get this to work.  I
wound
>up specifing both the config file as well as the war file in the
install
>task.  Is this how it is supposed to work?

For now, yes.  It's an open issue for enhancement that will probably be
addressed in the near future.

>If your set the reloadable attribute of the context element to true, do
you
>still need to use the ant reload task to pick up your changes?

Depends on what the changes are; file modifications in WEB-INF/classes
and WEB-INF/lib will trigger reloading.  Again, see the configuration
reference for the <Context> tag.

Yoav Shapira




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message