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: <html><head><title>Apache Tomcat/5.5.28 - Error report</title><sty><H1></style> </head><body><h1>HTTP Status 403 - </h1><HR><p><b>type</b> Status report</p><p><b>message
</b> <u></u></p><p><b>description</b> <u>Access to the specified resource () has
been forbidden.</u></p><HR><h3>Apache Tomcat/5.5.28</h3></body></html>
FAILURE!
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: <html><head><title>Apache Tomcat/5.5.28 - Error report</title><sty><H1></style> </head><body><h1>HTTP Status 403 - </h1><HR><p><b>type</b> Status report</p><p><b>message
</b> <u></u></p><p><b>description</b> <u>Access to the specified resource () has
been forbidden.</u></p><HR><h3>Apache Tomcat/5.5.28</h3></body></html>
FAILURE!
7 answers
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://<server>:<port>/<context>/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project>
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.
format. They shouldn't include /web/console, but should look more like
this:
https://<server>:<port>/<context>/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project>
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.
You have to include the full service URL for both source and target project areas....
https://<server>:<port>/<context>/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project>
There are some usage examples on the Wiki:
https://jazz.net/wiki/bin/view/Main/RQMCopyUtility
https://<server>:<port>/<context>/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project>
There are some usage examples on the Wiki:
https://jazz.net/wiki/bin/view/Main/RQMCopyUtility
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://<server>:<port>/<context>/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project>
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: <html><head><title>Apache Tomcat/5.5.28 - Error report</title><style><H1></style> </head><body><h1>HTTP Status 404 - </h1><HR><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR><h3>Apache Tomcat/5.5.28</h3></body></html>
Jul 5, 2011 3:40:01 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: General REST Exception: RestException executing: GET, RC: 404, message: <html><head><title>Apache Tomcat/5.5.28 - Error report</title><style><H1></style> </head><body><h1>HTTP Status 404 - </h1><HR><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR><h3>Apache Tomcat/5.5.28</h3></body></html>
The
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
https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects
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
<id>https://nwn401a2070:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects/MDSS</id>
AND
<id>https://nwn401a2070:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects/test</id>
also I've tried it with "resources" and "projects" in the url and I keep getting a 404 error. Please help!
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 "-i=requirement" 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.
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 "-i=requirement" 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.