It's all about the answers!

Ask a question

RQM CopyUtility for Moving artifacts from one project to ano


preetam kulkarni (139298) | asked Mar 30 '11, 1:53 a.m.
Hi all,

I have installed RQM 2.0.1.1 on AIX. I have a requirement to move a project artifacts from one to another completely. I have downloaded RQMCopyUtility.jar file from jazz net. also as per the requirement for executing this, we need java 1.6 or above. I have installed java6 in my AIX machine and tried to execute the command for a complete copy. On executing i get the following error
"Unable to access jarfile RQMCopyUtil.jar"

Can anyone let me know why am i getting this error?
Where should the command be executed? in the host server or destination server or in client machine ????
Can anybody suggest me the procedure to achieve this if I am wrong some where?????

14 answers



permanent link
Paul Slauenwhite (8.4k12) | answered Mar 30 '11, 10:30 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi all,

I have installed RQM 2.0.1.1 on AIX. I have a requirement to move a project artifacts from one to another completely. I have downloaded RQMCopyUtility.jar file from jazz net. also as per the requirement for executing this, we need java 1.6 or above. I have installed java6 in my AIX machine and tried to execute the command for a complete copy. On executing i get the following error
"Unable to access jarfile RQMCopyUtil.jar"

Can anyone let me know why am i getting this error?
Where should the command be executed? in the host server or destination server or in client machine ????
Can anybody suggest me the procedure to achieve this if I am wrong some where?????


Is the RQMCopyUtil.jar in the same directory that you are running the command or is it on the classpath? Are there permission issues with the RQMCopyUtil.jar?

For more information on the setup, see:

https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Setup_Considerations

permanent link
preetam kulkarni (139298) | answered Apr 03 '11, 9:15 a.m.
Hi paules,

Thank you for the response. I have followed the same steps in the setup considerations. I can even get the commands when i type -help. however only when the command i try for the artifacts to be copied to another project it fails.

Please let me know if you want any more details.

permanent link
Byron Magruder (2611) | answered Jul 13 '11, 1:22 p.m.
Hi paules,

Thank you for the response. I have followed the same steps in the setup considerations. I can even get the commands when i type -help. however only when the command i try for the artifacts to be copied to another project it fails.

Please let me know if you want any more details.


I'm having the same issue. I can get the help info however I can't execute the copy template command. What was the resolution?

permanent link
Paul Slauenwhite (8.4k12) | answered Jul 14 '11, 8:10 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi paules,

Thank you for the response. I have followed the same steps in the setup considerations. I can even get the commands when i type -help. however only when the command i try for the artifacts to be copied to another project it fails.

Please let me know if you want any more details.


I'm having the same issue. I can get the help info however I can't execute the copy template command. What was the resolution?

What is the error/output? Also, can you log to a file (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Argument_Reference) and post the results?

permanent link
Byron Magruder (2611) | answered Jul 14 '11, 8:45 a.m.
Hi paules,

Thank you for the response. I have followed the same steps in the setup considerations. I can even get the commands when i type -help. however only when the command i try for the artifacts to be copied to another project it fails.

Please let me know if you want any more details.


I'm having the same issue. I can get the help info however I can't execute the copy template command. What was the resolution?

What is the error/output? Also, can you log to a file (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Argument_Reference) and post the results?

The following is the cmd output:

C:\Users[i:810b13bc29]myusername\Desktop>java -jar "C:\Program Files\Java\jre6\lib\RQMCopyUtil
ity.jar" -s=https://myecmserver:myport/jazz/secure/service/com.ibm.rqm.integra
tion.service.IIntegrationService/resources/PEAI_PUBLIC_PAIR-PVTD -u=mysername -
pws=mypassword -a=template -id=testplan/com.ibm.rqm.planning.templates.testp
lan.template_1310576682690 -l=importlog.txt
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying SSLv3
Jul 14, 2011 8:39:05 AM org.apache.commons.httpclient.HttpMethodDirector isRedir
ectNeeded
INFO: Redirect requested but followRedirects is disabled
Jul 14, 2011 8:39:05 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: Error logging in to destination. Return Code: 403

permanent link
Paul Slauenwhite (8.4k12) | answered Jul 14 '11, 8:54 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Can you log into https://myecmserver:myport/jazz/web/console/PEAI_PUBLIC_PAIR-PVTD as mysername/mypassword using a browser?

permanent link
Byron Magruder (2611) | answered Jul 14 '11, 8:58 a.m.
Can you log into https://myecmserver:myport/jazz/web/console/PEAI_PUBLIC_PAIR-PVTD as mysername/mypassword using a browser?


Yes...and I'm the Project admin.

permanent link
Paul Slauenwhite (8.4k12) | answered Jul 14 '11, 9:06 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
To confirm, you are using RQM 2.x? Can you try specifying the destination URL/username/password (same as source)? Any logging output? Finally, the -a=template -id=testplan/com.ibm.rqm.planning.templates.testp
lan.template_1310576682690 looks off. See the examples at https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Usage_Examples.

permanent link
Byron Magruder (2611) | answered Jul 14 '11, 9:18 a.m.
To confirm, you are using RQM 2.x? Can you try specifying the destination URL/username/password (same as source)? Any logging output? Finally, the -a=template -id=testplan/com.ibm.rqm.planning.templates.testp
lan.template_1310576682690 looks off. See the examples at https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Usage_Examples.


Source project:
https://myecmserver:myport/jazz/web/console/PVTTrain#
template id: com.ibm.rqm.planning.templates.testplan.template_1310575707524

Destination project:
https://myecmserver:myport/jazz/web/console/PEAI_PUBLIC_PAIR-PVTD#

-I can log into both project (as I'm admin for both projects)
-No logging output
-I took the sample from the Usage Examples in just replace my info in the necessary places:

Copying a template: (Note that template ids are of the form testplan/<id> or testcase/<id>, depending on the template type)
java -jar RQMCopyUtility.jar -s=https://myhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA -us=ADMIN -pws=ADMIN -a=template -id=testplan/com.ibm.rqm.planning.templates.testplan.template_12345 -l=importlog.txt

permanent link
Byron Magruder (2611) | answered Jul 14 '11, 9:25 a.m.
To add on to this I noticed the following:

When I log into my projects the URL is:
Source https://myecmserver:9443/jazz/web/console/PVTTrain#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewUserHome

However I noticed that the example uses is:
https://xxxxxxxxxxx:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA

Should I be using "jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/"

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.