...
It allows to improve applications in QA and production and helps to: *give
- Give facts about the average response times and number of executions
...
- Make decisions when trends are bad, before problems become too serious
...
- Optimize based on the more limiting response times
...
- Find the root causes of response times
...
- Verify the real improvement after
...
- optimization
It includes summary charts showing the evolution over time of the following indicators: •
- Number of executions, mean execution times and percentage of errors of http requests, sql requests, jsp pages or methods of business façades (if EJB3, Spring or Guice)
...
- Java memory
...
- Java CPU
...
- Number of user sessions
...
- Number of jdbc connections
These charts can be viewed on the current day, week, month, year or custom period.
You can even execute garbage collection to free resources, or view / invalidate http sessions.
Setting up
...
Javamelody on your server
...
*Step 1: *
Download the javamelody-1.36.0.zip zip file.
Now, unzip, and add copy the files javamelody.jar and jrobin-x.jar into the in the lib directory of Tomcat.
Now, add
*Step 2: *
Add the following lines in the web.xml file of the conf directory of Tomcat (and not in the WEB-INF/web.xml files of the webapps).
...