首页 > 代码库 > JavaMelody 配置数据

JavaMelody 配置数据

JavaMelody
 
 
1.添加Maven配置:
<dependency>
<groupId>net.bull.javamelody</groupId>
<artifactId>javamelody-core</artifactId>
<version>1.68.0</version>
</dependency>
<dependency>
<groupId>org.jrobin</groupId>
<artifactId>jrobin</artifactId>
<version>1.5.9</version>
</dependency>
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<version>2.1.7</version>
</dependency>
 
2.WEB.XML增加配置:
 
<filter>
<filter-name>monitoring</filter-name>
<filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>monitoring</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>net.bull.javamelody.SessionListener</listener-class>
</listener>
 
3.发布项目
4.访问监控页面:
http://10.17.67.6:8080/lblsapp-web/monitoring
 
 
 
博客:
https://github.com/javamelody
http://www.cnblogs.com/xing901022/p/4116430.html
https://github.com/javamelody/javamelody/wiki/UserGuide#4-pdf-report-generation
http://nirvana-blanks.iteye.com/blog/809629

JavaMelody 配置数据