From 13e46846a5a6112f818b5c06bb2e7ffa53808c67 Mon Sep 17 00:00:00 2001 From: markt Date: Mon, 18 Apr 2011 11:19:16 +0000 Subject: [PATCH] Add note that antiJARLocking and antiResourceLocking should not be used together. Line length git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1094490 13f79535-47bb-0310-9956-ffa450edef68 --- webapps/docs/config/context.xml | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/webapps/docs/config/context.xml b/webapps/docs/config/context.xml index c4ccae27c..da2c7b2f8 100644 --- a/webapps/docs/config/context.xml +++ b/webapps/docs/config/context.xml @@ -529,9 +529,14 @@

If true, the Tomcat classloader will take extra measures to avoid JAR file locking when resources are accessed inside JARs through URLs. - This will impact startup time of applications, but could prove to be useful - on platforms or configurations where file locking can occur. + This will impact startup time of applications, but could prove to be + useful on platforms or configurations where file locking can occur. If not specified, the default value is false.

+ +

antiJARLocking is a subset of + antiResourceLocking and therefore, to prevent duplicate + work and possible issues, only one of these attributes should be set + to true at any one time.

@@ -541,19 +546,22 @@ or configurations where file locking can occur. If not specified, the default value is false.

-

Please note that setting this to true has some side effects, - including the disabling of JSP reloading in a running server: see - Bugzilla 37668. -

+

antiJARLocking is a subset of + antiResourceLocking and therefore, to prevent duplicate + work and possible issues, only one of these attributes should be set + to true at any one time.

-

- Please note that setting this flag to true in applications that are +

Please note that setting this to true has some side + effects, including the disabling of JSP reloading in a running server: + see + Bugzilla 37668.

+ +

Please note that setting this flag to true in applications that are outside the appBase for the Host (the webapps directory - by default) will cause the application to be - deleted on Tomcat shutdown. You probably don't want to - do this, so think twice before setting antiResourceLocking=true on a webapp - that's outside the appBase for its Host. -

+ by default) will cause the application to be deleted on + Tomcat shutdown. You probably don't want to do this, so think twice + before setting antiResourceLocking=true on a webapp that's outside the + appBase for its Host.

-- 2.11.0