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

RQM Copy Utility: fails with errorCode 400

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.

0 votes



2 answers

Permanent link
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

0 votes

Comments

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

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.


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 12 '18, 4:23 a.m.

Question was seen: 2,540 times

Last updated: Jun 13 '18, 3:41 a.m.

Confirmation Cancel Confirm