Correct a regression in the fix for bug 51278 that prevented any web application...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 7 Jun 2011 23:48:17 +0000 (23:48 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 7 Jun 2011 23:48:17 +0000 (23:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1133201 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/startup/ContextConfig.java
webapps/docs/changelog.xml

index 3bf5fff..dad56e3 100644 (file)
@@ -1195,6 +1195,10 @@ public class ContextConfig
          */ 
         WebXml webXmlDefaultFragment = createWebXml();
         webXmlDefaultFragment.setOverridable(true);
+        // Set to distributable else every app will be prevented from being
+        // distributable when the default fragment is merged with the main
+        // web.xml
+        webXmlDefaultFragment.setDistributable(true);
 
         // Parse global web.xml if present
         InputSource globalWebXml = getGlobalWebXmlSource();
index ec7cb86..72f3b9b 100644 (file)
         response buffer to ensure that the doFlush flag does not get stuck in
         the enabled state. Patch provided by Jeremy Norris. (markt)
       </fix>
+      <fix>
+        Correct a regression in the fix for <bug>51278</bug> that prevented any
+        web application from being marked as distributable. (kfujino/mark)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">