In an issue related to this and the documentation cited below, my attempts
to create a Context in the 
META-INF/context.xml were not successful, that is, I could create the
context.xml file but the attributes did not seem to take affect. I could set
them in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory and it
would work.
As an example, if I defined the attributes antiJARLocking=true and
antiResourceLocking=true in the application's META-INF/context.xml file, I
would still have jar and resource locking issues. When I defined the same
attributes in the $CATALINA_HOME/conf/[enginename]/[hostname] directory, jar
and resource locking was not an issue.


Stephen L. Faustino
Senior Software Engineer

SecureLogix Corporation
13750 San Pedro, Suite 230
San Antonio, TX 78232
Direct/Vmail (210) 402-9669 x949
http://www.securelogix.com

SECURELOGIX CORPORATION EMAIL NOTICE - This transmission may be strictly
confidential. If you are not the intended recipient of this message, you may
not disclose, print, copy, or disseminate this information. If you have
received this in error, please reply and notify the sender (only) and delete
the message. Unauthorized interception of this e-mail is a violation of
federal criminal law. This communication does not reflect an intention by
the sender or the sender's principal to conduct a transaction or make any
agreement by electronic means. Nothing contained in this message or in any
attachment shall satisfy the requirements for a writing, and nothing
contained herein shall constitute a contract or electronic signature under
the Electronic Signatures in Global and National Commerce Act, any version
of the Uniform Electronic Transactions Act, or any other statute governing
electronic transactions.


-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 04, 2005 9:33 AM
To: Tomcat Users List
Subject: RE: setting the context path in tomcat5.5.9?


> From: Trung Nguyen [mailto:[EMAIL PROTECTED] 
> Subject: RE: setting the context path in tomcat5.5.9?
> 
> To add the context path, you need to edit the 
> $TOMCAT_HOME/conf/server.xml file and these lines:

This completely ignores the admonition in the Tomcat doc:
"Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended
to place <Context> elements directly in the server.xml file."

I'd suggest that a careful reading of:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
is in order.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to