It's all about the answers!

Ask a question

Import RM Type System Between 2 Servers


Daniel Chirillo (315) | asked Apr 16 '21, 8:48 a.m.

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]

One answer



permanent link
Ian Barnard (1.9k613) | answered Jul 08 '22, 4:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jul 11 '22, 8:47 a.m.
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

Your answer


Register or 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.