Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3421

Add a variable for the debug port number.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3, 2.4.1, 4.0.0.M2, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None

      Description

      The debug port number is set to 5005 in many of the scripts located in the bin directory. I am requesting the creation of a variable, i.e. JAVA_DEBUG_PORT, to allow the use of different debug port without editing script files.

      Below is an example of what to add to the script bin/shell
      DEFAULT_JAVA_DEBUG = “5005"
      if [ "x$JAVA_DEBUG_PORT" = "x" ]; then
      JAVA_DEBUG_PORT="$DEFAULT_JAVA_DEBUG_PORT"
      fi

      DEFAULT_JAVA_DEBUG_OPTS = “-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=$JAVA_DEBUG_PORT”

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              paulsp Paul Spencer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: