Created
June 13, 2013 10:47
-
-
Save ahgittin/5772839 to your computer and use it in GitHub Desktop.
Additional lines to insert into OpenGamma jetty-spring.xml to enable the Jetty MX bean. http://forums.opengamma.com/forum/discussion/comment/743
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
<bean id="standardMBeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean"> | |
<property name="locateExistingServerIfPossible" value="true" /> | |
</bean> | |
<bean id="jettyJMXExporter" class="org.springframework.jmx.export.MBeanExporter"> | |
<property name="beans"> | |
<map> | |
<entry key="com.opengamma.jetty:service=HttpConnector" value-ref="connector" /> | |
<entry key="com.opengamma.jetty:service=HttpServer" value-ref="server" /> | |
</map> | |
</property> | |
<property name="server" ref="standardMBeanServer" /> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment