It's all about the answers!

Ask a question

RQM Copy Utility: fails with errorCode 400


Kazuki Nobutani (411621) | asked Jun 12 '18, 4:23 a.m.
edited Jun 12 '18, 7:46 p.m.

RQM Copy utility fails with the following error...
I used the following command, and the user has all the rights. Can anyone please suggest what I can do?
java -jar RQMCopyUtility.jar -s="https://clm.jkebanking.net:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=clmadmin -pws=clmadmin -ud=clmadmin -pwd=clmadmin -d=https://clm.jkebanking.net:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TEST -l=importlog.txt


12 6 2018 17:18:49,570+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Attempting to create SSL_TLS context
12 6 2018 17:18:50,148+0900 [main] ERROR com.ibm.rqm.ct.CopyUtil: SSL_TLS SSLContext not available
12 6 2018 17:18:50,148+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Unable to create SSL_TLS context, trying SSLv3
12 6 2018 17:19:38,945+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Starting processing of artifact type: builddefinition
12 6 2018 17:19:39,007+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Reading feed for artifact type: builddefinition
12 6 2018 17:19:42,570+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Done reading feed for artifact type: builddefinition
12 6 2018 17:19:42,570+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Ending processing of artifact type: builddefinition
12 6 2018 17:19:42,570+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Starting processing of artifact type: buildrecord
12 6 2018 17:19:42,570+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Reading feed for artifact type: buildrecord
12 6 2018 17:19:42,757+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Done reading feed for artifact type: buildrecord
12 6 2018 17:19:42,757+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Ending processing of artifact type: buildrecord
12 6 2018 17:19:42,757+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Starting processing of artifact type: configuration
12 6 2018 17:19:42,757+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Reading feed for artifact type: configuration
12 6 2018 17:20:05,492+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Done reading feed for artifact type: configuration
12 6 2018 17:20:05,507+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Starting: configuration TE1
12 6 2018 17:21:15,617+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Error received: 400, retry #: 0
12 6 2018 17:21:18,789+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Error received: 400, retry #: 1
12 6 2018 17:21:21,789+0900 [main] ERROR com.ibm.rqm.ct.CopyUtil: RestException executing: PUT, RC: 400, message: {"errorMessage":"Unknown catalog type with externalId: null","errorClass":"java.lang.IllegalArgumentException","errorCode":400}
12 6 2018 17:21:21,789+0900 [main] ERROR com.ibm.rqm.ct.CopyUtil: General REST Exception: RestException executing: PUT, RC: 400, message: {"errorMessage":"Unknown catalog type with externalId: null","errorClass":"java.lang.IllegalArgumentException","errorCode":400}
12 6 2018 17:21:21,789+0900 [main] ERROR com.ibm.rqm.ct.CopyUtil: FAILURE!
12 6 2018 17:21:21,789+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the source IBM Rational Quality Manager server.
12 6 2018 17:21:21,836+0900 [main]  INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the destination IBM Rational Quality Manager server.

2 answers



permanent link
Ulf Arne Bister (1.3k413) | answered Jun 12 '18, 6:58 a.m.
Hi,

what version of RQM? Environment etc.?
You might be stumbling over http://www-01.ibm.com/support/docview.wss?uid=swg1PI12526

If this helps, please mark this answer as accepted
- Arne

Comments
Kazuki Nobutani commented Jun 12 '18, 7:49 p.m.

Thank you for your update.
The version I am testing is 6.0.4 and copying to the same machine, but different project.
I will try with the latest Copy Utility first.


permanent link
Don Yang (7.7k21114139) | answered Jun 13 '18, 3:41 a.m.

It seems to me the error is caused by project area alias is not used which is required by copy utility.
you may try to run
https://clm.jkebanking.net:9443qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projects
to see the project area alias for your source and target projects and use them in the command and see what happens.


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.