cleartool mkelem -eltype run on Solaris 10 x86 reports error: Unexpected value (4) returned by type manager

Technote (troubleshooting)


Problem(Abstract)

This technote identifies an error, Unexpected value (4) returned by type manager, that can occur when running an IBM Rational ClearCase mkelem -eltype on Solaris 10 x86.

Symptom

When trying to use mkelem with an eltype on Solaris 10 x86, it fails with an error on ClearCase 7.1:
 
cleartool mkelem -eltype utf8_file -nc foobar.c
/libjvm.so'.pt/ibm/RationalSDLC/common/java/jre/lib/i386/server
cleartool: Error: Unexpected value (4) returned by type manager "utf8_file_delta"
cleartool: Error: Unable to create element "foobar.c".



Cause

This issue has been identified as a product defect under APAR PM00053.

Environment

Solaris 10 x86 with ClearCase 7.1


Diagnosing the problem

A truss of the process will reveal the extra character in the library path.


11509:  xstat(2, "/opt/ibm/RationalSDLC/common/java/jre/lib/i386/server^M/libjvm.so", 0x08047090) Err#2 ENOENT


The following steps can be used to reproduce the error:

  1. cleartool mkvob -tag /tmp/test_jolt /tmp/ccstg/test_jolt.vbs
  2. cleartool mkview -tag test_jolt /tmp/ccstg/test_jolt.vws
  3. Set to the View and mount the VOB
  4. cleartool mkeltype -supertype file -manager utf8_file_delta utf8_file
    Comments for "utf8_file":
    .
    Created element type "utf8_file".
  5. cleartool co -nc .
    Checked out "." from version "/main/0".
  6. cleartool mkelem -eltype utf8_file -nc foobar.c
    /libjvm.so'.pt/ibm/RationalSDLC/common/java/jre/lib/i386/server
    cleartool: Error: Unexpected value (4) returned by type manager "utf8_file_delta"
    cleartool: Error: Unable to create element "foobar.c".

Resolving the problem


There are no plans to fix this issue since it has a simple workaround (documented below) and the issue cannot be addressed within the next 6 to 9 months without neglecting issues of higher severity.

WORKAROUND

The following can be used to correct the issue.

dos2unix /opt/ibm/RationalSDLC/common/java/jre/lib/i386/jvm.cfg /opt/ibm/RationalSDLC/common/java/jre/lib/i386/jvm.cfg.




Rate this page:

(0 users)Average rating

Document information


More support for:

Rational ClearCase
Type Manager

Software version:

7.1, 7.1.0.1, 7.1.0.2

Operating system(s):

Solaris

Reference #:

1408899

Modified date:

2011-03-16

Translate my page

Machine Translation

Content navigation