Performance monitoring tool Javamelody integration with spring

Source: Internet
Author: User

More information can be accessed at Javamelody's official website

I have been in the process of integration, there has been commonhibernatedao loading problem,

Also, depending on the official documentation, if your app conflicts with Monitoring-spring.xml or AOP, use the monitoring-spring-datasource.xml file instead Monitoring-spring.xml , this file contains only one datasource sending process and one example of Springdatasourcefactorybean.

Reference: http://www.cnblogs.com/xing901022/p/4121969.html

Here is my configuration:

Configure in Spring-base.xml:

<import resource= "Classpath:net/bull/javamelody/monitoring-spring-datasource.xml"/>
<import resource= "Classpath:net/bull/javamelody/monitoring-spring-aspectj.xml"/>

configuring in Web. xml

<filter-name>monitoring</filter-name>
<filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>monitoring</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>net.bull.javamelody.SessionListener</listener-class>
</listener>

Increase in Lib:

Jrobin-1.5.9.1.jar

and Javamelody.jar two jar packs

Access address after starting the project

HTTP://LOCALHOST:8281/Project Name/monitoring

Due to the problem of Google visit, please https://dl.pandaidea.com/jarfiles/j/javamelody/javamelody-1.50.0.zip

Download the jar Package

Performance monitoring tool Javamelody integration with spring

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.