3 Replies Latest reply on Nov 1, 2006 10:47 PM by clebert.suconic

    Please help me about jboss-profiler configuration.

    rainbow_dai

      Dear everybody, I come from China, and I am new user of jboss-profiler. there are some issue happened when I analyse the log data, can you help me and give me some suggestion!! the issue is below for detail:

      I use jboss-profiler release: jboss-profiler-1.0.RC3
      jboss release : jboss-4.0.4.GA
      JDK relase : JDK1.5.0_06

      I successfully catch the log data using jboss-profiler interceptor and save at E:\log.

      and then I access URL: http://localhost:8080/jboss-profiler. and enter this page, and select a PID which I want to analyse, and then it start to process registers, when it finished. I click the "click here", it should appear the page like below:
      http://labs.jboss.com/portal/jbossprofiler/doc/images/Screenshot-ProceessView_Methods-tracing.png

      but in my result page, there is nothing in the list!!
      I don't know why. please help me, everybody! Thanks very much!

        • 1. Re: Please help me about jboss-profiler configuration.
          clebert.suconic

          What's the argument list you have used in your -XrunjbossInspector:directory,parameters ?


          You are probably using something invalid as start class. Try using only -XRunjbossInspector:directory and nothing else after that.

          If you need other arguments I can help adding more stuff later.

          • 2. Re: Please help me about jboss-profiler configuration.
            rainbow_dai

            clebert, Thanks for your suggestion.
            I execute the command is "java -XrunjbossInspector:e:\log,include=org.jboss,ignore=*,start=org.jboss.mq.MQServer,uniqueNames=true" in MS-DOS
            and there will be some info as below:
            ******************************************************
            Running process on Windows 2520
            Usage: java [-options] class [args...]
            (to execute a class)
            or java [-options] -jar jarfile [args...]
            (to execute a jar file)

            where options include:
            -client to select the "client" VM
            -server to select the "server" VM
            -hotspot is a synonym for the "client" VM [deprecated]
            The default VM is client.

            -cp <class search path of directories and zip/jar files>
            -classpath <class search path of directories and zip/jar files>
            A ; separated list of directories, JAR archives,
            and ZIP archives to search for class files.
            -D=
            set a system property
            -verbose[:class|gc|jni]
            enable verbose output
            -version print product version and exit
            -version:
            require the specified version to run
            -showversion print product version and continue
            -jre-restrict-search | -jre-no-restrict-search
            include/exclude user private JREs in the version search
            -? -help print this help message
            -X print help on non-standard options
            -ea[:...|:]
            -enableassertions[:...|:]
            enable assertions
            -da[:...|:]
            -disableassertions[:...|:]
            disable assertions
            -esa | -enablesystemassertions
            enable system assertions
            -dsa | -disablesystemassertions
            disable system assertions
            -agentlib:[=]
            load native agent library , e.g. -agentlib:hprof
            see also, -agentlib:jdwp=help and -agentlib:hprof=help
            -agentpath:[=]
            load native agent library by full pathname
            -javaagent:[=]
            load Java programming language agent, see java.lang.instrument
            *************************************************************

            Base on your suggestion, I try to use only -XRunjbossInspector:directory, such as "java -XrunjbossInspector:E:\log". It still can get data, but also no result in list after analyse these data.

            otherwise, I set an new environment variable JAVA_OPTS. such as below:
            "JAVA_OPTS=-XrunjbossInspector:/E:\log,include=org.ex,ignore=*,start=org.ex.Main"

            Thank a lot!!

            • 3. Re: Please help me about jboss-profiler configuration.
              clebert.suconic

              when I told you to execute java -XrunjbossInspector: without any more arguments... I didn't mean it that literally...

              -XrunjbossInspector:directory is the one of the JAVA_OPTS you should set... on the inspectorOptions use only the directory as a test.


              you should have (-XrunjbossInspector:) as one of your java arguments... keep your memory and your other parameters...


              As for your data capture not working the problem was the start parameter... The start is used to only start capturing after certain point. This thread will have some information:

              http://www.jboss.com/index.html?module=bb&op=viewtopic&t=91178