Properties from config.properties.<profilName> used to build remote gateways address changed. There is no more hard coded part into the remote gateway construction.

Instead of :
 - mosgi.jmxconsole.id.1.profile=core
 - mosgi.jmxconsole.id.1.host=127.0.0.1
 - mosgi.jmxconsole.id.1.protocol=rmi
 - mosgi.jmxconsole.id.1.port=1099

Use :
 - mosgi.jmxconsole.id.1.jmxsurl=service:jmx:rmi:///jndi/rmi://127.0.0.1:1099/core

The new property value must look like this:
  "service:jmx:<protocol>:<sap>"

More information on what this new property value must look like are available on the javax.management.remote.JMXServiceURL class javadoc.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@669139 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/mosgi/doc/config.properties.jmxconsole b/mosgi/doc/config.properties.jmxconsole
index ec7bb55..335c820 100644
--- a/mosgi/doc/config.properties.jmxconsole
+++ b/mosgi/doc/config.properties.jmxconsole
@@ -35,17 +35,14 @@
 # mosgi.jmxconsole.rmiport.core=1099
 
 # NEW :
-mosgi.jmxconsole.id.1.nickname=main
-mosgi.jmxconsole.id.1.profile=core
-mosgi.jmxconsole.id.1.host=127.0.0.1
-mosgi.jmxconsole.id.1.protocol=rmi
-mosgi.jmxconsole.id.1.port=1099
-#mosgi.jmxconsole.id.1.jmxserviceurl=service:jmx:rmi:///jndi/rmi://127.0.0.1:1099/core
+# mosgi.jmxconsole.id.<number>.nickname is the gateway nickname used by the GUI (default value is the gateway <number>)
+# mosgi.jmxconsole.id.<number>.jmxsurl is the string used to create the JMXServiceURL. This string must look like this : service:jmx:<protocol>:<sap>, <protocol> ie. "rmi", <sap> ie. "///jndi/rmi://127.0.0.1:1099/core"
+# More details on the JMXServiceURL class javadoc
+mosgi.jmxconsole.id.1.jmxsurl=service:jmx:rmi:///jndi/rmi://127.0.0.1:1099/core
+mosgi.jmxconsole.id.1.nickname=core std (rmi)
 
-mosgi.jmxconsole.id.2.profile=core2
-mosgi.jmxconsole.id.2.host=127.0.0.1
-mosgi.jmxconsole.id.2.protocol=rmi
-mosgi.jmxconsole.id.2.port=1100
+mosgi.jmxconsole.id.2.jmxsurl=service:jmx:ws://127.0.0.1:1100/core2
+mosgi.jmxconsole.id.2.nickname=core 2 (web service connector)
 
 felix.startlevel.framework=1
 felix.startlevel.bundle=1