在哪里下载JMXMP? [英] Where to download JMXMP?
问题描述
我想通过JMX远程使用VisualVM对Java应用程序进行概要分析.因为它是一个经过NAT和防火墙保护的EC2实例,所以我不能使用默认的RMI方法,而需要使用可选的JMXMP扩展名,我必须首先下载它.
I want to profile a Java application with VisualVM, remotely via JMX. Because it's a NAT'ted and firewalled EC2 instance, I can't use the default RMI approach and need to use the optional JMXMP extensions, which I must first download.
注意–如果要使用JMXMP连接器,请下载JSR 160 参考实现 ,并添加 JMXREMOTE_OPTIONAL.JAR文件到您的类路径.您将找到例子 JMX远程API教程中包括的JMXMP连接器的使用 使用JSR 160参考实现.
NOTE – IF YOU WANT TO USE A JMXMP CONNECTOR, DOWNLOAD THE JSR 160 REFERENCE IMPLEMENTATION FROM , AND ADD THE JMXREMOTE_OPTIONAL.JAR FILE TO YOUR CLASSPATH. YOU WILL FIND EXAMPLES OF USE OF THE JMXMP CONNECTORS IN THE JMX REMOTE API TUTORIAL INCLUDED WITH THE JSR 160 REFERENCE IMPLEMENTATION.
http://docs.oracle. com/javase/6/docs/technotes/guides/jmx/overview/connectors.html
但是,当我转到该页面时,找不到下载内容.实际上,Google无法找到该下载内容.我在哪里可以得到这些扩展?
But when I go to that page, I cannot find the download. In fact, Google cannot find the download. Where can I get these extensions?
推荐答案
规范的javax.management:jmxremote_optional似乎已从Maven Central中删除[1]. (我想知道为什么……拉里的律师大军?)
The canonical javax.management:jmxremote_optional appears to have been removed from Maven Central [1]. (I wonder why... legions of Larry's lawyers?)
幸运的是,以下内容似乎是Maven Central [2]上的 的替代产品:
Fortunately the following appears to be a drop-in replacement which is on Maven Central [2]:
<dependency>
<groupId>org.glassfish.external</groupId>
<artifactId>opendmk_jmxremote_optional_jar</artifactId>
<version>1.0-b01-ea</version>
</dependency>
我的JMXMP/TLS代码继续与此一起工作,并在两侧都进行了安全保护和身份验证.愿您的里程同样好. :)
My JMXMP/TLS code continues to work with this, secured and with authentication on both sides. May your mileage be equally good. :)
[1] http://repo1.maven.org/maven2//javax /management/jmxremote_optional/1.0.1_04/
[2] http://repo1.maven.org/maven2 /org/glassfish/external/opendmk_jmxremote_optional_jar/1.0-b01-ea/
这篇关于在哪里下载JMXMP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!