3 Replies Latest reply on Jan 19, 2006 9:09 AM by jaikiran pai

    Integrating JProfiler with JBoss-3.2.3

    jaikiran pai Master

      Hi,
      I am trying to integrate JProfiler 4.1.2 with JBoss-3.2.3. I modified the run.bat of jboss as suggested in the instructions of JProfiler. I specified the "nowait" option too. Following is what i added to run.bat of jboss.

      "-Xrunjprofiler:port=8849,nowait,id=111,config=C:\Documents and Settings\jai\.jprofiler4\config.xml" "-Xbootclasspath/a:E:\My Downloads\Utilities\JProfiler\JProfiler\jprofiler4\bin\agent.jar"


      However when i execute run.bat of jboss, the jboss just hangs after displaying the following message, though it says its NOT waiting for frontend to connect.

      ===============================================================================
      .
       JBoss Bootstrap Environment
      .
       JBOSS_HOME: D:\jboss\bin\\..
      .
       JAVA: c:\j2sdk1.4.2_04\bin\java
      .
       JAVA_OPTS: -classic -Xdebug -Xnoagent "-Xrunjprofiler:port=8849,nowait,id=110,config=C:\Documents and Settings\jai\.jprofiler4\config.xml" "-Xbootclasspath/a:E:\My Downloads\Utilities\JProfiler\JProfiler\jprofiler4\bin\agent.jar" -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Dprogram.name=run.bat -Xms256m -Xmx1024m -XX:MaxPermSize=256m -Xss512k
      .
       CLASSPATH: ;c:\j2sdk1.4.2_04\lib\tools.jar;D:\jboss\bin\\run.jar;
      .
      ===============================================================================
      .
      Warning: classic VM not supported; client VM will be used
      JProfiler> Protocol version 21
      JProfiler> Using JVMPI
      JProfiler> 32-bit library
      JProfiler> Don't wait for frontend to connect.
      JProfiler> Using config file C:\Documents and Settings\jai\.jprofiler4\config.xml (id: 110)
      JProfiler> Listening on port: 8849.
      JProfiler> Native library initialized
      
      


      Does anyone have a solution for this? Or does anyone know how to configure JBoss-3.2.3 with JProfiler 4.1.2?

      Thank you.