1 Reply Latest reply on May 3, 2005 12:10 PM by clebert.suconic

    Cannot start JBoss with profiler on

    fredatwork

      Hello,

      I'm starting using JBoss Profiler 1.0 RC1.

      I followed the instructions provided by Torben Jager's HOWTO.

      I customized my JBoss 4 setup on Windows:
      - I added jbossInspector.dll to your %PATH%
      - I copied profilerConsole.jar to $JBOSS_HOME/bin/
      - I added profilerConsole.jar to boot classpath of jboss in start-up script

      However JBoss does not start anymore.

      I says "Fatal Error: Cannot find br.com.summatech.serverSpy.StartupProfilerCheck.initCheck(String, int)".

      I opened the provided profilerConsole.jar file and the StartupProfilerCheck class in in package com.jboss.profiler.threadcheck.

      Is there a working binary release available ?

      Fred

        • 1. Re: Cannot start JBoss with profiler on
          clebert.suconic

          There is two ways to start the profiler:

          I - A generic way, in places where you don't have JMX MBeans, using the socket console.

          II - Using Jboss MBeans JMX Console.

          From the readme.txt

          Alternatively, if you're running the profiler under JBoss, you can deploy
          either jboss-profiler-noAOP.sar or jboss-profiler.sar and stop, start, pause
          the data capturing through JMX and the JMX console. The MBean has the
          javax.management.ObjectName jboss.profiler:mbean=Native-profiler .




          So, just add the -XrunjbossInspector: to your run.bat/run.sh as usual and start/stop data capturing using the JMX console.


          Clebert Suconic