Steps:
1.Download "JBoss Profiler 2.0" - http://labs.jboss.com/jbossprofiler/downloads.html
2.Copy files to your Jboss,
- jboss-profiler.jar -> jboss/bin
- jboss-profiler.properties (Add packages to be instrumented in includes) -> jboss/bin
- javassist.jar -> Jboss/bin
- jboss-profiler.sar -> jbossas/server/(default)
/deploy
-javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties
4.Start the Server, Use the Client program to collect the statistics,
java -Xmx512m -Djboss-profiler-client.properties=jboss-profiler-client.properties -jar jboss-profiler-client.jar -h(server-host)
Reference:
1.Excellent User Guide comes with the download, it has everything you needed to know.
Checkout In Dzone
No comments:
Post a Comment