A .war file is a web application archive. It is self extractable archive which is directly deployed on tomcat server.
Apache tomcat (or similar to IIS) application loads these war files, extract them and make them ready to use to clients.
Clients use web application using Internet explorer.
Now, I would like to know how to profile such web application using tomcat also do we need profile internet explorer also.
Again the web applications uses database like mysql and is there need to profile mysql also.
Tomcat internally uses javaw.exe (i am not sure), so do we need to profile it also.
I appreciate your reply.
I've had experience getting VTune analyzer profiling working on a Tomcat server with Jboss - it was difficult, at best. Basically, there are just too many levels of apps running.
Sampling is the easiest to get working, but you need to update the startup scripts so that where javaw is launched, you launch the VTune analyzer command line, vtl, and tell it to launch javaw.exe, being sure to pass the command line option to the JVM (javaw.exe) to enable profiling, typically, -agentlib:javaperf.
Also, if you are collecting too much data, you may need to use the Pause/Resume APIs from your java code, then start collection paused and resume collection from within your code.
I think Peter is correct, also. I don't think it will work with javaw.exe, but you can easily download and run Sun's JVM via their JRE or JDK.