Petals ESB Container

Update starting up script for the debug mode with Java 6 API for debugging

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.1.3
  • Fix Version/s: 5.0.1
  • Component/s: Launcher
  • Security Level: Public
  • Description:
    Hide

    Currently we have as options for enabling debug (debug.sh/bat file)

    DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n"

    These are the old options for Java 1.4, even older. For Java 1.6, we have instead:

    DEBUG_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n"

    From documention of Oracle:
    http://download.oracle.com/javase/6/docs/technotes/guides/jpda/conninv.html#Invocation

    It should be correct some problems when we make Java code hot replacement.

    Show
    Currently we have as options for enabling debug (debug.sh/bat file) DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n" These are the old options for Java 1.4, even older. For Java 1.6, we have instead: DEBUG_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n" From documention of Oracle: http://download.oracle.com/javase/6/docs/technotes/guides/jpda/conninv.html#Invocation It should be correct some problems when we make Java code hot replacement.
  • Environment:
    Linux, but also applicable to windows and Mac

Activity

People

Dates

  • Created:
    Wed, 24 Aug 2011 - 15:24:23 +0200
    Updated:
    Fri, 2 Oct 2015 - 17:53:00 +0200
    Resolved:
    Fri, 2 Oct 2015 - 17:53:00 +0200