[jboss-dev-forums] [Design of JBoss Profiler] - Profiler running, no data captured

jtrichar do-not-reply at jboss.com
Mon Jul 14 13:47:49 EDT 2008


Hi folks,

I'm trying to profile two WAR apps, one Seam and one Spring, with the v2 profiler. The profiler has been installed and is running (I can access the Controller MBean in the web-console), but when I look at the snapshots there's nothing recorded in the reports.

Installation was almost exactly according to README.txt except that I had to put jboss-profiler.jar in $JBOSS_HOME/server/all/lib to correct a class not found exception on org.jboss.profiler.shared.Command. 

Environment is OSX 10.4; JB 4.2.2.GA; java 1.5.0_13.

jboss-profiler.properties has the following set for include/exclude:

includes=edu.*|private,org.alfresco.*|private
  | excludes=org.jboss.*

and I'm running as:

java -jar jboss-profiler-client.jar startProfiler
  | (run through web app in browser)
  | java -jar jboss-profiler-client.jar stopProfiler
  | java -jar jboss-profiler-client.jar getSnapshot 1 (or 2, or 3...)

The output directory is created, but the report .txt files are just stubs:

cat 20080714133618745-20080714133702906/overview.txt
  | From: 14 July 2008 13:36:18:745
  | To  : 14 July 2008 13:37:02:906
  | 
  | Threads:
  | ========
  | 
  | Most time:
  | ==========
  | Count   Ms      %       Method
  | 
  | Hotspots:
  | =========
  | Count   Ms      Avg     %       Method
  | 
  | 
  | Classes:
  | ========


I've tried changing the includes/excludes values to be more or less precise (anything from just "*" to a fully-qualified class name), but no effect. I can't think what else might be going on to prevent the data capture. Any pointers would be very welcome.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164301#4164301

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164301



More information about the jboss-dev-forums mailing list