It's all about the answers!

Ask a question

Whenever I make some changes in rhapsody project in offline mode EWM showing them in unresolved section. Not able to deliver them to jazz server.

Akshay Gadhave (11) | asked Aug 30, 2:49 a.m.


Hi Team,
I have created some block files in offline mode in existing project using Rhapsody Model Manager UI. 
These files are visible in unresolved items in pending changes view.

I want to deliver this Rhapsody files using EWM client. 
Can this be achieved using the Java API ? Can you provide sample code on how this is achieved ?



One answer

permanent link
David Lafreniere (4.8k7) | answered Sep 11, 2:27 p.m.

On delivery in this case one would expect this error message:

Failed to index the delivered data.1. CRRMM0129E Failed to parse file 'TestBlock2108.clsx'.CRRMM0134E Missing or not matching FieId in file 'TestBlock2108.clsx'. Some Rhapsody Model Manager data are missing in file. This may happens while merging files with its another instance(s). Load file in Rhapsody Client, save it and thendeliver again. If the issue persists, please report it to IBM support.Problem running 'deliver':'Deliver' failed.
The error message suggests what the problem is and what is required to address the issue (granted the message could probably be improved further). Given your exact steps, it is true when the error message says: "Some Rhapsody Model Manager data are missing in file". Unless you save your changes in Rhapsody when connected to RMM (ex: Rhapsody EWM Eclipse client-plugin is connected and logged-in, and the RMM status in the Rhapsody client is 'Online' and not 'Offline' [in your case]), the Rhapsody file will not be contain all the required 'meta-data' that is required for RMM on change set delivery.

Note: Since the EWM project area is RMM enabled, it is expected that all Rhapsody files delivered are validated to be in the correct 'format' and contain the expected data for RMM to function.

Is there a reason you can't save this model in the Rhapsody client when connected to RMM?

As more implementation detail: When a new element is created in Rhapsody, Rhapsody needs to ask RMM which 'RMM server-id' to assign to it. Since the RMM data is saved in the RMM server, it is the server that needs to generate new IDs, and give them back to the Rhapsody client so that they can update the file with this RMM specific 'meta-data'. On delivery RMM code will assert that all model elements have correct RMM data (such as IDs in this case, and that their values are correct). If not, it will reject the change set delivery. If the validation passes OK however, post change set delivery, RMM is able to parse the Rhapsody File (XML) in order to identify the model elements that should be saved to the RMM database (which in turn are what get shown in the RMM web-ui for example...)

Your answer

Register or to post your answer.