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 ? |
2 answers
"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, |
"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. Hi all, 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
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.