It's all about the answers!

Ask a question

RQMCopyUtility - Copy RQM project in a different server


Leire Torres (36721) | asked Oct 02 '15, 6:37 a.m.
Hello everyone, 

I'm using RQM 5.0.2 and I want to copy a project to another RQM server with the same version (v5.0.2). How can I do it? 

I've tried RQMCopyUtility 5.0.2 with the following sintax:

java -jar RQMCopyUtility.jar -s=https://<server1>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Project1 -us=user -pws=password -d=https://<server2>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Project2 -ud=user -pwd=password -l=importlog.txt
But I get the following error message: 

oct 02, 2015 12:22:08 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Attempting to create SSL_TLS context
oct 02, 2015 12:22:09 PM com.ibm.rqm.ct.util.Logger logError
GRAVE: SSL_TLS SSLContext not available
oct 02, 2015 12:22:09 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Unable to create SSL_TLS context, trying SSLv3
oct 02, 2015 12:22:11 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Starting processing of artifact type: testplan
oct 02, 2015 12:22:11 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Reading feed for artifact type: testplan
oct 02, 2015 12:22:11 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Done reading feed for artifact type: testplan
oct 02, 2015 12:22:11 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Starting: testplan urn:com.ibm.rqm:testplan:4
oct 02, 2015 12:22:12 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Starting: template testplan/com.ibm.rqm.planning.templates.testplan.default
oct 02, 2015 12:22:12 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Finishing: template testplan/com.ibm.rqm.planning.templates.testplan.default
oct 02, 2015 12:22:12 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Error received: 403, retry #: 0
oct 02, 2015 12:22:15 PM com.ibm.rqm.ct.util.Logger logInfo
INFORMACIÓN: Error received: 403, retry #: 1
oct 02, 2015 12:22:18 PM com.ibm.rqm.ct.util.Logger logError
GRAVE: RestException executing: PUT, RC: 403, message: <html><head><title>Apache Tomcat/7.0.54 - Informe de Error</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-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-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>Estado HTTP 403 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Informe de estado</p><p><b>mensaje</b> <u></u></p><p><b>descripción</b> <u>El acceso al recurso especificado ha sido prohibido.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.54</h3></body></html>
oct 02, 2015 12:22:18 PM com.ibm.rqm.ct.util.Logger logError
GRAVE: General REST Exception: RestException executing: PUT, RC: 403, message: <html><head><title>Apache Tomcat/7.0.54 - Informe de Error</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-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-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>Estado HTTP 403 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Informe de estado</p><p><b>mensaje</b> <u></u></p><p><b>descripción</b> <u>El acceso al recurso especificado ha sido prohibido.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.54</h3></body></html>
oct 02, 2015 12:22:18 PM com.ibm.rqm.ct.util.Logger logError
GRAVE: FAILURE!

What could be the issue?

Thank you in advance, 

2 answers



permanent link
Brett Bohnn (94111157) | answered Oct 02 '15, 1:33 p.m.
Hi Leire, Ted,

In addition to Ted's suggestion please take a look at forum post https://jazz.net/forum/questions/61022/rqm-copyutility-403-error

As noted in that post "the execution is moving further along but now it's failing on PUTTng the test case template (403 or forbidden). Please confirm you have save (create/edit) permissions on the 'Lotus Concord(Testing)' project area for the user on the target machine (**.usma.ibm.com:9443/qmf)"

I think in Leire's case it is failing on a test plan template, e.g. "Finishing: template testplan/com.ibm.rqm.planning.templates.testplan.default" from the log snippet above.

Please go to Manage Project Areas, open the destination project and go to "Permissions." From the "Permission" page check the "Show by Operation" button.  You should go through all the "Save" operations under Quality Management and make sure the user has a role that permits the save operation for everything (given you are trying to do a "deep copy" of all RQM artifacts).

As a side note, you may find you need to limit the scope to ignore non-historical artifacts like test case results depending on the volume of data. Please see forum post for sample syntax that ignores all non-historical artifacts https://jazz.net/forum/questions/199324/what-rqm-copy-utility-syntax-can-be-used-to-copy-all-artifact-types-between-rqm-project-areas-without-copying-non-historical-data-like-test-case-execution-records-test-environments-and-keywords

Thanks,
Brett

permanent link
Ted Mayer (47649) | answered Oct 02 '15, 9:18 a.m.

Hello Leire,

The 403 error means forbidden, are you able to login to the project area of the second server?

The things that I would check is to see if you are a member of the project area and have the peroper permissions to the project and also the Jazz permissions, the other thing would be to ensure that you have a Quality Professional license assigned to you.

This would be the first place to start.

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.