From 5c850a9bbbcb0abe64b3d6d95c44b098c525aba7 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Thu, 24 Oct 2013 12:31:08 -0700 Subject: [PATCH] 420103 - Split out jmx-remote module from existing jmx module + modules/jmx.mod not changed + etc/jetty-jmx.xml simplified greatly + etc/jetty-jmx-remote.xml contains specifics for making jmx listen on the port specified in properties + new modules/jmx-remote.mod for enabling this feature --- .../src/main/config/etc/jetty-jmx-remote.xml | 27 ++++++++++++ jetty-jmx/src/main/config/etc/jetty-jmx.xml | 44 ------------------- .../src/main/config/modules/jmx-remote.mod | 11 +++++ 3 files changed, 38 insertions(+), 44 deletions(-) create mode 100644 jetty-jmx/src/main/config/etc/jetty-jmx-remote.xml create mode 100644 jetty-jmx/src/main/config/modules/jmx-remote.mod diff --git a/jetty-jmx/src/main/config/etc/jetty-jmx-remote.xml b/jetty-jmx/src/main/config/etc/jetty-jmx-remote.xml new file mode 100644 index 00000000000..20a2dda2399 --- /dev/null +++ b/jetty-jmx/src/main/config/etc/jetty-jmx-remote.xml @@ -0,0 +1,27 @@ + + + + + + + + + rmi + + + /jndi/rmi://:/jmxrmi + + + org.eclipse.jetty.jmx:name=rmiconnectorserver + + + + diff --git a/jetty-jmx/src/main/config/etc/jetty-jmx.xml b/jetty-jmx/src/main/config/etc/jetty-jmx.xml index 2732c4069e8..aca96f7c2ca 100644 --- a/jetty-jmx/src/main/config/etc/jetty-jmx.xml +++ b/jetty-jmx/src/main/config/etc/jetty-jmx.xml @@ -39,49 +39,5 @@ - - - - - - - - diff --git a/jetty-jmx/src/main/config/modules/jmx-remote.mod b/jetty-jmx/src/main/config/modules/jmx-remote.mod new file mode 100644 index 00000000000..25222755e89 --- /dev/null +++ b/jetty-jmx/src/main/config/modules/jmx-remote.mod @@ -0,0 +1,11 @@ +# +# JMX Remote Feature +# + +[depend] +jmx + +[xml] +# JMX remote configuration +etc/jetty-jmx-remote.xml +