I need to profile serving of pages from a JSP web application, including all the time all the way through to the Oracle back end. My current plan is to run Tomcat under JProfiler. Has anyone done this before, and any thoughts on whether this is the best way to do it and what pitfalls I might have to look out for?
JAMon comes with a servlet filter that tracks various statistics for every jsp, servlet, gif, jpg etc including hits, avg time, max time, min time, max concurrency and more. JAmon is simple to use and using the servlet filter should only require minimal effort to incorporate. It is fast enough to monitor in production systems, and is in your war, so no special installation is required. The demo available at http://www.fdsapi.com uses the jamon servlet filter. It aslo monitors all jdbc calls and more.
In case anyone has a similar problem and looks this up in the future, I ended up setting up a Tomcat installation and having JProfiler run it and profile it. JProfiler had nice guided dialog to set up such an arrangement once I had the web site running.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop