1. 修改Tomcat 7的源码:org.apache.catalina.mbeans.JmxRemoteLifecycleListener. Add Getter and Setter methods for property clientAuth. update properties rmiRegistryPortPlatform and rmiServerPort humanly to rmiRegistryPort and rmiServerPort. Modify method names corresponding these properties. Delete below lines:
// String clientAuthValue = System.getProperty(
// "com.sun.management.jmxremote.ssl.need.client.auth", "true");
// clientAuth = Boolean.parseBoolean(clientAuthValue);
// String authenticateValue = System.getProperty(
// "com.sun.management.jmxremote.authenticate", "true");
2. Package this single class to a jar file and place this jar file in Tomcat_home/lib.
3. Modify server.xml:
Add a lisener into server.xml:
<Listener className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" rmiRegistryPort="1098" rmiServerPort="1099" authenticate="false"/>
分享到:
相关推荐
how to configure kernelhow to configure kernel
How to Configure User Status in mySAP SRM.pdf
This article introduces how to configure ODBC DSN in Client to access remote DB2 for windows in detail. Then I give a sample how to access remote DB2 database with ODBC by DB Query Analyzer ...
This article introduces how to configure ODBC DSN in Server to access local DB2 for windows in detail. Then I give a sample how to access local DB2 database with ODBC by DB Query Analyzer expediently.
How to configure an Anybus PROFIBUS Slave module with a Siemens Step7 PLC Below you find an overview of the system configuration that is escribed in this document. In this case the Anybus Slave ...
Linux_Configure_TOMCAT 5.0.27 Linux_Configure_TOMCAT 5.0.27 Linux_Configure_TOMCAT 5.0.27
How to Configure NLB MP in mix and native mode
20.2.7. Known Limitations 20.3. LiveReload 20.4. Global Settings 20.5. Remote Applications 20.5.1. Running the Remote Client Application 20.5.2. Remote Update 21. Packaging Your Application for ...
How to configure OneFS to allow NFS mounts from unprivileged ports
It is with this approach that I have used Tomcat for many years and now come to write about it. Tomcat is a fine piece of software, and does its job as a servlet container extremely well. What I want ...
KBA_180523214236_2__PMIC__PMI632_How_to_configure_.pdf
How to Configure the Universal Worklist (NW2004)[1].pdf
在Ubuntu18.04中安装NFS服务器以及配置NFS 客户端,详细安装步骤过程,简单实用,一学就会
How to Configure Odoo 13 on Pycharm Ubuntu 18 ubuntu18下安装ODOO13 pycharm配置ODOO13开发环境
Next, the reader will learn the steps that must be taken to configure their servers and workstations to make the compatible with WSUS. A special section then follows to help readers migrate from ...
This Administrator’s Guide provides information on how to configure and manage the Legato NetWorker® Module for Oracle release 4.1 software for Oracle data storage management. Note: In this guide, ...
System Configuration covers system-wide settings for the global memory pool, tick frequency, ISR...Event Recorder Configuration provides several parameters to configure RTX for usage with Event Recorder.
HOWTO Configure DCOM Timeouts如何配置DCOM的超时设定(13KB)
Note: As Tomcat 7 matures, the above list will be added to. The list is not considered complete at this time. The remaining classes are considered part of the Tomcat internals and may change without...
How to check your JavaScript source code for common mistakes without actually running the script or opening the web page Character properties at your fingertips Access the properties of a character ...