1 Reply Latest reply on May 2, 2005 4:12 PM by raygeeknyc

    JBoss remote debugging under MacOS X

      Hi
      I have JBoss 4.0.1sp1 running on MacOSX 10.3. I have added the JAVA_OPTS for remote debugging

      #
      DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
      JAVA_OPTS="${DEBUG_OPTS} ${JAVA_OPTS}"
      #
      export JAVA_OPTS
      #
      

      the java opts show up in the env display, but I am unable to connect a remote debugging session. IF I telnet to the debugging port i.e. 8000 I get connection refused :(

      Any ideas or corrections to my mistake welcome!

        • 1. Re: JBoss remote debugging under MacOS X

          OK, if you just use the debug parameters specified in the releases run.bat sans suspend=y it works fine :-)

          But I also realized that telneting to the port first ties it up, so don't do this and then try a debug session without restarting JBoss