tomcat jmx穿防火墙
来源:互联网 发布:天志erp软件 编辑:程序博客网 时间:2024/04/28 01:12
JMX Remote Lifecycle Listener (org.apache.catalina.mbeans.JmxRemoteLifecycleListener)
This listener requires catalina-jmx-remote.jar
to be placed in $CATALINA_HOME/lib
. This jar may be found in the extras directory of the binary download area.
The JMX Remote Lifecycle Listener fixes the ports used by the JMX/RMI Server making things much simpler if you need to connect jconsole or a similar tool to a remote Tomcat instance that is running behind a firewall. Only these ports are configured via the listener. The remainder of the configuration is via the standard system properties for configuring JMX. For further information on configuring JMX seeMonitoring and Management Using JMX included with the Java SDK documentation.
If this listener was configured in server.xml as:
<Listener className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" rmiRegistryPortPlatform="10001" rmiServerPortPlatform="10002" />
-Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.password-Dcom.sun.management.jmxremote.access.file=$CATALINA_BASE/conf/jmxremote.access-Dcom.sun.management.jmxremote.ssl=false
admin letmein
admin readwrite
service:jmx:rmi://<hostname>:10002/jndi/rmi://<hostname>:10001/jmxrmi
admin
and a password of letmein
.Note that the example above does not use SSL. JMX access should be considered equivalent to administrative access and secured accordingly.
This listener must only be nested within a Server element.
The following additional attributes are supported by the JMX Remote Lifecycle Listener:
rmiRegistryPortPlatform
The port to be used by the JMX/RMI registry for the Platform MBeans. The replaces the use of thecom.sun.management.jmxremote.port
system property that should not be set when using this valve.
rmiServerPortPlatform
The port to be used by the Platform JMX/RMI server.
useLocalPorts
Should any clients using these ports be forced to use local ports to connect to the the JMX/RMI server. This is useful when tunnelling connections over SSH or similar. Defaults tofalse
.
- tomcat jmx穿防火墙
- JMX实践-JMX rmi 防火墙
- delphi实现穿XP防火墙
- 转:新的穿防火墙技术
- 无DLL 穿防火墙下载者
- 让tomcat支持JMX
- 利用JMX 监控 tomcat
- JMX监控Tomcat
- [转]Tomcat JMX配置
- JMX监控Tomcat
- JMX管理Tomcat/Resin
- JMX监控Tomcat
- 利用JMX监控tomcat
- JMX监控Tomcat
- JMX监控Tomcat
- jmx控制tomcat
- JMX监控-tomcat
- JMX监控Tomcat
- jQuery与javascript事件对比
- python: 函数加括号,不加括号的区别
- JS复制各种链接
- 详解SVN提交更新七大准则
- OSI和TCP/IP模型之间的区别-----无线网络通讯协议有哪些
- tomcat jmx穿防火墙
- FOR XML PATH 语句的应用
- openlayers 画圆
- 开发中遇见的怪问题
- ADPCM压缩算法
- 简述c++中string对象的内存分配策略?如何获得其可存储的最大字节
- clearcase1的内容
- 如何搭建SVN服务器
- python: 单列模式