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

Why am I unable to migrate project templates using RQMCopyUtility.jar? (On special situation)

 On a CLM 6.0.6 ifxi003 instance I'm trying to migrate the templates from one project to another. 

Below you will see the command I'm using to do this. I used this same command for multiple projects and is failing on this one only. 

I thought that it was an alias issue but the project name is correct. You will see below the error I'm getting. 

Need to know: 
-what could be the cause of this?
-is there is a workaround?
-is there a fix?

I expect for the command to migrate the templates the same as it did for the other projects. 
---------------------------------------------------------------------------------------------
C:\HONEYWELL_PROJECTS\ENG_TOOLS\CLM\RQM\RQM_Extras\RQM-Extras-RQMCopyUtil-6.0.6>copyRQMTemplates.pl
java -jar RQMCopyUtility.jar -s=https://<hostname>.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/RQM+Process -a=template -id=testsuite/com.ibm.rqm.planning.templates.testsuite.template_1550247686424 -us=<username> -pws=<password>-d=https://<hostname>.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Nxt%20Gn%20Avion%20%28QM%29

18 Jun 2019 13:18:44,329-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Attempting to create SSL_TLS context
18 Jun 2019 13:18:44,427-0400 [main] ERROR com.ibm.rqm.ct.CopyUtil: SSL_TLS SSLContext not available
18 Jun 2019 13:18:44,427-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Unable to create SSL_TLS context, trying SSLv3
18 Jun 2019 13:18:48,457-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Starting: template testsuite/com.ibm.rqm.planning.templates.testsuite.template_1550247686424
18 Jun 2019 13:18:49,062-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Error received: 404, retry #: 0
18 Jun 2019 13:18:52,179-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Error received: 404, retry #: 1
18 Jun 2019 13:18:55,506-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Error received: 404, retry #: 0
18 Jun 2019 13:18:58,626-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Error received: 404, retry #: 1
18 Jun 2019 13:19:01,627-0400 [main] ERROR com.ibm.rqm.ct.CopyUtil: RestException executing: PUT, RC: 404, message: Error 404: SRVE0295E: Error reported: 404

18 Jun 2019 13:19:01,627-0400 [main] ERROR com.ibm.rqm.ct.CopyUtil: General REST Exception: RestException executing: PUT, RC: 404, message: Error 404: SRVE0295E: Error reported: 404

18 Jun 2019 13:19:01,627-0400 [main] ERROR com.ibm.rqm.ct.CopyUtil: FAILURE!
18 Jun 2019 13:19:01,627-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the source IBM Rational Quality Manager server.
18 Jun 2019 13:19:01,863-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the destination IBM Rational Quality Manager server.

---------------------------------------------------------------------------------------------


Regards

0 votes

Comments
QM.LOG: 2019-06-20 15:47:33,299 [WebContainer : 4 @@ 15:47 SVdsesBuildUser01 <RQMConnectionHelper/v0.1 spnego-enabled@10.192.44.86> /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Network+Verifier+(QM)/instructions/8a0e280fec58] ERROR com.ibm.rqm.execution.service           - InstructionsGetHandler:marshal AQXEX5046E An execution adapter was unable to receive instructions since multiple adapters with same internal Id are running. The adapter ID as seen in the Adapter Console: "80" Internal Adapter ID: "8a0e280fec58" Project Area: "Network Verifier (QM)"

 2019-06-20 15:47:33,299 [WebContainer : 4 @@ 15:47 SVdsesBuildUser01 <RQMConnectionHelper/v0.1 spnego-enabled@10.192.44.86> /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Network+Verifier+(QM)/instructions/8a0e280fec58] ERROR com.ibm.rqm.integration.service     - AbstractGetHandler$1:processItems AQXIN5022E This feed entry was not included in the feed: instructions  UUID: _aSbaEIM1EemmcNwZ9kdb9g.

com.ibm.team.repository.common.StaleDataException: Deferred operation failed

 Caused by: com.ibm.team.repository.common.TeamRepositoryException: deferred save failed

at ...
Caused by: com.ibm.team.repository.common.StaleDataException: UpdateItemCurrentRow failure:  Params=[_t-94M5NyEemniZ9DwEDm7Q,_aSbaEYM1EemmcNwZ9kdb9g,_RaNhYZAcEemniZ9DwEDm7Q]
at...
Caused by: com.ibm.team.repository.common.StaleDataException: CRJAZ0322I 1 row was expected but 0 rows were found for handle "com.ibm.rqm.execution.common.model.impl.ToolAdapterHealthImpl@b64d7473 (stateId: [UUID _t-94M5NyEemniZ9DwEDm7Q], itemId: [UUID _aSbaEYM1EemmcNwZ9kdb9g], origin: <unset>, immutable: true) (contextId: [UUID _8lNyYNwSEd2pIJ5QVwgQGg], modified: 2019-06-20 15:47:33.299, workingCopy: false) (predecessor: <unset>) (lastHeartBeat: 1561045653299)".
at...



One answer

Permanent link

Luis,


As it is working for other project, it should work for this project too. Could you please check that template really exists (com.ibm.rqm.planning.templates.testsuite.template_1550247686424)? You can check it at location https://<host name>/<context name>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project+Alias+name>/template?

Regards,
Mehul


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

Question asked: Jun 20 '19, 1:31 p.m.

Question was seen: 1,345 times

Last updated: Jul 17 '19, 4:30 a.m.

Related questions
Confirmation Cancel Confirm