IBM Support

Cannot find a free socket for the debugger error debugging Java on Windows Vista

Troubleshooting


Problem

This technote explains why attempts to debug a stand-alone Java™ program in IBM® Rational Application Developer v7 (v7.0 through to v7.0.0.5) on Windows Vista™ results in the error []Cannot find a free socket for the debugger.[]

Cause

The problem may occur if you are using RAD 7.0.0.5 or an older version.

This is a known problem with IBM JDK 1.5 SR4 on Windows Vista, which is used to launch RAD 7.0.0.5 workspaces. The bug in IBM JDK 1.5 SR4 when running on Windows Vista will cause the Java debugger in RAD not able to find a free TCP/IP socket.

Resolving The Problem

Update to IBM JDK used by RAD to 1.5 SR5 or above.

Since RAD 7.0.0.6 is released with an updated IBM JDK 1.5 SR6, a simple way to resolve this issue is by updating RAD to 7.0.0.6.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Debugging Applications","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5","Edition":"Edition Independent","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020

UID

swg21303383