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/12/19 17:52:44 UTC
karaf git commit: [KARAF-2989] Use rmiServerHost and rmiRegistryHost
in the child instances
Repository: karaf
Updated Branches:
refs/heads/karaf-2.3.x 5f0ff3354 -> e3c73184a
[KARAF-2989] Use rmiServerHost and rmiRegistryHost in the child instances
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/e3c73184
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/e3c73184
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/e3c73184
Branch: refs/heads/karaf-2.3.x
Commit: e3c73184a4ce1c071b1fbb24a73823ed1f4d99ae
Parents: 5f0ff33
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Fri Dec 19 17:52:09 2014 +0100
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Fri Dec 19 17:52:09 2014 +0100
----------------------------------------------------------------------
.../karaf/admin/etc/org.apache.karaf.management.cfg | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/e3c73184/admin/core/src/main/resources/org/apache/karaf/admin/etc/org.apache.karaf.management.cfg
----------------------------------------------------------------------
diff --git a/admin/core/src/main/resources/org/apache/karaf/admin/etc/org.apache.karaf.management.cfg b/admin/core/src/main/resources/org/apache/karaf/admin/etc/org.apache.karaf.management.cfg
index 57b2957..2b4854e 100644
--- a/admin/core/src/main/resources/org/apache/karaf/admin/etc/org.apache.karaf.management.cfg
+++ b/admin/core/src/main/resources/org/apache/karaf/admin/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