转载自:http://blog.csdn.net/mengxuwq/archive/2007/07/03/1677742.aspx
You should check the following:
-
Check if the hostname correctly resolves to the host address.
Run "hostname -i"
command. If it reports 127.0.0.1, JConsole would not be able to connect
to the JVM running on that Linux machine. To fix this issue, edit
/etc/hosts so that the hostname resolves to the host address.
-
Check if the Linux machine is configured to accept packets from the host where JConsole runs on to connect to the application.
Packet filtering is built in the Linux kernel. You can run "/sbin/iptables --list"
to determine if an external client is allowed to connect to the JMX
agent created for remote management. You can use the following command
to add a rule to allow an external client such as JConsole to connect:
/usr/sbin/iptables -I INPUT -s jconsole-host
-p tcp --destination-port jmxremote-port
-j ACCEPT
where jconsole-host
is either the hostname or the host address on which JConsole runs on and jmxremote-port
is the port number set for com.sun.management.jmxremote.port
for remote management.
分享到:
相关推荐
如果初次接触JConsole,应该会很有用的!
使用jconsole远程监控tomcat jmx 实验操作详细信息,本人实验实操
jconsole源码 源码 jconsole jmx
JConsole是一个基于JMX的GUI工具,用于连接正在运行的JVM,不过此JVM需要使用可管理的模式启动。如果要把一个应用以可管理的形式启动,可以在启动是设置com.sun.management.jmxremote。JConsole能够提供被监控虚拟机...
性能监控JConsole远程监控Tomcat服务
JDK1.5提供JMX remote的管理工具Jconsole,可以监控Java运行程序的内存使用情况、活动线程数量、类装载的数量、MBeans的状态、虚拟机的各种信息等,还可以执行MBean公开的方法或强制进行垃圾回收。只要应用服务器...
jconsole.jar下载
jconsole连接JMX在很多例子中采用RMI协议连接。 但是在实际生产环境下,RMI会受到来自防火墙的诸多限制,经常连接不上。 采用JMXMP协议是一个替换办法。 将解压后的几个jar全部拷贝到服务器端%JAVA_HOME%\jre\lib\...
JAVA_OPTIONS=”${JAVA_OPTIONS} -Dcom.sun.management.jmxremote.port=9000″ JAVA_OPTIONS=”${JAVA_OPTIONS} -Dcom.sun.management.jmxremote.authenticate=false” JAVA_OPTIONS=”${JAVA_OPTIONS} -Dcom
分享 JConsole 源代码,MyEclipse工程
jconsole 的中文参考资料。JConsole 是一个基于 JMX 的 GUI 工具,用于连接正在运行的JVM,不过此 JVM 需要使用可管理的模式启动。
jconsole.1.8.0jar 这个包也经常maven导入报错 也是本人亲测有效
jconsole介绍 和相关配置,简单举例jconsole的配制方法
配置tomcat使用jconsole 修改catalina脚本 Windows平台:修改catalina.bat,在dorun和dostart段开头增加一行(注意是一行): set JAVA_OPTS=%JAVA_OPTS% -Djava.rmi.server.hostname=192.168.1.101 -Dcom.sun....
介绍通过Jconsole工具对Java的应用进行监控
是不是有时候jconsole配置后重启报错,那么试试这个,万能的远程打开jconsole
java开发常用组件,jconsole-1.8.0.jar jconsole-1.8.0.jar
jconsole.jar
jvm检测工具,jconsole工具介绍,其他同类工具介绍