IBM Support

Java exception error using Web views

Troubleshooting


Problem

This technote explains 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 technote 1119280 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 technote 1122515 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.

Change request, (RFE) RATLC01053843, CCRC should better handle situation where .copyarea.db has been added to source control was opened, however, it has been closed with no plans to fix as there have been enhancements in this area to help avoid accidentally adding the file to source control that should avoid this situation.

Ensure that CCRC users have added .copyarea.db to their "Ignored Resources" preferences in the IDE.



[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"ClearCase Remote Client","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"2003.06.14;2003.06.15;2003.06.16;7.0;7.0.0.1;7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"ClearCase Web (CCWeb)","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21233263