You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2023/02/21 01:15:32 UTC

[james-project] 04/08: JAMES-3881 Sample configuration

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 98d6e6550048612f2c861c4d61f6cec344a4ad87
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Wed Feb 15 21:59:10 2023 +0700

    JAMES-3881 Sample configuration
---
 server/apps/cassandra-app/sample-configuration/jvm.properties        | 5 ++++-
 server/apps/distributed-app/sample-configuration/jvm.properties      | 3 +++
 server/apps/distributed-pop3-app/sample-configuration/jvm.properties | 3 +++
 server/apps/jpa-app/sample-configuration/jvm.properties              | 3 +++
 server/apps/jpa-smtp-app/sample-configuration/jvm.properties         | 3 +++
 server/apps/memory-app/sample-configuration/jvm.properties           | 3 +++
 6 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/server/apps/cassandra-app/sample-configuration/jvm.properties b/server/apps/cassandra-app/sample-configuration/jvm.properties
index fede730ed3..a65cf77402 100644
--- a/server/apps/cassandra-app/sample-configuration/jvm.properties
+++ b/server/apps/cassandra-app/sample-configuration/jvm.properties
@@ -45,4 +45,7 @@ config.file=conf/cassandra-driver.conf
 
 # JMX, when enable causes RMI to plan System.gc every hour. Set this instead to once every 1000h.
 sun.rmi.dgc.server.gcInterval=3600000000
-sun.rmi.dgc.client.gcInterval=3600000000
\ No newline at end of file
+sun.rmi.dgc.client.gcInterval=3600000000
+
+# Automatically generate a JMX password upon start. CLI is able to retrieve this password.
+james.jmx.credential.generation=true
\ No newline at end of file
diff --git a/server/apps/distributed-app/sample-configuration/jvm.properties b/server/apps/distributed-app/sample-configuration/jvm.properties
index 3f0a04bf2e..382f38a48c 100644
--- a/server/apps/distributed-app/sample-configuration/jvm.properties
+++ b/server/apps/distributed-app/sample-configuration/jvm.properties
@@ -46,3 +46,6 @@ config.file=conf/cassandra-driver.conf
 # JMX, when enable causes RMI to plan System.gc every hour. Set this instead to once every 1000h.
 sun.rmi.dgc.server.gcInterval=3600000000
 sun.rmi.dgc.client.gcInterval=3600000000
+
+# Automatically generate a JMX password upon start. CLI is able to retrieve this password.
+james.jmx.credential.generation=true
diff --git a/server/apps/distributed-pop3-app/sample-configuration/jvm.properties b/server/apps/distributed-pop3-app/sample-configuration/jvm.properties
index 351edbe052..bbe14f1efd 100644
--- a/server/apps/distributed-pop3-app/sample-configuration/jvm.properties
+++ b/server/apps/distributed-pop3-app/sample-configuration/jvm.properties
@@ -46,3 +46,6 @@ config.file=conf/cassandra-driver.conf
 # JMX, when enable causes RMI to plan System.gc every hour. Set this instead to once every 1000h.
 sun.rmi.dgc.server.gcInterval=3600000000
 sun.rmi.dgc.client.gcInterval=3600000000
+
+# Automatically generate a JMX password upon start. CLI is able to retrieve this password.
+james.jmx.credential.generation=true
diff --git a/server/apps/jpa-app/sample-configuration/jvm.properties b/server/apps/jpa-app/sample-configuration/jvm.properties
index 1aba3e41bd..a228e10adb 100644
--- a/server/apps/jpa-app/sample-configuration/jvm.properties
+++ b/server/apps/jpa-app/sample-configuration/jvm.properties
@@ -43,3 +43,6 @@
 # JMX, when enable causes RMI to plan System.gc every hour. Set this instead to once every 1000h.
 sun.rmi.dgc.server.gcInterval=3600000000
 sun.rmi.dgc.client.gcInterval=3600000000
+
+# Automatically generate a JMX password upon start. CLI is able to retrieve this password.
+james.jmx.credential.generation=true
diff --git a/server/apps/jpa-smtp-app/sample-configuration/jvm.properties b/server/apps/jpa-smtp-app/sample-configuration/jvm.properties
index 1aba3e41bd..a228e10adb 100644
--- a/server/apps/jpa-smtp-app/sample-configuration/jvm.properties
+++ b/server/apps/jpa-smtp-app/sample-configuration/jvm.properties
@@ -43,3 +43,6 @@
 # JMX, when enable causes RMI to plan System.gc every hour. Set this instead to once every 1000h.
 sun.rmi.dgc.server.gcInterval=3600000000
 sun.rmi.dgc.client.gcInterval=3600000000
+
+# Automatically generate a JMX password upon start. CLI is able to retrieve this password.
+james.jmx.credential.generation=true
diff --git a/server/apps/memory-app/sample-configuration/jvm.properties b/server/apps/memory-app/sample-configuration/jvm.properties
index 09bd04b90b..3d774c0d8b 100644
--- a/server/apps/memory-app/sample-configuration/jvm.properties
+++ b/server/apps/memory-app/sample-configuration/jvm.properties
@@ -43,3 +43,6 @@
 # JMX, when enable causes RMI to plan System.gc every hour. Set this instead to once every 1000h.
 sun.rmi.dgc.server.gcInterval=3600000000
 sun.rmi.dgc.client.gcInterval=3600000000
+
+# Automatically generate a JMX password upon start. CLI is able to retrieve this password.
+james.jmx.credential.generation=true
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org