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:
- cleartool mkvob -tag /tmp/test_jolt /tmp/ccstg/test_jolt.vbs
- cleartool mkview -tag test_jolt /tmp/ccstg/test_jolt.vws
- Set to the View and mount the VOB
- cleartool mkeltype -supertype file -manager utf8_file_delta utf8_file
Comments for "utf8_file":
.
Created element type "utf8_file". - cleartool co -nc .
Checked out "." from version "/main/0". - 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:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.