File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes problems displaying stats using jamon admin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "problems displaying stats using jamon admin" Watch "problems displaying stats using jamon admin" New topic
Author

problems displaying stats using jamon admin

Sven Anderson
Ranch Hand

Joined: Apr 14, 2004
Posts: 58
Hi,

I'm unable to display monitors and stats in jamon admin for a small tester web application running on Tomcat 5.5. I'm using jamon-2.7 in my web app as well as for Tomcat (added to the common/lib folder). All I can see in jamonadmin.jsp are the default "com.fdsapi.xxx" that seems to be shipped with the war file.

I've added a one line statement to one of my methods



and when I run my webapp I do see the stats being displayed in the tomcat log. However, nothing appear in jamonadmin.jsp. I do use Log4j (v1.2.9) and for the time being I've set the log4j.rootLogger = TRACE in my log4j.property file. Any idea what I'm doing wrong?


ps. Initially I tried to use the filter in web.xml but when that didn't work I tried to use the example above.

Thanks
S
Sven Anderson
Ranch Hand

Joined: Apr 14, 2004
Posts: 58
Hi Guys,

I fixed the problem. Noticed that I was using multiple jamon jars. Taking one out solved my problems.
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 860
The most typical problem i seen in jamon configuration is multiple jamon jar files in the classpath. The jamon war that displays the data is different from your application, and so jamon jar must be loaded via a common class loader. This means you should have jamon jar at the server level versus in your applications web-inf/lib folder.


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problems displaying stats using jamon admin
 
Similar Threads
Sybase problem
Using JAMon
Using Jamon for JSP Page
DB Monitoring
JAMon 2.1 and Monitoring SQL/JDBC