aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2012-03-22 07:40:16 (EDT)
committerThomas Becker2012-03-22 08:03:22 (EDT)
commit875bcb5bb838ae843266894dc46f5598558d0612 (patch)
tree980e827940e46b7a3e57496ee46244879b30f77b
parent6a2c5fc9fde44ba966da3dd494ecfdba6954f3e6 (diff)
downloadorg.eclipse.jetty.project-875bcb5bb838ae843266894dc46f5598558d0612.zip
org.eclipse.jetty.project-875bcb5bb838ae843266894dc46f5598558d0612.tar.gz
org.eclipse.jetty.project-875bcb5bb838ae843266894dc46f5598558d0612.tar.bz2
374995: configure jmx rmi port via SystemPropertyrefs/changes/04/5404/1
Change-Id: I35f336d4754c79717b741aea0896bd71b46ed28d 374995: configure jmx rmi host via SystemProperty,change objectname and jmxpath from jettyjmx to jmxrmi Change-Id: Ib469d631682c9fb31aea584c38906aae0958198f 374995: configure jmx rmi host via SystemProperty,change objectname and jmxpath from jettyjmx to jmxrmi Change-Id: I02c88c518810e03c7ae59453fa6752d80108960e
-rw-r--r--jetty-jmx/src/main/config/etc/jetty-jmx.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/jetty-jmx/src/main/config/etc/jetty-jmx.xml b/jetty-jmx/src/main/config/etc/jetty-jmx.xml
index a685ede..4db0dbb 100644
--- a/jetty-jmx/src/main/config/etc/jetty-jmx.xml
+++ b/jetty-jmx/src/main/config/etc/jetty-jmx.xml
@@ -69,7 +69,7 @@
-->
<!--
<Call name="createRegistry" class="java.rmi.registry.LocateRegistry">
- <Arg type="java.lang.Integer">1099</Arg>
+ <Arg type="java.lang.Integer"><SystemProperty name="jetty.jmxrmiport" default="1099"/></Arg>
<Call name="sleep" class="java.lang.Thread">
<Arg type="java.lang.Integer">1000</Arg>
</Call>
@@ -91,11 +91,11 @@
<New class="javax.management.remote.JMXServiceURL">
<Arg type="java.lang.String">rmi</Arg>
<Arg type="java.lang.String" />
- <Arg type="java.lang.Integer">0</Arg>
- <Arg type="java.lang.String">/jndi/rmi://localhost:1099/jettyjmx</Arg>
+ <Arg type="java.lang.Integer"><SystemProperty name="jetty.jmxrmiport" default="1099"/></Arg>
+ <Arg type="java.lang.String">/jndi/rmi://<SystemProperty name="jetty.jmxrmihost" default="localhost"/>:<SystemProperty name="jetty.jmxrmiport" default="1099"/>/jmxrmi</Arg>
</New>
</Arg>
- <Arg>org.eclipse.jetty:name=rmiconnectorserver</Arg>
+ <Arg>org.eclipse.jetty.jmx:name=rmiconnectorserver</Arg>
<Call name="start" />
</New>
-->