I am also not getting all the results I am expecting from the profiler.
I am running Mobicents Sip Servlets on JBoss 5.1.0 and I am trying to use JBoss profiler 2.0 Beta5.
The results page lists all my classes, but only shows samples for a couple of them. Everything else has 0.00ms including the servlet class (the entry point)
I need to pass a different host to connect to (ip address, not localhost) so I'm using jboss-profiler-client.properties for that
I am also using jboss-5.1.0.GA with jboss-profiler-2.0.0.Beta5 in windows environment.
1) Add the below in run.conf.bat
set JAVA_OPTS=%JAVA_OPTS% -javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties
2) Copy the files below to corresponding folders
jboss-profiler.jar, jboss-profiler.properties, jboss-profiler-plugins.jar to jboss_directory/bin
jboss-profiler.sar to jboss_directory/server/default/deploy
3) Restart Boot application server
4) Try to capture the statistics by
java -jar jboss-profiler-client.jar startProfiler
< then run my application>
java -jar jboss-profiler-client.jar stopProfiler
java -jar jboss-profiler-client.jar getSnapshot 1
A folder has been generated under the jboss-profiler directory. However, all the result shown in the html got Total Time and Wait Time of 0.00ms.
Is there anything I have missed?