This discussion is archived
2 Replies Latest reply: Aug 31, 2012 12:23 AM by 765321 RSS

Profiling Tomcat based Web application using JConsole

800839 Newbie
Currently Being Moderated

I have a web application which is deployed in tomcat 6 , i want to know how i can profile the web application by launching the WAR file of tomcat using JConsole?

Is it possible we can profile the web application deployed in tomcat using the below:-

In the catalina.bat:-

set JAVA_OPTS=%JAVA_OPTS%"9001""false""false"

Now you can open jconsole using below command:-

C:\jdk1.6\bin>jconsole localhost:9001

Whether the above will profile the web application deployed in tomcat? I tried the above but in vain?

Similarly, is it possible to launch an enterprise application .EAR using JConsole and profile the enterprise application?

Please shed some light into this.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points