IBM Support

Operation construct_version unavailable for type manager

Troubleshooting


Problem

This technote explains why the error, Operation "construct_version" unavailable for manager ", occurs during the loading phase of an IBM® Rational® ClearCase® snapshot view or upon accessing a file in a dynamic view and provides instructions to resolve the issue.

Symptom

Errors in view log:

view_server.exe(5260): Error: Unable to get cleartext for vob:          
3717bbaa.eabc4cf2.aac4.93:a2:2c:cd:b4:af ver 0xa2a27.                  
(Operation pathname was: "D:\Program Files\Rational\ClearCase\lib\mgrs\my-type-manager\construct_version")
view_server.exe(5260): Error: Unable to construct version.              
view_server.exe(5260): Error: Unable to construct cleartext for object "0xA2A27" in VOB "hco431brgdda007:d:\ClearCase_Storage\VOBs\myvob.vbs": error detected by ClearCase subsystem
view_server.exe(5260): Error: Operation "construct_version" unavailable for manager "my-type-manager"

or


2013-02-22T11:54:53+01:00 view_server(27809): Error: Operation "construct_version" unavailable for manager "custom_manager"
(Operation pathname was: "/opt/rational/clearcase/lib/mgrs/custom_manager/construct_version")

Attempts to load elements into a snapshot view (cleartool update) results in the following error:

Snapshot View update error:

Unable to load "myfile.xmi": unknown error in VOB.
Additional information may be available in the view log on host  "view-host".  

Cause



The VOB is using a custom type manager and:

  • The client does not have this custom type manager configured on the host.

    Note: A type manager is used to manage the contents of element versions.

  • Although the type manager may appear correct on UNIX, the links may be using absolute paths instead of relative path which can cause the problem.



Review the ClearCase Command Reference Guide on the topic of type_manager (cleartool man type_manager) for more information.

Resolving The Problem


To resolve the error, you need to:

  • Configure the client to use the new type manager.

    Note: The instructions required to configure the client will depend on the customization in place within your environment. IBM Rational support cannot provide support for creating and maintaining customized type managers.
  • Correct the links.

    Example of incorrect link (absolute path):
    lrwxrwxrwx 1 root root 41 Jan 29 11:10 construct_version -> /usr/atria/sun5/lib/mgrs/custom_manager/Zmgr


    Example of correct link (relative path):
    lrwxrwxrwx 1 root root 4 Aug 8 2012 construct_version -> Zmgr


WORKAROUND:


Change the type manager of the file to one of the default type managers (such as compressed_file).
Use the cleartool chtype command to change the type of the file.

Review IBM Rational ClearCase Command Reference on the topic of chtype (cleartool man chtype) for more information.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Type Manager","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;2003.06.16;7.0;7.0.1;7.1;7.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Type Manager","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2018

UID

swg21251029