Common issues with .copyarea.db file in ClearCase Java.io.IOException

why attempts to apply the load rules to an IBM® Rational® ClearCase® Remote Client (CCRC) or ClearCase Web (CCWeb) view results in the error java.io.IOException and provides instructions to resolve the problem.

Symptom

Applying load rules from a CCRC or CCWeb client results in the error:

Error: "java.io.IOException: "Error: "com.ibm.rational.clearcase.
remote_core.copyarea.db.STPException: Error loading: "C:
\vob\test_vob\src\com\ibm\vista\test_view\.copyarea.db".



Cause

The .copyarea.db file of the view was accidentally added to source control.

Note: The cleartool rmname command may also have been run removing the version from the view.

When the copyarea.db file gets added to source control, the following error is also reported in the error log on the RWP server.

Internal Error detected in "../ccw_ws.cxx" line 4142



Resolving the problem

Remove the .copyarea.db file from the VOB by performing a cleartool rmelem to resolve the issue.

Then load (or update) the view with new versions.

Note: Each directory loaded from the VOB into the view will have a (view private) .copyarea.db file in it as well; therefore, you may need to search for all instances of .copyarea.db and remove them all if removing the versioned copy does not resolve the issue. Refer to http://quicktechref.blogspot.com/2008/11/role-of-copyareadat-copyareadb-file-in.html for more information about the .copyarea.db file.

IMPORTANT: If the .copyarea.db file is checkedout, you will need to uncheckout the file prior to its removal. If you are unable to uncheckout the file, follow the steps outlined in http://quicktechref.blogspot.com/2008/11/removing-checked-out-references-of-view.html to remove the view checkout reference from the VOB so you can proceed with the element removal. You will need to remove the view and create a new one once this done.

No comments:

Post a Comment