English 中文(简体)
JConsole 远程连接 JConsole 热门服务器
原标题:JConsole remote connection james server
  • 时间:2012-05-25 13:17:14
  •  标签:
  • jconsole

我试图让jconole远程连接到 James jmx 。 我设置了这些参数的远程配置 :

-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=<host ip>
-Dcom.sun.management.jmxremote.port=<port>
-Dcom.sun.management.jmxremote

我甚至在当地为我的JAVA_OPTS设置了参数。不管怎样,它无法连接。

最佳回答

错误非常模糊。 在定义 jmx 属性( jmx. propertys file ) 时, 有两个参数 :

jmx.address=${jmx.address}
jmx.port=${jmx.port}

${jmx.address/code> 是一个主机名, 但必须是IP地址, 否则它不会连接。 我花了一些时间才意识到, 我希望这有帮助 。

问题回答

暂无回答




相关问题
Location of Java dump heap file when using jconsole?

Well this is embarrassing ... I m starting to play with the Eclipse Memory Analyzer to look for Java memory leaks on a Windows box. Step 1 is to obtain a heap dump file. To do this I start my Java (...

How to see the memory usage of NIO buffers?

Is there a way to see the memory usage of NIO buffers? There is the non-heap memory section in JConsole, but I do not think this includes the NIO buffers? Operating system is Linux (Ubuntu or CentOS) ...

How to ouput text to console from Servlet

I have a servlet. But it is not working as desired. Hence for debugging purposes, I want to print statements to the java console(the one that can be opened using the java icon in taskbar). However, if ...

Monitoring resource use in Jboss in JMeter performance test

We are performing some JMeter tests on a JBoss 4.0.5 deployed web app. We want to integrate the resource usage on the application on the server (memory, threads, etc) with the JMeter response time ...

How do I programmatically dump JMX data?

I want to be able to log all JMX data accessible via jconsole. Is there a way to do this programmatically? I m building a form of logging of the system, and I want to create intervaled data viewable ...

MBean Simple Graph Monitor

I have some JMX Beans that expose performance information in my application. I would like to have some facility to plot an attribute of an MBean in a graph for monitoring (a la Windows Perf Mon). I ...

JConsole alternative [closed]

Does there exists any JConsole alternative which i could bundle with my app ?