Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Import RM Type System Between 2 Servers

Should I be able to import the type system between 2 different rm servers registered with the same JTS server?  When I try, I get a 202 response but nothing is imported and the target server log has this error:


Uncaught exception while executing task Copy type system task com.ibm.rdm.fronting.server.exception.NotFoundException: The configuration could not be found.  It could have been delivered or discarded.

My request body looks like this (6.0.6 iFix019):


<?xml version="1.0" encoding="UTF-8"?>
    <types:TypeImportSession>
        <types:source rdf:resource="https://rmSource/rm/cm/stream/_lD6LcMhOEeaEq5aEPF07YQ"/>
        <types:target rdf:resource="https://rmTarget/rm/cm/stream/_5nwDsJ6tEeuE59XzpBjAag"/>
    </types:TypeImportSession>
</rdf:RDF>

Headers:
Accept: Application/rdf+xml
Content: Application/rdf+xml
DoorsRP-Request-Type: public 2.0
vvc.configuration: [target stream]

0 votes



One answer

Permanent link
Late reply, but hopefully this information will be useful to people looking for answers to your question.

202 is the expected response indicating that the import session is starting, there will also be a Location header in the response which is the URL of a task tracker to monitor progress. This is described in the Import API documentation under Behaviour of POST see https://jazz.net/wiki/bin/view/Main/DNGTypeImport#post_operation


However I'm not sure the import will succeed between servers. I'd imagine the two rm apps will have to be in the same SSO domain and possibly same JTS, or at least the two JTS friende, but you say the two rm servers are on the same JTS so those conditions should be met. Sorry don't have a two-rm setup to try this on.

Ralph Schoon has contributed to this excellent 3-part article about managing the DN type system in multiple server environment https://jazz.net/library/article/92352 and in the article there are links to his Java code. AFAIK this code works within a server and you must manually create/download/upload a master type system component template into dependent servers, then use Ralph's code to deliver (presumably using the Type Import API) to the desired streams.

HTH
Ian

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,939

Question asked: Apr 16 '21, 8:48 a.m.

Question was seen: 1,511 times

Last updated: Jul 11 '22, 8:47 a.m.

Confirmation Cancel Confirm