This technote identifies an issue that can occur in IBM Rational ClearCase where an application is unable to make TCP calls and opens a socket when run from a local dynamic view on Microsoft Windows Vista, Windows 2008 or Windows 7.
You may see the following errors when trying to run an executable in a local dynamic view on a system that is running Microsoft Windows Vista, Windows Server 2008 or Windows 7:
socket() failed. The error is 10022
socket() failed. The error is 10050
This issue has been identified as a product defect under APAR PK67686.
Resolving the problem
Defect APAR PK67686 has been resolved. You need to perform both of the steps as listed below to resolve this issue.
- Apply update ClearCase 18.104.22.168, 22.214.171.124, 126.96.36.199 or later as appropriate for your installed version of ClearCase.
- After applying one of the above fix packs you must then add the following Microsoft Windows registry entry to implement the fix:
This solution contains information about modifying the system registry. Before making any modifications to the Microsoft Registry Editor, it is strongly recommended that you make a backup of the existing registry. For more information describing how to back up the registry, refer to Microsoft Knowledge Base article 256986
This requires a reboot.
Note: It is possible that you may experience some performance degradation after implementing this fix. However, this does not occur in all environments.
To workaround this issue, you can do one of the following:
- Run the executable from Windows XP or Windows 2003
- Use remote dynamic views
- Register the local view using a UNC path instead of the local path:
- Stop the view
- Run cleartool register -view -replace -host host_name -hpath \\host_name\share\view.vws \\host_name\share\view.vws
Example: cleartool register -view -replace -host server1 -hpath \\server1\views\testview.vws \\server1\views\testview.vws
- Start the view
- Stop the view