---
title: "VisualVM"
author: "ayang722"
date: "2011-03-14T10:47:25Z"
tags: ["C", "C#", "C++", "SUN", "Weblogic"]
categories: ["编程语言"]
slug: "visualvm"
draft: false
lastmod: "2011-03-14T15:53:16Z"
id: 960889
url: "https://ayangtian.iteye.com/blog/960889"
---

weblogic:

 

为Managed Server配置JMX  
修改D:\\bea\\user\_projects\\domains\\dizzyworld\\bin\\startManagedWebLogic.cmd(weblogic安装目录)  
在第59行后增加：  
\-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port="9004" -  
Dcom.sun.management.jmxremote.authenticate="false" -  
Dcom.sun.management.jmxremote.ssl="false"  
重启Managed Server即可生效  
为Admin Server配置JMX  
cD:\\bea\\user\_projects\\domains\\dizzyworld\\bin\\startWebLogic.cmd(weblogic安装目录)  
在第82行后增加：  
\-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port="9003" -  
Dcom.sun.management.jmxremote.authenticate="false" -  
Dcom.sun.management.jmxremote.ssl="false"

（注意：增加的代码不能有回车符号，如果有回车符号需要在后面加"\\"）

 

 

附件中为《VisualVM入门指南》

 

 

VisualVM插件的安装方法：

1.从visualVM官方网站中下载插件

2.解压缩“插件.rar”文件,

3.将内容复制到目录下：c:\\Document and settings\\用户名\\Application Data\\目录下