Error: "java.langIllegalStateException: Multiple physical copy areas for the same logical copy area are not supported

why attempts to create an IBM® Rational® ClearCase® web view for use with CCWeb or CCRC results in the errorError: "java.langIllegalStateException: Multiple physical copy areas for the same logical copy area are not supported and provides steps to resolve the issue.
 
Cause

Attempts to create a web view results in the following error:

Created view
Created snapshot view directory
Error:  "java.langIllegalStateException:  Multiple physical copy areas
for the same logical copy area are not supported:
 and directory 2>


You are attempting to create a view using a name that was previously used.

The old view may not have been correctly removed from the client.

The view storage may have been removed from the Rational Web Platform (RWP) server but the users session.dat file was not properly updated to reflect that removal.

 
Solution

Check the users session.dat file on the server. 

The default location of the session.dat files are located in the following directories on the RWP server:

UNIX® and Linux®: 
/var/adm/rational/clearcase/ccweb//session.dat

Microsoft® Windows®: 
C:\Program Files\Rational\ClearCase\var\ccweb\\session.dat

If there are view tags listed in this file that no longer exist, they should be removed.

Example contents of a session.dat file:

***********************
-session 1922 -username "jdoe" -domain "DOM1" -unique "Lhgqb040ywWam2ANZ" -trace_level "0" -meter "0" -protocolver "3" -clienttype "2" -cqweb_supported "false" -cache_cqlogin "true" -lastview "ccrc_view"
-session 21271 -viewtag "ccrc_view" -workroot "C:/ClearCase_Storage/CCRC_views/ccrc_view" -viewroot "C:\ccweb\jdoe\ccrc_view"
-session 6149 -viewtag "jdoe_Cars_int_ccweb" -workroot "C:/ClearCase_Storage/Web_views/Cars_int_ccweb" -viewroot "C:\ccweb\jdoe\jdoe_Cars_int_ccweb" -stream "stream:Cars_Integration@\PVOB"
-session 6230 -viewtag "jdoe_Cars_dev_ccweb" -workroot "C:/ClearCase_Storage/Web_views/Cars_dev_ccweb" -viewroot "C:\ccweb\jdoe\jdoe_Cars_dev_ccweb" -stream "stream:user1_Cars@\PVOB"
***********************

Note: In this example, the view tag ccrc_view no longer exists.

To remove the entry from the session.dat file, start with the line -session ##.

In this example, remove the following section from the session.dat file:

-session 21271 -viewtag "ccrc_view" -workroot "C:/ClearCase_Storage/CCRC_views/ccrc_view" -viewroot "C:\ccweb\jdoe\ccrc_view"

Attempts to create a new web view should now work as expected.

No comments:

Post a Comment