This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch 3.7.x in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/3.7.x by this push: new ec277b6b87 [FIX] JMX password auto-detection (#1894) ec277b6b87 is described below commit ec277b6b873ba907b38eb73ad2e5fb4567be29f1 Author: Benoit TELLIER <btell...@linagora.com> AuthorDate: Wed Jan 3 07:42:29 2024 +0100 [FIX] JMX password auto-detection (#1894) --- server/apps/cli/src/main/java/org/apache/james/cli/ServerCmd.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/apps/cli/src/main/java/org/apache/james/cli/ServerCmd.java b/server/apps/cli/src/main/java/org/apache/james/cli/ServerCmd.java index eddc34c8ae..5cf3eb3bcf 100644 --- a/server/apps/cli/src/main/java/org/apache/james/cli/ServerCmd.java +++ b/server/apps/cli/src/main/java/org/apache/james/cli/ServerCmd.java @@ -136,10 +136,10 @@ public class ServerCmd { } private static String locateJmxConfiguration() { - if (!new File(JMX_PASSWORD_FILE_PATH_DEFAULT).exists()) { + if (new File(JMX_PASSWORD_FILE_PATH_DEFAULT).exists()) { return JMX_PASSWORD_FILE_PATH_DEFAULT; } - if (!new File("conf/jmxremote.password").exists()) { + if (new File("conf/jmxremote.password").exists()) { return "conf/jmxremote.password"; } return "../conf/jmxremote.password"; --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org