2 Replies Latest reply on May 6, 2004 8:21 AM by jae

    run jboss in debug mode

    saroj Newbie

      anybody can help me

      how to run jboss in debug mode in Linux OS.

      thanks in advance.

        • 1. Re: run jboss in debug mode
          Lothar Egger Newbie

          hello Saroj

          by debug mode do you mean:

          debug output ?
          you may configure your output to cosole/log in

          attach a debugger to a runnig jboss?
          you may configure the JPDA settings in
          restart jboss
          then attach your debugger to the address/port


          • 2. Re: run jboss in debug mode
            jae Master

            copy the run.sh startup script to debug.sh (or whatever you want) and replace the the $JAVA_OPTS line in the file w/ this one:

            JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME
            -classic -Xdebug -Xnoagent -Djava.compiler=NONE

            the above is taken directly out of the run.bat file. (make sure it is all on one line in the file).