I am trying to use JAMon for performance testing.Here i downloaded jamon2.2 zip file and place the jamon2.2.jar file in weblogic's lib directory. And i have deployed jamon.war in weblogic.And i deployed my application in weblogic.
To test the performance i changed one of my Jsp page and include start() and stop() methods of Monitor in it and add proper import statements in that page.Now i can acess the jamonadmin.jsp page. But i can't be able to see The information about the JSP page which i have modified with JAMon statements.
Please let me know what is the procedure to see the performance of my page. I am not getting the report of my page. How can show the report of my page. Plese let me know this. Thanks in advance.
Sounds like you put the jamon jar in an area where both your application and the jamon war viewer can access the classes. By the fact that you are not getting exceptions that the classes are not found I would say that both your app and the jamon war can access the jar (make sure your log files don't have exceptions). Given that both don't have exceptions I suspect there are multiple copies of the jar and your app writes to one classloaders version (say one in your apps web-inf/lib), and the jamon war viewer looks at another. Look at your disk for multiple copies of the jamon jar file.
Now,I have modified my Application. I add Monitor.start() and stop() methods in a JSP page and write import statement as "import com.jamonapi.*;".i am accessing that JSp page through my application. I want to see the perfomance of that page through JAMon. How can see this.
When i see http://host ort/jamon/jamonadmin.jsp. It is not diplaying anything abt my JSP page.
Can anybody tell me how to incorporate JAMon with my application to see the performance of my Application.What are step we need to follow to achieve this? Thanks in Advance.
Joined: Jun 26, 2002
1) Remove the jamon jar file from web-inf/lib and place it in the servers jar directory. Make sure it isn't in the web-inf/lib either your web app or the jamon veiwer web app.
2) In general if you have the same copy of jamon jar available to both the jamon viewer web app, and your app the viewer will display stats from you application. [ September 13, 2006: Message edited by: steve souza ]