It's all about the answers!

Ask a question

RQM Copy Utility - Error received: 404: SRVE0295E Failure


Holly Rey (1112) | asked Sep 01 '20, 9:13 a.m.
 I ran the following RQMCopyUtility command and received Error 404: SRVE0295E Failure:
* 2 of 83 test plans copied
* 874 of 1884 test cases copied
* 259 of 1724 test scripts copied
* Zero of 2066 TER's copied

Can anyone tell me how to get this utility to run without errors? 

"C:\Program Files (x86)\Java\jre1.8.0_111\bin\java" -jar RQMCopyUtility.jar -s=https://XXXXXX/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/EST_TIO_CLM_QM -us=ADMIN -pws=ADMIN -d=https://YYYYYY/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/APP_EST_INT_E2E+CLM_QM_2 -a=testplan,attachment,testcase,testscript,executionresult,executionworkitem,testphase,keyword -l=importlog.txt

Below is from the lmportlog.txt: 

31 Aug 2020 13:22:54,855-0500 [main]  INFO com.ibm.rqm.ct.CopyUtil: Finishing: template testplan/com.ibm.rqm.planning.templates.testplan.template_1352838016929
31 Aug 2020 13:22:54,855-0500 [main]  INFO com.ibm.rqm.ct.CopyUtil: Starting: configuration TE2738
31 Aug 2020 13:22:54,978-0500 [main]  INFO com.ibm.rqm.ct.CopyUtil: Error received: 404, retry #: 0
31 Aug 2020 13:22:58,490-0500 [main]  INFO com.ibm.rqm.ct.CopyUtil: Error received: 404, retry #: 1
31 Aug 2020 13:23:01,491-0500 [main] ERROR com.ibm.rqm.ct.CopyUtil: RestException executing: GET, RC: 404, message: Error 404: SRVE0295E: Error reported: 404
31 Aug 2020 13:23:01,491-0500 [main] ERROR com.ibm.rqm.ct.CopyUtil: RestException executing: GET, RC: 404, message: Error 404: SRVE0295E: Error reported: 404
31 Aug 2020 13:23:01,491-0500 [main] ERROR com.ibm.rqm.ct.CopyUtil: General REST Exception: RestException executing: GET, RC: 404, message: Error 404: SRVE0295E: Error reported: 404
31 Aug 2020 13:23:01,491-0500 [main] ERROR com.ibm.rqm.ct.CopyUtil: FAILURE!
31 Aug 2020 13:23:01,491-0500 [main]  INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the source IBM Rational Quality Manager server.
31 Aug 2020 13:23:02,063-0500 [main]  INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the destination IBM Rational Quality Manager server.

7 answers



permanent link
Brett Bohnn (94111157) | answered Sep 01 '20, 9:57 a.m.

 Hi,


It's a 404 "Not Found" and there is really no way to get much from the copy utility log snippet above. I I recommend looking the qm.log for corresponding errors as well. Look at the exact times of the 404 errors in the copy utility log and post anything relevant. 

Thanks,
Brett


permanent link
Holly Rey (1112) | answered Sep 01 '20, 11:41 a.m.
 Below is the qm.log at the time I ran the RQM Copy Utility command. Can anyone tell me how to get this utility to run without errors? 

2020-08-31 09:59:40,416 [WebContainer : 5 @@ 09:59 10dqb <Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; wbx 1.0.0)@XX.XXX.XXX.XX> /qm/_makeRequestService]  WARN .team.repository.servlet.AbstractTeamServerServlet  - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. CRJAZ1170I The request was made by user "10dqb" from "nct001ma4352754.SErver".CRJAZ1166I The stack trace hash is 2D91F3CFCB53684451D43BDCF2919CCC78794546.
com.ibm.team.repository.common.CSRFException: The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value.
 at com.ibm.team.repository.service.permission.SecurityHelper.preventCSRF(SecurityHelper.java:280)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.checkForCSRF(AbstractTeamServerServlet.java:1095)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:1134)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2841)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2613)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1957)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
 at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152)
 at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:199)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:176)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:210)
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4217)
 at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)
 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)
 at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
 at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
2020-08-31 09:59:40,416 [WebContainer : 11 @@ 09:59 10dqb <Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; wbx 1.0.0)@XX.XXX.XXX.XX> /qm/_makeRequestService]  WARN .team.repository.servlet.AbstractTeamServerServlet  - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. CRJAZ1170I The request was made by user "10dqb" from "nct001ma4352754.SErver".CRJAZ1167I The stack trace hash is 2D91F3CFCB53684451D43BDCF2919CCC78794546, use it to locate the previously logged stack trace at Mon Aug 31 09:59:40 CDT 2020.
2020-08-31 10:30:02,628 [WebContainer : 10 @@ 10:30 10dqb <Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; wbx 1.0.0)@XX.XXX.XXX.XX> /qm/_makeRequestService]  WARN .team.repository.servlet.AbstractTeamServerServlet  - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. CRJAZ1170I The request was made by user "10dqb" from "nct001ma4352754.SErver".CRJAZ1166I The stack trace hash is 2D91F3CFCB53684451D43BDCF2919CCC78794546.
com.ibm.team.repository.common.CSRFException: The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value.
 at com.ibm.team.repository.service.permission.SecurityHelper.preventCSRF(SecurityHelper.java:280)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.checkForCSRF(AbstractTeamServerServlet.java:1095)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:1134)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2841)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2613)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1957)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
 at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152)
 at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:199)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:176)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:210)
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4217)
 at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)
 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)
 at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
 at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
2020-08-31 10:32:07,552 [WebContainer : 5 @@ 10:32 <unauthenticated> <LQE/1.0@XXX.XX.XX.XXX> /qm/process/project-areas/_9LofYOueEeqJxpQFj197CQ] ERROR ternal.service.admin.resources.ProjectAreaResource  - Can not find service provider in catalog: https://rqmSErver:XXXXX/qm/oslc_qm/catalog. Exception: com.ibm.team.repository.common.TeamRepositoryException: Rootservices url "https://rqmSErver:XXXXX/qm/oslc_qm/contexts/_9LofYOueEeqJxpQFj197CQ/services.xml" returned HTTP code "400"
2020-08-31 10:32:08,033 [WebContainer : 5 @@ 10:32 <unauthenticated> <LQE/1.0@XXX.XX.XX.XXX> /qm/process/project-areas/_9LofYOueEeqJxpQFj197CQ] ERROR ternal.service.admin.resources.ProjectAreaResource  - Can not find service provider in catalog: https://rqmSErver:XXXXX/qm/oslc_auto_test/catalog. Exception: com.ibm.team.repository.common.TeamRepositoryException: Rootservices url "https://rqmSErver:XXXX/qm/oslc_auto_test/contexts/_9LofYOueEeqJxpQFj197CQ/services.xml" returned HTTP code "400"
2020-08-31 10:33:06,083 [              WebContainer : 7]  WARN com.ibm.team.dashboard.internal.web.ViewletCatalog  - Could not find a viewlet definition a the <viewlet-entry>: com.ibm.cognos.viewlet
2020-08-31 10:33:34,520 [WebContainer : 10 @@ 10:33 10dqb <Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; wbx 1.0.0)@XX.XXX.XXX.XX> /qm/_makeRequestService]  WARN .team.repository.servlet.AbstractTeamServerServlet  - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. CRJAZ1170I The request was made by user "10dqb" from "nct001ma4352754.SErver".CRJAZ1167I The stack trace hash is 2D91F3CFCB53684451D43BDCF2919CCC78794546, use it to locate the previously logged stack trace at Mon Aug 31 10:30:02 CDT 2020.
2020-08-31 10:34:04,499 [WebContainer : 8 @@ 10:34 10dqb <Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; wbx 1.0.0)@XX.XXX.XXX.XX> /qm/_makeRequestService]  WARN .team.repository.servlet.AbstractTeamServerServlet  - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. CRJAZ1170I The request was made by user "10dqb" from "nct001ma4352754.SErver".CRJAZ1167I The stack trace hash is 2D91F3CFCB53684451D43BDCF2919CCC78794546, use it to locate the previously logged stack trace at Mon Aug 31 10:30:02 CDT 2020.
2020-08-31 10:41:36,285 [WebContainer : 14 @@ 10:41 10dqb <Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; wbx 1.0.0)@XX.XXX.XXX.XX> /qm/_makeRequestService]  WARN .team.repository.servlet.AbstractTeamServerServlet  - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. CRJAZ1170I The request was made by user "10dqb" from "nct001ma4352754.SErver".CRJAZ1166I The stack trace hash is 2D91F3CFCB53684451D43BDCF2919CCC78794546.
com.ibm.team.repository.common.CSRFException: The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value.
 at com.ibm.team.repository.service.permission.SecurityHelper.preventCSRF(SecurityHelper.java:280)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.checkForCSRF(AbstractTeamServerServlet.java:1095)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:1134)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2841)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2613)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1957)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
 at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152)
 at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:199)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:176)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:210)
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4217)
 at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)
 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)
 at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
 at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
2020-08-31 10:41:53,287 [WebContainer : 6 @@ 10:41 10dqb <Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; wbx 1.0.0)@XX.XXX.XXX.XX> /qm/_makeRequestService]  WARN .team.repository.servlet.AbstractTeamServerServlet  - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. CRJAZ1170I The request was made by user "10dqb" from "nct001ma4352754.SErver".CRJAZ1167I The stack trace hash is 2D91F3CFCB53684451D43BDCF2919CCC78794546, use it to locate the previously logged stack trace at Mon Aug 31 10:41:36 CDT 2020.
2020-08-31 10:42:37,604 [WebContainer : 8 @@ 10:42 10dqb <Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; wbx 1.0.0)@XX.XXX.XXX.XX> /qm/_makeRequestService]  WARN .team.repository.servlet.AbstractTeamServerServlet  - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. CRJAZ1170I The request was made by user "10dqb" from "nct001ma4352754.SErver".CRJAZ1166I The stack trace hash is E03555AE369292F3FCCD601F9F5EDEB57E639E92.
com.ibm.team.repository.common.CSRFException: The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value.
 at com.ibm.team.repository.service.permission.SecurityHelper.preventCSRF(SecurityHelper.java:280)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.checkForCSRF(AbstractTeamServerServlet.java:1095)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:1134)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2841)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2613)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1957)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
 at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152)
 at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:199)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:176)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:210)
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4217)
 at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)
 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)
 at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:289)
 at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1187)
 at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:768)
 at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallback.complete(SSLConnectionLink.java:464)
 at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:1137)
 at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshakeIOCallback.java:87)
 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
2020-08-31 10:43:07,009 [WebContainer : 9 @@ 10:43 <unauthenticated> <LQE/1.0@XXX.XX.XX.XXX> /qm/process/project-areas/_qDZYUOugEeqJxpQFj197CQ] ERROR ternal.service.admin.resources.ProjectAreaResource  - Can not find service provider in catalog: https://rqmSErver:XXXX/qm/oslc_qm/catalog. Exception: com.ibm.team.repository.common.TeamRepositoryException: Rootservices url "https://rqmSErver:XXXX/qm/oslc_qm/contexts/_qDZYUOugEeqJxpQFj197CQ/services.xml" returned HTTP code "400"
2020-08-31 10:43:07,151 [WebContainer : 9 @@ 10:43 <unauthenticated> <LQE/1.0@XXX.XX.XX.XXX> /qm/process/project-areas/_qDZYUOugEeqJxpQFj197CQ] ERROR ternal.service.admin.resources.ProjectAreaResource  - Can not find service provider in catalog: https://rqmSErver:XXXX/qm/oslc_auto_test/catalog. Exception: com.ibm.team.repository.common.TeamRepositoryException: Rootservices url "https://rqmSErver:XXX/qm/oslc_auto_test/contexts/_qDZYUOugEeqJxpQFj197CQ/services.xml" returned HTTP code "400"



permanent link
Christopher Fleischer (7125) | answered Sep 01 '20, 1:34 p.m.
JAZZ DEVELOPER

 Hi Holly, these timestamps don't correlate with the first post of errors with the copy utility. Can you look in the qm.log at this time: 31 Aug 2020 13:23:01,491



permanent link
Brett Bohnn (94111157) | answered Sep 01 '20, 1:45 p.m.

 Hi Holly,


As Chris said, none of those errors in qm.log make any sense in the context of the Copy Utility 404 error. 

Can you please ask the user to do the import and the immediately check the qm.log?  

However, we recommend that you troubleshoot each artifact import separately given there are several artifact types that appear to be failing. And RQM Copy does a deep copy so if you copy a test plan it will attempt to copy its child artifacts. e.g. test cases. 

 Start with -a=testplan only. Then check the import log and qm.log for errors importing just test plans. 

Then move on to test case, then test scripts, etc. 

Thanks,
Brett


permanent link
Holly Rey (1112) | answered Sep 01 '20, 2:29 p.m.

 Even with all the failures we have not seen one test case execution record (TER/TCER) be copied to the new CLM. Since those have to be linked to a test case as a parent this makes no since.


permanent link
Brett Bohnn (94111157) | answered Sep 01 '20, 4:23 p.m.

   Holly,


Going back to your original  404 error:

31 Aug 2020 13:22:54,855-0500 [main]  INFO com.ibm.rqm.ct.CopyUtil: Starting: configuration TE2738

That (configuration) is a test environment and I have seen problems in the past copying test environments.  This is going to require some trial and error and you may not be able to copy all TCERs and results. If that is a deal breaker in this effort that is something to realize now. 

  1. I should have mentioned before. Make sure you are using at least the 6061 RQM Copy Utility given you are using RQM 6.0.6.1
  2. Try your original command with -i=configuration to ignore  test environments. If that fails, find the error in the copy utility log and match that up with the same time stamp in the qm.log and post  that here. 
You ultimately may need to ignore execution records and results as described here  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
Ryan McBryde (5911233) | answered Oct 26 '21, 11:53 a.m.

 Hi Brett,

I am trying to run this to copy artifacts from one RQM 6.0.1 instance/project to another one. I have made sure to use a 1.8 version of the JRE and I had to determine the original name of the source project, as it had been changed.  When I run it with, as you suggested, just the "-a=testplan" option and I am receiving this message:  "SEVERE: General REST Exception: RestException executing: GET Artifact Feed, RC: 403"       I tried to go to the destination URL, 

And I get a "Permission Denied" error, "Your account does not have the group memberships required to access the requested resource."   I am an admin and can login and created, archive, update projects in the RQM GUI so I don't understand the error. but when I check my userid it shows that I am only a member of the JazzAdmins group and no other.  When I compare to another instance, I see both JazzAdmins and JazzProjectAdmins.  In this instance I can go to the qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects and get the xml listing of all the projects.

Could this be the reason that I am getting the permission error and cannot get the copy utility to work with the instance?

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.