source: installer/resources/eepsite/jetty-jmx.xml @ e7c2162

Last change on this file since e7c2162 was 6b4f665, checked in by zzz <zzz@…>, 3 years ago

Add more markers and protection for xml file migration
Add error message for jetty-jmx.xml migration, don't migrate
Update non-default files jetty-rewrite.xml and jetty-jmx.xml

  • Property mode set to 100644
File size: 1.5 KB
Line 
1<?xml version="1.0"?>
2<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
3
4<Configure id="Server" class="org.eclipse.jetty.server.Server">
5
6  <!-- =========================================================== -->
7  <!-- Set the java.rmi.server.hostname property in case you've    -->
8  <!-- got a misconfigured /etc/hosts entry or the like.           -->
9  <!-- =========================================================== -->
10  <!--
11  <Call class="java.lang.System" name="setProperty">
12    <Arg>java.rmi.server.hostname</Arg>
13    <Arg>127.0.0.1</Arg>
14  </Call>
15  -->
16
17  <!-- =========================================================== -->
18  <!-- Get the platform mbean server                               -->
19  <!-- =========================================================== -->
20  <Call id="MBeanServer" class="java.lang.management.ManagementFactory"
21    name="getPlatformMBeanServer" />
22
23  <!-- =========================================================== -->
24  <!-- Initialize the Jetty MBean container -->
25  <!-- =========================================================== -->
26  <Call name="addBean">
27    <Arg>
28      <New id="MBeanContainer" class="org.eclipse.jetty.jmx.MBeanContainer">
29        <Arg>
30          <Ref refid="MBeanServer" />
31        </Arg>
32      </New>
33    </Arg>
34  </Call>
35
36  <!-- Add the static log -->
37  <Call name="addBean">
38    <Arg>
39      <New class="org.eclipse.jetty.util.log.Log" />
40    </Arg>
41  </Call>
42</Configure>
43
Note: See TracBrowser for help on using the repository browser.