2 Replies Latest reply on May 2, 2007 1:48 PM by dimitris

    run.conf sourced by shutdown.sh

    dimitris

      There is a potential bug in run.conf sourced by both run.sh and shutdown.sh.

      http://jira.jboss.com/jira/browse/JBAS-4155

      Unless anyone objects, it will be removed from shutdown.sh.

      Also, commented out debugging options exist in both run.con:

      # Sample JPDA settings for remote socket debuging
      #JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
      
      # Sample JPDA settings for shared memory debugging
      #JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
      

      and run.sh
      #JPDA options. Uncomment and modify as appropriate to enable remote debugging .
      #JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS"
      

      One of 2 will be removed, so if you have any preferences, speak up.

        • 1. Re: run.conf sourced by shutdown.sh
          starksm64

          run.conf is where this should be. The -Xdebug option should be removed as its obsolete under jdk5+ so run.conf should simply be:

          # Sample JPDA settings for remote socket debuging
          #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
          
          # Sample JPDA settings for shared memory debugging
          #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
          



          • 2. Re: run.conf sourced by shutdown.sh
            dimitris

            Ok, it's updated now.