karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject git commit: [KARAF-3072] Update instance org.apache.karaf.management.cfg file
Date Thu, 03 Jul 2014 14:38:25 GMT
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é <jbonofre@apache.org>
Authored: Thu Jul 3 16:37:36 2014 +0200
Committer: Jean-Baptiste Onofré <jbonofre@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


Mime
View raw message