Hi Peter,
Thanks for reply. Actually I am new to
JBoss . When i tried by modifying the JAVA_OPTS in the run.bat as you suggested in the following way :
previous:-
JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
new:-
JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
Then I run the jboss server manually by clicking "run.bat" in the jboss bin.Then I started the debugger in the intellij idea editor.
But when i gave
http://localhost:8080/ in the browser its displaying the jboss home page and on giving
http://localhost:8787/ , I get this exception in the pop up generated in editor .
Error running jboss: Unable to open debugger port : java.io.IOException "handshake failed - unrecognized message from target VM"
and in the editor console this message is displayed:
Disconnected from the target VM, address: 'localhost:8787', transport: 'socket'
Can you please give me the steps that I have to follow to debug the application from the idea editor.
thanks and regards,
Krish...