-
1. Re: Has this project stalled?
jesper.pedersen Jan 15, 2010 10:17 AM (in response to noise_is_life)The project is not dead - we just have limited resources currently for adding new features.
So feel free to help out in an area that interest you
-
2. Re: Has this project stalled?
noise_is_life Jan 15, 2010 11:02 AM (in response to jesper.pedersen)Great!
The most obvious thing would be to help out with some documentation once I figure things out enough for my own purposes.
So on to my questions to at least get the thing working.
I have the profiler running and am able to take snapshots, but have been unable to get my classes to show up in the profile.
Here are the first few lines of my jboss-profiler.properties:
enable=yes
precompiled=no
cpu=yes
memory=yes
includes=com.upstream.inbound.*|public,com.upstream.inbound.*|public
excludes=*
visibility=private
save=yes
savelocation=.
startup=yes
...Edit: And I just noticed I have the same package specified twice, going to check that.
I'm unclear as to the purpose of the private/public visibility attribute so I guessed.
I also tried the following command in an attempt to get the profiler to see my classes:
java -jar jboss-profiler-client.jar -h 0.0.0.0 -p 5400 add com.upstream.inbound.*
But no luck.
My attempts so far have been with 2.0.0.Beta5.
Thanks.
-
3. Re: Has this project stalled?
jesper.pedersen Jan 15, 2010 11:09 AM (in response to noise_is_life)Start with the static configuration in order to get a setup that works for you.
The "includes" property in your case means that all public methods in com.upstream.inbound and sub-packages will be profiled.
The "visibility" property means that by default private methods are being profiled.
See Chapter 4 in the user guide for a description of the various properties - then Chapter 5 for the supported commands.
Once you got it running feel free to submit a "Quick Start" chapter as a patch to our JIRA installation.
-
4. Re: Has this project stalled?
noise_is_life Jan 15, 2010 11:24 AM (in response to jesper.pedersen)So if I'm understanding what you are saying, it seems things should be in order. I've been through the entire document a couple of times, what it doesn't really tell me is how to exactly string all those dandy properties and commands together in a meaningful way. Obviously the default properties file goes a long way in that regard.
A couple follow-ups.
The classes in question live in an EAR, should that matter?
When I run a list from the client I get the following:
[admin@g2a jboss-profiler-2.0.0.Beta5]$ java -jar jboss-profiler-client.jar -h 0.0.0.0 -p 5400 list
org.jboss.profiler.*
org.apache.jsp.*Neither of those packages are defined in my config and there is no sign of the packages I did define.
-
5. Re: Has this project stalled?
jesper.pedersen Jan 15, 2010 11:29 AM (in response to noise_is_life)Are you sure that the necessary arguments (Chapter 3.1) points to the correct file ?
-javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties
-
6. Re: Has this project stalled?
noise_is_life Jan 15, 2010 11:58 AM (in response to jesper.pedersen)Bah, that was it, I had a typo.
Thanks, you've been very helpful.