Use visualVM monitor remote Tomcat

2010-03-29  来源:本站原创  分类:Java  人气:378 

Remote server

IP: 192.168.2.99

JDK: jdk1.6.0_17

TOMCAT: 6.0.20

Monitoring Terminal

IP: 192.168.2.49

JDK: jdk1.6.0_17

Steps:

1 / In JDK / bin under a new text file, name jstatd.all.policy
Reads as follows:

grant codebase "file: $ (java.home }/../ lib / tools.jar" (
permission java.security.AllPermission;
);

2 / Run tomcat

3 / Run jstatd-J-Djava.security.policy = jstatd.all.policy

If you need to specify the port, use the jstatd-J-Djava.security.policy = all.policy-p 1982

4 / In the terminal to start VisualVM. The end result shown in Figure:

Use visualVM monitor remote Tomcat

相关文章
  • Use visualVM monitor remote Tomcat 2010-03-29

    Remote server IP: 192.168.2.99 JDK: jdk1.6.0_17 TOMCAT: 6.0.20 Monitoring Terminal IP: 192.168.2.49 JDK: jdk1.6.0_17 Steps: 1 / In JDK / bin under a new text file, name jstatd.all.policy Reads as follows: grant codebase "file: $ (java.home }/../ lib

  • ubuntu10.04 remote tomcat debug configuration under the idea8.0 2010-10-17

    1. Add the remote server in the idea8.0 In the startup / connecton port 7989 under the debug configuration 2.tomcat configured -Xdebug-Xrunjdwp: transport = dt_socket, address = 7989, suspend = n, server = y Configured in catalina.sh export JAVA_OPTS

  • myeclipse remote debugging tomcat application 2009-01-07

    In the remote tomcat, configure the following parameters -Xdebug-Xrunjdwp: transport = dt_socket, server = y, address = 8765 In debug mode, open transport, in order to server the way, in the 8765 port Then in myeclipse Right-click the project, select

  • LoadRunner monitor and control Tomcat 2010-10-27

    LoadRunenr not monitor Tomcat dedicated monitor, in order to monitor the tomcat with the purpose of lr can open the Tomcat Status page that comes after the use of technology is associated lr-related data, the data output to the lr-defined supervisory

  • Myeclipse under tomcat remote debugging (Reprinted) 2010-12-12

    Myeclipse <br /> under tomcat remote debugging applications: Linux under a tomcat application, often throwing a null error recently, but in the local development machine running the application as usual, had no choice but tomcat remote debugging app

  • tomcat under linux set the maximum number of connections, set the maximum memory 2010-12-29

    tomcat under linux set the maximum number of connections, set the maximum memory, the use of Jconsole monitoring 1. Add the Administrator account tomcat tomcat-users.xml to add the administrator account <? Xml version = '1 .0 'encoding =' utf-8 '?>

  • 利用VisualVM排除应用性能故障 2012-01-30

    如果尚未听说过VisualVm,可以去看看调优你的Java和J2EE应用性能. VisualVM是监视您Java/J2EE应用程序性能最好的免费工具之一.如果您尝试使用MyEclipse的VisualVM,你将不得不从30美元的基本许可证升级!但是,如果按照下文所述的步骤,将解释如何免费实现该目的. 没有多少人用它,但它肯定对你更深入的了解您的应用(程序)和定位问题域有所帮助.我们的目标是确定应用的内存异常并查明原因. 在本文章中,将讨论有关VisualVM在Eclipse的配置以及如何监视应用

  • A simple understanding of Tomcat 2 2010-03-19

    In the view source code, the Internet is a series of articles, some for Xiangjie: 1, for tomcat in some important features of the collection, can be learned from the general function of tomcat. http://blog.csdn.net/wangchengsi/archive/2008/09/23/2966

  • Detailed remote monitoring configuration jprofiler WAS 2010-12-25

    First, the server-side installation of WAS and jprofiler Second, view the server computer IP Such as: 192.168.233.129 Third, copy the installation root directory server jprofiler such as: C: \ jprofiler6 Fourth, replication server.xml server to the c

  • Apache + Tomcat load balancing example explanation 2011-03-15

    I. Introduction: Each Tomcat worker is a service web server, waiting for the implementation of the Tomcat servlet instance. For example, we often use as a web server like Apache to forward sevlet request to the back of a Tomcat in the process (that i

  • jprofiler Monitoring Remote WAS configuration in detail 2010-12-25

    A server-side installation of WAS and jprofiler Second, check the server computer IP Such as: 192.168.233.129 Third, the replication server jprofiler installation root directory, such as: C: \ jprofiler6 Fourth, the replication server to the client s

  • IntelliJ IDEA 11 远程调试Tomcat 2013-05-02

    首先修改tomcat bin文件下 catalina.bat批处理文件(linux系统下修改.sh文件) 找到设置JAVA_OPTS变量处新增 set JAVA_OPTS=%JAVA_OPTS% -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=9999,server=y,suspend=n linux下 JAVA_OPTS="$JAVA_OPTS -server -Xdebu

  • Java 进阶(二) 使用visualVM远程监控JVM 2014-09-15

    1.配置Java安全访问 新建文件jstatd.all.policy 内容: grant codebase "file:${java.home}/../lib/tools.jar" { permission java.security.AllPermission; }; 2.在远程服务器上执行 jstatd -J-Djava.security.policy=jstatd.all.policy 3.打开visualVM,Remote上添加远程服务器ip

  • JVM memory monitoring process instance analysis 2011-09-13

    JVM memory monitor whether you are familiar with, here to tell you briefly describe in this paper is to personally test the configuration process in detail, but not reproduced under linux do not need to modify / etc / hosts file, in fact, JDK itself

  • [Turn] 5 you need to master maven command 2011-04-05

    Speaking of maven, I believe people will lament originally used to deploy can be as simple as that and I believe we usually use the most is mvn clean, mvn test, mvn install and other commands, and today, I would like to introduce five exposure rate i

  • Deployment using Maven Management Tomcat6 2010-09-28

    I. Introduction Friends, maybe you have been using Maven for some time, you have benefited from the management of Maven beautiful, but often because of building webapp and Tomcat need to worry about manually released. Of course, you have thought thro

  • Use Maven Cargo Plugin Manager deployment Tomcat6 2010-09-28

    I. Introduction Friends, maybe you have been using Maven for some time, you have benefited from the management of Maven beautiful, but often because of building webapp and Tomcat need to worry about manually released. Of course, you have thought thro

  • JBOSS load balancing 2011-02-15

    JBOSS 4.23GA + Apache 2.2.11 load balancing Details 1, JBoss 4.2.3GA 2, Apache 2.2.11 3, mod_jk-1.2.28-httpd-2.2.3.so First, configure Apache 1, make sure% apache% \ modules have been under the mod_jk-1.2.28-httpd-2.2.3.so file, and renamed mod_jk.so

  • zz: Chinese manual install cacti 2011-03-05

    1, install apache tar xvf httpd-2.2.15.tar.tar cd httpd-2.2.15 makedir / usr/local/apache2 . / Configure - prefix = / usr/local/apache2 - enable-so - enable-mods-shared = most - with-mpm = worker - enable-disk-cache - enable-mem-cache make make insta

  • Common T-CODE Quick, Quick common Table 2011-07-27

    Curious transaction code lists all users to use T-CODE:S_BCE_68001426 Lists the current users themselves available T-CODE:SU56 Display an overview of currently active locks in your system. Do not restrict the selection:SM12 The user's basic rights co