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.
Hi , I am using intellij idea editor. When i configure the jboss-4.0.1 and trying to debug the application , it is giving the following error in th pop up .
Look in the run script (run.bat or run.conf, depending on your operating system), and uncomment the JAVA_OPTS setting to enable debugging. Here is an example from run.conf:
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 :
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.