why a directory might be hijacked when loading an IBM® Rational® ClearCase® Remote Client (CCRC), and the log reports the error, java.io.IOException: Unable to rename, if debugging is enabled. | | Symptom | A CCRC view is created and an initial load is done of the view. One or more of the directories is reported as hijacked on this initial load.
Attempting to recover the resources on the directory can result in an error that ClearCase cannot perform the operation. The action may sometimes result in the operation working successfully until the next update, when the directory becomes hijacked again. | |
|
 |
|
Cause |
The problem can be caused by a file element in the directory that has a special character in its name which is unsupported by the ISO code base being used by the RWP server, such as an accent, ό, or umlaut, ö. |
|
|
Diagnosing the problem |
If CCRC debugging is turned on, as detailed in technote 1234118, then the following error is seen in the resulting logs:
java.io.IOException: Unable to rename "C:\ccviews\view_name\vobs\vob_name\directory_name\.loading" to "C:\ccviews\view_name\vobs\vob_name\directory_name" |
|
|
Resolving the problem |
These are the two known solutions: - Alter the /var/adm/rational/common/rwp/conf/ccrc.conf file to change the LANG variable to a codeset which supports the underlying OS code set and also has the special characters.
EXAMPLE:
SetEnv LANG en_US.iso88591
- Rename the file to remove the special characters from the name.
|
No comments:
Post a Comment