IBM Support

What are the expected values of the RMM index positions at the end of a Rhapsody project file?

Troubleshooting


Problem

The RMM web client or EWM Eclipse client indicates that the index positions in a file are not correct. Either the delivery of the file to the server is prevented or delivery has succeeded but the file is not visible or accessible in the web client.

Cause

Each unit in an RMM-enabled Rhapsody model is divided in to three sections: The model section (used by the Rhapsody client), the RMM Index section (used by RMM and the RMM indexer) and the OSLC link section (used by both).
At the very end of each file are four values that indicate where the RMM and OSLC sections start and end.  For example:
<RHAPSODY-INDEX-START>275186</RHAPSODY-INDEX-START>
<RHAPSODY-INDEX-END>296238</RHAPSODY-INDEX-END>
<OSLC-LINKS-START>296239</OSLC-LINKS-START>
<OSLC-LINKS-END>288918</OSLC-LINKS-END>
<INCLUDES-RHAPSODY-INDEX>true</INCLUDES-RHAPSODY-INDEX>
</RhapsodyArchive>
The values contained between these tags represent character positions and the indexing service uses these values to determine which parts of the file to read in order to extract the RMM and OSLC information. Sometimes these values are incorrect and the indexer reads from the wrong part of the file. This results in either a missing index entry for that file or an index entry that is invalid and throws an error when you try to look at the corresponding element in the RMM web client.

Resolving The Problem

If Rhapsody is running, close it. Then, open the file in a text editor such as Notepad or Notepad++ . Both of these tools provide a way to see the character position at the current cursor location. Scroll to the end of the file and check the values for the following, correcting where required.
The value of RHAPSODY-INDEX-START is the character position between L and > of </RHAPSODY-MODEL>
The value of RHAPSODY-INDEX-END is the character position between X and > of </RHAPSODY-INDEX>
The value of OSLC-LINKS-START is one greater than the value of RHAPSODY-INDEX-END
The value of OSLC-LINKS-END is the character position after the > of </OslcLinks>
If you have made any changes, save the file then attempt to deliver the updated version to the server via the EWM client. The updated version is indexed automatically.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"ARM Category":[{"code":"a8m50000000Cjc8AAC","label":"Rhapsody-\u003EModelManager_RMM-\u003ERhapsodyClient_RMM"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0.0;9.0.1;and future releases"}]

Document Information

Modified date:
02 February 2023

UID

ibm16952197