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

# Integrating JProfiler with JBoss-3.2.3

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
.
.
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.

• ###### 1. Re: Integrating JProfiler with JBoss-3.2.3

I think one of the problems could be because of the Debug option also enables.
set JAVA_OPTS=-classic -Xdebug -Xnoagent ....
I don't know hwy, but if both the debug and the profiler options ae enabled you could see a similar situation.

Try removing the debug option and run.

• ###### 2. Re: Integrating JProfiler with JBoss-3.2.3

"varunrao" wrote:
I think one of the problems could be because of the Debug option also enabled.
set JAVA_OPTS=-classic -Xdebug -Xnoagent ....
I don't know why, but if both the debug and the profiler options ae enabled you could see a similar situation.

Try removing the debug option and run.

• ###### 3. Re: Integrating JProfiler with JBoss-3.2.3

Ya, you are right. Removing the -XDebug option, worked for me. Thank you.

-Jaikiran