This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 1471b18660d17e30ea666e4230281fb1049480b0 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Feb 5 11:30:44 2021 +0000 Fix key names --- java/org/apache/catalina/mbeans/MBeanFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/catalina/mbeans/MBeanFactory.java b/java/org/apache/catalina/mbeans/MBeanFactory.java index 1826eba..50f6eca 100644 --- a/java/org/apache/catalina/mbeans/MBeanFactory.java +++ b/java/org/apache/catalina/mbeans/MBeanFactory.java @@ -489,7 +489,7 @@ public class MBeanFactory { new String [] {"java.lang.String"}); } } else { - throw new IllegalStateException(sm.getString("mBeanFactory.contextRemove.addServicedFail", contextName)); + throw new IllegalStateException(sm.getString("mBeanFactory.contextCreate.addServicedFail", contextName)); } } else { log.warn("Deployer not found for "+pname.getKeyProperty("host")); @@ -801,7 +801,7 @@ public class MBeanFactory { new String[] {"java.lang.String"}); } } else { - throw new IllegalStateException(sm.getString("mBeanFactory.removeCreate.addServicedFail", pathStr)); + throw new IllegalStateException(sm.getString("mBeanFactory.removeContext.addServicedFail", pathStr)); } } else { log.warn("Deployer not found for "+hostName); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org