6 Replies Latest reply on Jan 15, 2010 11:58 AM by noise_is_life

    Has this project stalled?

      I see quite a few user questions that have gone unanswered and no beta release since early last year.

       

      I'm interested in the project but don't want to spend the time if it is a dead end.

       

      I believe I have the profiler running, but am unable to get it to profile my classes.

       

      Thanks!

        • 1. Re: Has this project stalled?
          jesper.pedersen

          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?

            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

              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?

                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

                  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?

                    Bah, that was it, I had a typo.

                     

                    Thanks, you've been very helpful.