You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2024/01/03 07:21:58 UTC
(james-project) branch 3.8.x updated: [FIX] JMX password auto-detection
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch 3.8.x
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/3.8.x by this push:
new 7c4729f821 [FIX] JMX password auto-detection
7c4729f821 is described below
commit 7c4729f82149ed0ac6f34ec3398e764e5079e017
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Tue Jan 2 15:12:37 2024 +0100
[FIX] JMX password auto-detection
---
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-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org