0 Replies Latest reply on May 5, 2003 1:35 PM by ravisatchi1

    Setup debugger with Eclipse- Refused Connection to VM

    ravisatchi1 Newbie

      Hello,

      I deployed "ear" in JBoss. In the run.bat, i have included the following:

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

      "%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %ARGS%

      Deployed the module successfully.

      I try to connect to port=8787 on my local host from my IDE, Eclipse, to debug. It says: Refused Connection to VM.

      What is the problem?