4 Replies Latest reply on May 30, 2006 2:05 PM by Steve Munsat

    Lanunching JBoss from JBoss IDE to enable remote debugging

    abhay_c Newbie

      I am trying to launch JBoss from JBoss IDE 1.3.3 with Eclipse 3.0 (on windows XP JDK 1.4.2_05) by setting following options in Environment variables.

      -Xdebug -Xrunjdwp:server=y,transport=dt_shmem,address=4142,suspend=n

      It fails to launch JBoss and prints following error on console

      FATAL ERROR in native method: No transports initialized
      Invalid listen port number: localhost:1563
      Transport dt_socket failed to initialize, rc = -1.


      I have JAVA_HOME/bin in my PATH. If I supply same arguments in run.sh or set them as JAVA_OPTS and lauch server with run.sh scripts it works.

      Am I missing anything here? Any help will be appreciated.

      I guess JBoss IDE needs ability to set environment variables while launching the JBoss so that I can set JAVA_HOME/bin in the path.