1 Reply Latest reply on Mar 16, 2006 10:36 AM by clebert.suconic

    Remote Profiling Using JbossProfiler

    jaggibrijesh

      Hi ,
      i am using JbossProfiler to profile a remote server . I have been able to sucessfully profile a server localy , not very sure of how to profile a remotely placed live server .

      I have added the folllowing entry in the run.bat of my local Jboss .

      -XrunjbossInspector:tmp,socket=192.168.8.89:8080

      192.168.8.89:8080 is where the app is running(Remote live Server) .
      When i start Jboss after this i get the following error .


      FatalError: Cannot find org.jboss.profiler.threadcheck.StartupProfilerCheck.initCheck(String,int)
      Check you classpath for profilerConsole.jar


      I decompiled the profilerConsole.jar to view its code , it seems like it needs an entry for the pid as well . We tried adding an pid to it .

      -XrunjbossInspector:tmp,socket=192.168.8.89:8080 1736

      but still got the same error .



      Any suggestions Guys .










        • 1. Re: Remote Profiling Using JbossProfiler
          clebert.suconic

          JBoss Profiler always sends the output to files. Never through socket.

          So, you should use JBoss Profiler as you would do locally:


          -XrunjbossInspector:/tmp


          That socket option is to be used with profilerConsole.jar, and it's not very useful any more.

          Just install jboss-profiler-noAOP.sar into your /deployment directory, add the JVM argument (-Xrun...) and call start through JMX console on (http://<server-ip>:8080/jmx-console, and select a local directory to the server. Nothing changed between a remote and a local profiler.