Jconsole通过JMX连接Spring DMserver
本文旨在解决如何通过JMX使Jconsole或者Java VisualVM连接到Spring DMserver/virgo.
?
1. 官方资料
? ? To start SpringSource dm Server with default JMX access enabled
? ? 请参阅官方资料?和后文的Refrence.?
?
2.?remote access over SSL(详细介绍)
? ? SSL连接,需要本地jre安装server指定的数字证书。下面介绍DMserver(virgo)的数字证书存储和导出,及本地jre的证书导入和管理。
?
? ? 2.1 DMserver的证书存储和查阅
? ? ? ? ??keystore文件的存储路径为 dmserver/config/keystore ,dmserver为其安装目录。
?
? ? ? ? ? 查看当前server的证书信息:
?
?
参考资料:
1. keytool ?
? ??http://download.oracle.com/javase/6/docs/technotes/tools/solaris/keytool.html
? ??http://calvinliu.iteye.com/blog/1002758
?
2. Starting with JMX Access Modifications?
? ??http://static.springsource.org/s2-dmserver/2.0.x/user-guide/html/ch02s04.html
?
3.?virgo-user-guide
? ??http://www.eclipse.org/virgo/documentation/virgo-documentation-3.0.2.RELEASE/docs/virgo-user-guide/htmlsingle/virgo-user-guide.html#d0e1262
?