带有私有RMI主机名的JConsole

时间:2015-09-07 15:02:21

标签: java jboss rmi jconsole

我有一个运行 -Djava.rmi.server.hostname 参数设置为私有IP 的JBoss应用程序服务器,这阻止了我与JConsole连接

我的其他选择是:

-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=31337 
-Dcom.sun.management.jmxremote.local.only=false 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false 

我无法将 -Djava.rmi.server.hostname 参数更改为公共IP,因为应用程序组件正在使用私有IP进行通信。

是否有解决此问题的解决方法?

0 个答案:

没有答案