Keep MBean names consistent with Tomact 6.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 3 Sep 2010 13:20:22 +0000 (13:20 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 3 Sep 2010 13:20:22 +0000 (13:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@992290 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardContext.java
webapps/docs/changelog.xml

index a2b7dcf..8c2a15a 100644 (file)
@@ -5570,7 +5570,7 @@ public class StandardContext extends ContainerBase
     }
     
     private String getObjectKeyPropertiesNameOnly() {
-        StringBuilder result = new StringBuilder("name=");
+        StringBuilder result = new StringBuilder("name=//");
         String hostname = getParent().getName();
         if (hostname == null) {
             result.append("DEFAULT");
index 21f9867..8e4245a 100644 (file)
         <bug>48967</bug>: Replace strings "catalina.base" and "catalina.home"
         by globally defined constants. Patch provided by Marc Guillemot. (rjung)
       </update>
+      <fix>
+        Keep the MBean names for web applications consistent between Tomcat 6
+        and Tomcat 7. (markt) 
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">