You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2014/07/03 16:38:25 UTC

git commit: [KARAF-3072] Update instance org.apache.karaf.management.cfg file

Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x 2d7d9f054 -> 2b233ce6d


[KARAF-3072] Update instance org.apache.karaf.management.cfg file


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/2b233ce6
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/2b233ce6
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/2b233ce6

Branch: refs/heads/karaf-3.0.x
Commit: 2b233ce6d14fed5c18cd510b1a2ece13da4ac2a8
Parents: 2d7d9f0
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Thu Jul 3 16:37:36 2014 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Thu Jul 3 16:37:36 2014 +0200

----------------------------------------------------------------------
 .../resources/etc/org.apache.karaf.management.cfg       | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/2b233ce6/instance/core/src/main/resources/org/apache/karaf/instance/resources/etc/org.apache.karaf.management.cfg
----------------------------------------------------------------------
diff --git a/instance/core/src/main/resources/org/apache/karaf/instance/resources/etc/org.apache.karaf.management.cfg b/instance/core/src/main/resources/org/apache/karaf/instance/resources/etc/org.apache.karaf.management.cfg
index 57b2957..2b4854e 100644
--- a/instance/core/src/main/resources/org/apache/karaf/instance/resources/etc/org.apache.karaf.management.cfg
+++ b/instance/core/src/main/resources/org/apache/karaf/instance/resources/etc/org.apache.karaf.management.cfg
@@ -27,11 +27,21 @@
 rmiRegistryPort = ${SUBST-RMI-REGISTRY-PORT}
 
 #
+# Host for RMI registry
+#
+rmiRegistryHost = 0.0.0.0
+
+#
 # Port number for RMI server connection
 #
 rmiServerPort = ${SUBST-RMI-SERVER-PORT}
 
 #
+# Host for RMI server
+#
+rmiServerHost = 0.0.0.0
+
+#
 # Name of the JAAS realm used for authentication
 #
 jmxRealm = karaf
@@ -39,7 +49,7 @@ jmxRealm = karaf
 #
 # The service URL for the JMXConnectorServer
 #
-serviceUrl = service:jmx:rmi://0.0.0.0:${rmiServerPort}/jndi/rmi://0.0.0.0:${rmiRegistryPort}/karaf-${karaf.name}
+serviceUrl = service:jmx:rmi://${rmiServerHost}:${rmiServerPort}/jndi/rmi://${rmiRegistryHost}:${rmiRegistryPort}/karaf-${karaf.name}
 
 #
 # Whether any threads started for the JMXConnectorServer should be started as daemon threads