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

RQM Copy Utiltity

When I execute the Java command line against the RQM Copy Utility Jar I get errors trying to copy a test plan from one project location to another...

I am use the JRE 1.6 and have specified the correct port number in the URL.


see command and error below

//COMMAND
D:\Documents and Settings\E125342\Desktop\Rational\Copy Utility>java -jar RQMCop
yUtility.jar -s=https://nwn401a2070:9443/jazz/web/console/MDSS -us=e125342 -pws=
obsidius82 -d=https://nwn401a2070:9443/jazz/web/console/MDSS_12843%20CDH%20MOS%2
0Claims

//ERROR
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying SSLv3
Jul 1, 2011 10:20:07 AM org.apache.commons.httpclient.HttpMethodDirector isRedir
ectNeeded
INFO: Redirect requested but followRedirects is disabled
Jul 1, 2011 10:20:07 AM org.apache.commons.httpclient.HttpMethodDirector isRedir
ectNeeded
INFO: Redirect requested but followRedirects is disabled
Jul 1, 2011 10:20:07 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting processing of artifact type: remotescript
Jul 1, 2011 10:20:07 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Reading feed for artifact type: remotescript
Jul 1, 2011 10:20:07 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 403, retry #: 0
Jul 1, 2011 10:20:10 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 403, retry #: 1
Jul 1, 2011 10:20:13 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: General REST Exception: RestException executing: GET Artifact Feed, RC:
403, message: &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.28 - Error report&lt;/title&gt;&lt;sty&gt;&lt;H1&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 403 - &lt;/h1&gt;&lt;HR&gt;&lt;p&gt;<b>type</b> Status report&lt;/p&gt;&lt;p&gt;<b>message
</b> <u></u>&lt;/p&gt;&lt;p&gt;<b>description</b> <u>Access to the specified resource () has
been forbidden.</u>&lt;/p&gt;&lt;HR&gt;&lt;h3&gt;Apache Tomcat/5.5.28&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
FAILURE!

0 votes



7 answers

Permanent link
The URLs you are specifying for -s and -d are not in the expected
format. They shouldn't include /web/console, but should look more like
this:

https://&lt;server&gt;:&lt;port&gt;/&lt;context&gt;/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/&lt;Project&gt;

See the examples shown here:

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

Also, if you are using RQM 3.0.1 the context root maybe /qm instead of
/jazz.

0 votes


Permanent link
You have to include the full service URL for both source and target project areas....
https://&lt;server&gt;:&lt;port&gt;/&lt;context&gt;/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/&lt;Project&gt;

There are some usage examples on the Wiki:
https://jazz.net/wiki/bin/view/Main/RQMCopyUtility

0 votes


Permanent link
The URLs you are specifying for -s and -d are not in the expected
format. They shouldn't include /web/console, but should look more like
this:

https://&lt;server&gt;:&lt;port&gt;/&lt;context&gt;/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/&lt;Project&gt;

See the examples shown here:

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

Also, if you are using RQM 3.0.1 the context root maybe /qm instead of
/jazz.



OK I tried this and got a different error, please help!

Jul 5, 2011 3:37:28 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting processing of artifact type: remotescript
Jul 5, 2011 3:37:28 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Reading feed for artifact type: remotescript
Jul 5, 2011 3:37:29 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Done reading feed for artifact type: remotescript
Jul 5, 2011 3:37:29 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Ending processing of artifact type: remotescript
Jul 5, 2011 3:37:29 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting processing of artifact type: requirement
Jul 5, 2011 3:37:29 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Reading feed for artifact type: requirement
Jul 5, 2011 3:37:31 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Done reading feed for artifact type: requirement
Jul 5, 2011 3:37:31 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: requirement urn:com.ibm.rqm:requirement:43
Jul 5, 2011 3:37:31 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 0
Jul 5, 2011 3:38:01 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 1
Jul 5, 2011 3:38:31 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 2
Jul 5, 2011 3:39:01 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 3
Jul 5, 2011 3:39:31 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 4
Jul 5, 2011 3:40:01 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: RestException executing: GET, RC: 404, message: &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.28 - Error report&lt;/title&gt;&lt;style&gt;&lt;H1&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 404 - &lt;/h1&gt;&lt;HR&gt;&lt;p&gt;<b>type</b> Status report&lt;/p&gt;&lt;p&gt;<b>message</b> <u></u>&lt;/p&gt;&lt;p&gt;<b>description</b> <u>The requested resource () is not available.</u>&lt;/p&gt;&lt;HR&gt;&lt;h3&gt;Apache Tomcat/5.5.28&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
Jul 5, 2011 3:40:01 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: General REST Exception: RestException executing: GET, RC: 404, message: &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.28 - Error report&lt;/title&gt;&lt;style&gt;&lt;H1&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 404 - &lt;/h1&gt;&lt;HR&gt;&lt;p&gt;<b>type</b> Status report&lt;/p&gt;&lt;p&gt;<b>message</b> <u></u>&lt;/p&gt;&lt;p&gt;<b>description</b> <u>The requested resource () is not available.</u>&lt;/p&gt;&lt;HR&gt;&lt;h3&gt;Apache Tomcat/5.5.28&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;



The

0 votes


Permanent link
I think your source/destination project names are incorrect. You need to use the alias name of your project. Review the Quality Manager : Project Feed and use the project alias for the source and destination projects.

https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects

0 votes


Permanent link
I think your source/destination project names are incorrect. You need to use the alias name of your project. Review the Quality Manager : Project Feed and use the project alias for the source and destination projects.

https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects


I'm getting the same thing...here is my command

java -jar RQMCopyUtil.jar -s=https://nwn401a2070:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/MDSS
-us=e104040 -pws=vinny7 -d=https://nwn401a2070:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/test


And the alias from the project feed is
&lt;id&gt;https://nwn401a2070:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects/MDSS&lt;/id&gt;

AND

&lt;id&gt;https://nwn401a2070:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects/test&lt;/id&gt;

also I've tried it with &quot;resources&quot; and &quot;projects&quot; in the url and I keep getting a 404 error. Please help!

0 votes


Permanent link
What version of RQM are you using? Be certain that the Copy Util you are using matches your RQM version. As the 2.x Copy Util wouldn't work with RQM 3.0.1.

It appears that the issue happens when the copy util process requirements. Also, tell us what system you are using to store requirements for both the source project area and destination project area.

Something to try is to have the CopyUtil to ignore all requirements. This can be done by adding the argument &quot;-i=requirement&quot; to the command you are issue. Don't include the quotes.

Try that using a test destination project. If that works, then it helps narrow down your issue.

0 votes


Permanent link
Working ok now. I can't copy requirements but the other artifacts are working ok. thanks for everyone's help!

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: Jul 01 '11, 10:27 a.m.

Question was seen: 5,939 times

Last updated: Jul 01 '11, 10:27 a.m.

Confirmation Cancel Confirm