This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
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.
First, I told you to uncomment the JAVA_OPTS that enable debugging. Because you did not say which operating system you were using, I had to guess, so I showed you the debugging settings in the run.conf file. Based on what you posted, it looks like you already uncommented JAVA_OPTS that enable debugging in run.bat. You should revert the settings back to what was there.
Second, I don't use Idea so I do not know what to do to get it to hook up with the the JVM to debug it. Obviously, opening your browser to the debugging port (8787) is not the correct thing to do.
Look in the Idea documentation on how to debug a remote Java application, that should give you the rest of the steps. Or maybe someone else who uses Idea can help.