IV02865: CAN NOT ATTACH MORE THAN 1 REMOTE DEBUGGER

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: 1. Start a java process with jdwp and server mode
    on, such as "java
    -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=12
    7.0.0.1:8008 TestClass"
    2. Use jdb to attach the target VM, such as "jdb -attach
    127.0.0.1:8008"
    3. repeat step 1 and it will says fail to bind
    But the same does not happen on IBM JDK 5
    
    The above test was conducted with the SR mentioned by the
    customer. JDK
    1.6 SR9 FP1
    .
    Stack Trace: N/A
    .
    The same test was run with IBM Java 1.5 (build
    pxi32devifx-20100127 (SR11 FP1 )). User was able to attach a
    remote
    debugger to each new process started.
    

Local fix

  • Use different port for each connection.
    

Problem summary

  • The problem is caused when the target VM establish a connection
    with debugger and then another target VM wants to listen on the
    same port and it fails to bind on that port.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR10
    6.0.1 SR1
    .
    According to the behavior of IBM JDK 5, the following change is
    made. When target VM establish a connection with debugger, it
    stops listening on the port, so that others can bind on this
    port. And when the debugger quits and closes the connection, the
    target VM will try to re-listen on this port to serve other
    debuggers. If the listen action fails, the target VM will do
    nothing more until the program running on the target VM exit.
    .
    To obtain the fix:
    Install build 20110709 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV02865

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-07

  • Closed date

    2011-07-08

  • Last modified date

    2011-07-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV02865

Modified date:

2011-07-08

Translate my page

Machine Translation

Content navigation