IBM Support

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

Technote (troubleshooting)


Problem(Abstract)

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.

Cross Reference information
Segment Product Component Platform Version Edition
Software Development Rational Software Architect Windows 7.0, 7.0.0.1, 7.0.0.2, 7.0.0.3, 7.0.0.4, 7.0.0.5 Edition Independent

Document information

More support for: Rational Application Developer for WebSphere Software
Debugging Applications

Software version: 7.0, 7.0.0.1, 7.0.0.2, 7.0.0.3, 7.0.0.4, 7.0.0.5

Operating system(s): Windows

Reference #: 1303383

Modified date: 23 November 2010