It's all about the answers!

Ask a question

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


Luis Calderon (294) | asked Jun 20 '19, 1:31 p.m.

 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


Comments
Luis Calderon commented Jun 20 '19, 1:42 p.m.
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)"


Luis Calderon commented Jun 20 '19, 1:42 p.m.

 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


Luis Calderon commented Jun 20 '19, 1:43 p.m.

 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
Mehul Patel (8544) | answered Jul 17 '19, 4:30 a.m.
FORUM MODERATOR

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


Your answer


Register or to post your answer.