Remote Debugging Jboss 3.2.3

hi there, I am trying to remote debug my JBoss 3.2.3 in the following way, using IntelliJ 4:

In the Jboss's run.bat file I have:

Code:

set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=5000,suspend=n %JAVA_OPTS%

Than the execution line is
"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*

Yet, IntelliJ is "stuck" on Connecting to the target VM at 'localhost:5000' using socket transport. As I am used from IntelliJ 3.x it used to say "connected..."

What am I doing wrong?

Please sign in to leave a comment.