Forums Register Login

About JAMon Usage

+Pie Number of slices to send: Send
Hi,

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.

-Malli
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Hi,

i have placed the jamon.jar file in web-inf/lib folder of jamon and specified that in classpath. Now when i specify

http://host ort/jamon
it is working fine.

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.

-Malli
+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
Hi steve,

Thank you very much.It is working now.

-Malli
Water! People swim in water! Even tiny ads swim in water:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2585 times.
Similar Threads
monitor tomcat and how to view system.out.println on the server?
Testing Performance of J2EE project
How slow is getting the call stack?
How to use Jamon properly for measuring perofrmance of a JSP
benchmarking
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:52:56.