I learn about javaagent and created a simple profiler
http://www.javabeat.net/2012/06/introduction-to-java-agents/
I have profiled a Java application and it works great. can i use this profiler to profile a web application deployed to tomcat. I tried this setting in CATALINA.bat "SET JAVA_OPTS =% JAVA_OPTS% -javaagent: /path-to-profiler/profiler.jar" and started the server, but I did not find the required output.
source
share