Stack overflow error while running Jprofiler for Jboss 4.0.2

I am getting the below mentioned error while running Jprofiler for Jboss App server.

My JVM version on linux is:

03:39:16,286 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.

03:39:16,287 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems Inc.

03:39:16,287 INFO [ServerInfo] OS-System: Linux 2.6.9-34.ELsmp,i386

Could pass any pointers what could be wrong. This is first time I am using Jprofiler.

TIA,

Sachin

=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/myApp/Jboss-app

JAVA: /usr/java/jdk1.5.0_03/bin/java

JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=runjboss.sh -javaagent:/opt/myApp/Jboss-app/bin/pluggable-instrumentor.jar -DSUN_AM_URL=https://hpss3.ca.myApp.com:68081 -DWhenToUse=never

CLASSPATH: /opt/myApp/Jboss-app/bin/run.jar:/usr/java/jdk1.5.0_03/lib/tools.jar

=========================================================================

JProfiler> Protocol version 22

JProfiler> Using JVMTI

JProfiler> 32-bit library

JProfiler> Listening on port: 8849.

JProfiler> Native library initialized

Error occurred during initialization of VM

java.lang.StackOverflowError

[1433 byte] By [sachin_sachina] at [2007-10-3 3:17:53]
# 1
You could try increasing the thread stack size, e.g. something like 'java -XX:ThreadStackSize=768 ...'But you should really be asking the JProfiler people, they would probably give you better advice.-kto
kellyohaira at 2007-7-14 21:09:32 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2
This happens if the -Xbootclasspath:/a:$JPROFILER_HOME/bin/agent.jar VM parameter is missing or pointing to a non-existent file.
ingo.kegela at 2007-7-14 21:09:32 > top of Java-index,Archived Forums,Debugging Tools and Techniques...