Closed as program error.
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 188.8.131.52: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.
Use different port for each connection.
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.
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
Reported component name
JAVA CLASS LIBS
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA CLASS LIBS
Fixed component ID
Applicable component levels