It's all about the answers!

Ask a question

Troubles in using the copyUtility


Tal Rabinovitch (4721615) | asked Oct 19 '10, 1:26 p.m.
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 ?

2 answers



permanent link
John Nason (2.4k1012) | answered Oct 22 '10, 5:32 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
"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 ?

permanent link
Tal Rabinovitch (4721615) | answered Oct 24 '10, 4:19 a.m.
"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.

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.