This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new ea5dfd5 Fix key names ea5dfd5 is described below commit ea5dfd5b3c2436f912bdcae8f2b6e95416cc747f 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 f4d0bd0..59e1649 100644 --- a/java/org/apache/catalina/mbeans/MBeanFactory.java +++ b/java/org/apache/catalina/mbeans/MBeanFactory.java @@ -466,7 +466,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(sm.getString("mBeanFactory.noDeployer", pname.getKeyProperty("host"))); @@ -764,7 +764,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(sm.getString("mBeanFactory.noDeployer", hostName)); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org