1 Reply Latest reply on May 2, 2005 3:54 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 in 4.0.1sp1

          I have moved the configuration from MacOSX to Windows 2000 and am having the same problem, while the server is coming up I can telnet to localhost DEBUG_PORT and there is something listening at the port. After the catalina startup completes and my .war files are deployed, if I try to connect to that port, I get connect refused (both from the debugger and telneting to the port)

          The config is 4.0.1sp1.

          Does anyone know of changes to the config needed for 4.0.1sp1?
          TIA