Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2674

Remote Debug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Component/s: None
    • Labels:
    • Environment:

      Windows

      Description

      In apache-servicemix-6.0.0, I try to modify smx.bat to remote debug by changing suspend=y as in

      set DEFAULT_JAVA_DEBUG_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005

      It did not work and found that KARAF_DEBUG was always blank which skipped setting the JAVA_DEBUG_OPTS to JAVA_OPTS. I was able to debug only after commenting the below check.

      //if "%KARAF_DEBUG%" == "" goto :KARAF_DEBUG_END

      Am I missing some patch which is already done for this?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              IshAsokan Ish Asokan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: