Problems with CopyUtility
Hello. I'm using the CopyUtility util to copy a project A in project B in my RQM 3.0.1.1 deployment.
I'm getting the following error: ........ Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Done reading feed for artifact type: requirement Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Ending processing of artifact type: requirement Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting processing of artifact type: template Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Reading feed for artifact type: template Dec 1, 2011 5:46:20 PM org.apache.commons.httpclient.HttpMethodBase getResponseBody WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Done reading feed for artifact type: template Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 0 Dec 1, 2011 5:46:23 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 1 Exception in thread "main" at com.ibm.rqm.ct.client.internal.RQMRestClient.unmarshal(RQMRestClient.java:425) at com.ibm.rqm.ct.client.internal.RQMRestClient.getArtifact(RQMRestClient.java:169) at com.ibm.rqm.ct.artifacts.internal.TemplateArtifactHandler.persist(TemplateArtifactHandler.java:50) at com.ibm.rqm.ct.CopyUtil.main(CopyUtil.java:280) The util gets an exception while unmarshalling template artifact .... Second question I have: to be able to "debug" what was happening, I have compiled the CopyUtility on my eclipse. I had to add the following libraries in my libpath to be able to build the util: |
2 answers
1) It appears from the stack trace that you are not using the RQM Copy Utility V3.0.1.1. I would suggest downloading/running the RQM Copy Utility V3.0.1.1.
2) You should only need the following JARs, which are packaged in the /lib directory of the RQMCopyUtility.jar: commons-httpclient-3.0.jar org.apache.commons.logging_1.0.4.v20080605-1930.jar commons-codec-1.3.jar jdom-1.0.jar Note, you also need Java 6. |
Thank you Paul
the problem was I'm not using the jdk6 thank you very much |
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.