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

Troubles in using the copyUtility

Hi all,
I'm trying to use the copy utility but immediately get the following error -
Oct 19, 2010 5:58:03 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: login error (response code) - 401
Response Body:
Oct 19, 2010 5:58:03 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: Error logging in to source. Return Code: 401

I created new test project areas (Test1 and Test2) just to test the utility and used the following command -
"c:\Program Files\Java\jre1.6.0_07\bin\java" -jar RQMCopyUtility.jar -s=https://rqm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test1 -us=<my_username> -pws=<my_password> -d=https://rqm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test2 -l=importlog.txt

Any ideas ?

0 votes



2 answers

Permanent link
"Error logging into source" means you can not log in to the source server specified with the -s argument. The user credentials were specified with the -us and -pws arguments.
A response code of 401 means "Unauthorized" (ref: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
Do you have a typo in the username or password?
Is your user a member of the "test1" project area and has a license assigned?
A simple test would be to log into RQM and into that project area with the same user and make sure you can look at some records.
Regards,
John Nason
RQM Development

Hi all,
I'm trying to use the copy utility but immediately get the following error -
Oct 19, 2010 5:58:03 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: login error (response code) - 401
Response Body:
Oct 19, 2010 5:58:03 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: Error logging in to source. Return Code: 401

I created new test project areas (Test1 and Test2) just to test the utility and used the following command -
"c:\Program Files\Java\jre1.6.0_07\bin\java" -jar RQMCopyUtility.jar -s=https://rqm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test1 -us=<my_username> -pws=<my_password> -d=https://rqm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test2 -l=importlog.txt

Any ideas ?

0 votes


Permanent link
"Error logging into source" means you can not log in to the source server specified with the -s argument. The user credentials were specified with the -us and -pws arguments.
A response code of 401 means "Unauthorized" (ref: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
Do you have a typo in the username or password?
Is your user a member of the "test1" project area and has a license assigned?
A simple test would be to log into RQM and into that project area with the same user and make sure you can look at some records.
Regards,
John Nason
RQM Development

Hi all,
I'm trying to use the copy utility but immediately get the following error -
Oct 19, 2010 5:58:03 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: login error (response code) - 401
Response Body:
Oct 19, 2010 5:58:03 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: Error logging in to source. Return Code: 401

I created new test project areas (Test1 and Test2) just to test the utility and used the following command -
"c:\Program Files\Java\jre1.6.0_07\bin\java" -jar RQMCopyUtility.jar -s=https://rqm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test1 -us=<my_username> -pws=<my_password> -d=https://rqm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test2 -l=importlog.txt

Any ideas ?


Problem solved - the user and password were correct. there are two possibilities for what has solved the problem -
1. I changed my password (my previous one started with the '=' sign which may confused the the API call.
2. Although I was an administrator I created a new role and gave it full permissions and assigned this role to my username.

One of these two changes solved the problem and I was able to execute copy API commands.

Thanks for the answer.

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: Oct 19 '10, 1:26 p.m.

Question was seen: 5,053 times

Last updated: Oct 19 '10, 1:26 p.m.

Confirmation Cancel Confirm