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

How to resolve RQMCopyUtility RestException 400 error?

RQM 4.0.4.  RQMCopyUtility v4.0.4. Both source and destination are RQM 4.0.4.  Source is Tomcat, Destination is WAS.

Could the & in the source project name be causing this trouble?
Running the command below, I am getting a HTTP response code 400, RestException.  I suspect the INFO messages are informing me of a problem where followRedirects is not allowed, but it is not clear which server it is talking about.  It gives the message twice so perhaps both of them are not allowing followRedirects.  Since it is an INFO instead of an error, I am seeking confirmation.

java -jar RQMCopyUtility.jar -l=importlog.txt -us=issrc@sourceserver.com -pws=password -s="https://sourceserver.com:9447/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/SourceProject+2012+&+beyond+QM" -ud=Vapt_user1 -pwd=password -d="https://destserver.co.in:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test_Project1_QM"

Jul 22, 2016 10:55:19 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Attempting to create SSL_TLS context
Jul 22, 2016 10:55:23 AM org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
Jul 22, 2016 10:55:25 AM org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
Jul 22, 2016 10:55:37 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting processing of artifact type: attachment
Jul 22, 2016 10:55:37 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Reading feed for artifact type: attachment
Jul 22, 2016 10:55:37 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 0
Jul 22, 2016 10:55:40 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 1
Jul 22, 2016 10:55:43 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: General REST Exception: RestException executing: GET Artifact Feed, RC: 400, message: <html><head><title>Apache Tomcat/7.0.61 - Error report</title><sty
le><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;backgro
und-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,
sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-s
erif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 400 - <
/h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The request sent by the client was synt
actically incorrect.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.61</h3></body></html>
Jul 22, 2016 10:55:43 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: FAILURE!
Disconnecting from the source IBM Rational Quality Manager server.
Disconnecting from the destination IBM Rational Quality Manager server.


0 votes


Accepted answer

Permanent link
The "&" could be the issue here; try replacing it with "%26"
If you go to https://<server>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/projects you'll see that alias for the project area in question; you can verify if the "&" is encoded
 

Vince Thyng selected this answer as the correct answer

1 vote

Comments

Thanks, that page revealed I needed to use InfoSphere+MDM+2012+%26amp%3B+beyond+QM

I never would have guessed that combination!

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: Jul 27 '16, 11:58 a.m.

Question was seen: 2,346 times

Last updated: Jul 27 '16, 1:13 p.m.

Confirmation Cancel Confirm