-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from zenoss/feature/ZEN-34899
ZEN-34889: Garfield env is missing the jetty.ini configuration file
- Loading branch information
Showing
9 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
dist/src/assembly/etc/zeneventserver/jetty/jetty-jmx-remote.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd"> | ||
|
||
<Configure id="Server" class="org.eclipse.jetty.server.Server"> | ||
<Call name="addBean"> | ||
<Arg> | ||
<New id="JMXConnectorServer" class="org.eclipse.jetty.jmx.ConnectorServer"> | ||
<Arg> | ||
<New class="javax.management.remote.JMXServiceURL"> | ||
<Arg type="java.lang.String">rmi</Arg> | ||
<Arg type="java.lang.String"><Property name="jetty.jmxremote.rmiserverhost" default="localhost"/></Arg> | ||
<Arg type="java.lang.Integer"><Property name="jetty.jmxremote.rmiserverport" default="1099"/></Arg> | ||
<Arg type="java.lang.String">/jndi/rmi://<Property name="jetty.jmxremote.rmiregistryhost" default="localhost"/>:<Property name="jetty.jmxremote.rmiregistryport" default="1099"/>/jmxrmi</Arg> | ||
</New> | ||
</Arg> | ||
<Arg>org.eclipse.jetty.jmx:name=jmxconnectorserver</Arg> | ||
</New> | ||
</Arg> | ||
</Call> | ||
</Configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd"> | ||
|
||
<Configure id="Server" class="org.eclipse.jetty.server.Server"> | ||
|
||
<!-- =========================================================== --> | ||
<!-- Get the platform MBeanServer --> | ||
<!-- =========================================================== --> | ||
<Call id="MBeanServer" class="java.lang.management.ManagementFactory" | ||
name="getPlatformMBeanServer" /> | ||
|
||
<!-- =========================================================== --> | ||
<!-- Initialize the Jetty MBeanContainer --> | ||
<!-- =========================================================== --> | ||
<Call name="addBean"> | ||
<Arg> | ||
<New id="MBeanContainer" class="org.eclipse.jetty.jmx.MBeanContainer"> | ||
<Arg> | ||
<Ref refid="MBeanServer" /> | ||
</Arg> | ||
<Call name="beanAdded"> | ||
<Arg/> | ||
<Arg> | ||
<Get name="ILoggerFactory" class="org.slf4j.LoggerFactory"/> | ||
</Arg> | ||
</Call> | ||
</New> | ||
</Arg> | ||
</Call> | ||
</Configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[description] | ||
Enables clear-text remote RMI access to platform MBeans. | ||
|
||
[depend] | ||
jmx | ||
|
||
[xml] | ||
etc/zeneventserver/jetty/jetty-jmx-remote.xml | ||
|
||
[ini-template] | ||
# tag::documentation[] | ||
## The host/address to bind the RMI server to. | ||
# jetty.jmxremote.rmiserverhost=localhost | ||
|
||
## The port the RMI server listens to (0 means a random port is chosen). | ||
# jetty.jmxremote.rmiserverport=1099 | ||
|
||
## The host/address to bind the RMI registry to. | ||
# jetty.jmxremote.rmiregistryhost=localhost | ||
|
||
## The port the RMI registry listens to. | ||
# jetty.jmxremote.rmiregistryport=1099 | ||
|
||
## The host name exported in the RMI stub. | ||
-Djava.rmi.server.hostname=localhost | ||
# end::documentation[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[description] | ||
Enables local JMX support for Jetty components. | ||
|
||
[depend] | ||
server | ||
|
||
[lib] | ||
lib/jetty-jmx-${jetty.version}.jar | ||
|
||
[xml] | ||
etc/zeneventserver/jetty/jetty-jmx.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters