-
1. Re: Need help to make JBoss Profiler (2.0 Beta5) work
jesper.pedersen May 19, 2010 4:28 AM (in response to naiteju)The jboss-profiler-client.jar doesn't need the -Djboss-profiler.properties argument.
Do
java -jar jboss-profiler.jar startProfiler // Run your application java -jar jboss-profiler.jar stopProfiler java -jar jboss-profiler.jar getSnapshot 1
HTH
-
2. Re: Need help to make JBoss Profiler (2.0 Beta5) work
hughw May 20, 2011 4:19 AM (in response to jesper.pedersen)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
-
3. Re: Need help to make JBoss Profiler (2.0 Beta5) work
nate_drake May 31, 2011 12:21 PM (in response to hughw)I'm seeing the same thing with JBoss 4.2.3GA and JBoss profiler 2.0 beta5. 0ms for all my classes.
-
4. Re: Need help to make JBoss Profiler (2.0 Beta5) work
hkrunnerhk Sep 5, 2011 4:00 AM (in response to hughw)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?
Regards