It's all about the answers!

Ask a question

Error trying to create a Reference Link between two Configurations-enabled RM Project Areas at different CLM servers. A bug or what am I doing wrong?


Victor Polo de Gyves Montero (135) | asked Jan 18 '19, 3:22 p.m.
retagged Jan 25 '19, 6:41 a.m. by Minakshi Jaint (5113)

Any corrections or hints to achieve this? Or, maybe it is a bug?


IBM CLM version: 6.0.6


In order to build an RM OSLC adapter which could allow CLM’s RM projects to create links of type Reference into my exposed RM project, I’m doing some tests with two CLM servers by trying to connect two configurations enabled RM projects.


This is the current scenario:


  • At CLM1: Create an RM Project Area and enable Configurations. Populate it with some artifacts using the “System requirements sample” template. Name it RM-CLM1.

  • At CLM2: Create another RM Project Area, the same setup as before. Name it RM-CLM2.

  • CLM1’s RM application has CLM2’s RM application as Friend

  • CLM1’s GC application has CLM2’s RM application as Friend

  • CLM2’s RM application has CLM1’s RM application as Friend


So, RM-CLM1 and RM-CLM2 already have their default components and each component, its default streams with some artifacts.


Then at CLM1 we create a GC project area, name it GC-CLM1. In GC-CLM1, we create a GC Component, a GC Stream and we add both RM-CLM1 and RM-CLM2 default streams in the same just created GC Stream.





Then I click to the added RM-CLM1 stream at GC-CLM1’s stream and the web user interface is changed to the RM-CLM11 project but in the context of GC-CLM1’s stream. Then I select an artifact and try to add a “References” link, but the web UI fails showing RM-CLM2 and an error is shown:





(Note: Same error if “Remote server” or “Local server” is selected at the combo box)


Error:


The selected component cannot be shown in the current global configuration. Check that the current global configuration is correct and that a configuration for the component exists in the global configuration.


ID CRRRW7359W  The selected component is not part of the current global configuration. A configuration for the component must be added to the global configuration in order to be able to create links between Configuration Management enabled components.



Also: An exception was reported at the RM log:



2019-01-18 19:12:20,580 [Default Executor-thread-225094 @@ 19:12 koneksys <Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Firefox/60.0@187.143.50.59> /rm/resources/_4_b9IBn0EemYP6MBlOLW9w/compact/html]  WARN .services.discoveredlinks.util.DiscoveredLinksUtil - Exception from remote. Link{linkType=RELATED_TO, projectArea=https://clm1:9443/rm/process/project-areas/_a_bNIBnxEemYP6MBlOLW9w, URL=https://clm1:9443/rm/process/project-areas/_a_bNIBnxEemYP6MBlOLW9w/links/_p_A1EBn1EemYP6MBlOLW9w}
com.ibm.rdm.fronting.server.exception.NotFoundException: Propagated exception; original message [NotFoundException: com.ibm.rdm.fronting.server.exception.NotFoundException]
    at com.ibm.rdm.fronting.server.exception.RRSException.newException(RRSException.java:283)
    at com.ibm.rdm.fronting.server.exception.RRSException.newException(RRSException.java:810)
    at com.ibm.rdm.fronting.server.exception.RRSException.capture(RRSException.java:814)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalServiceExchange.checkError(InternalServiceExchange.java:54)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalServiceExchange.getResponse(InternalServiceExchange.java:37)
    at com.ibm.rdm.fronting.server.core.spi.BaseServiceRequest.execute(BaseServiceRequest.java:89)
    at com.ibm.rdm.fronting.server.services.discoveredlinks.internal.ProjectAreaLink.getQueryService(ProjectAreaLink.java:89)
    at com.ibm.rdm.fronting.server.services.discoveredlinks.util.DiscoveredLinksUtil.getAssociatedServersList(DiscoveredLinksUtil.java:558)
    at com.ibm.rdm.fronting.server.services.discoveredlinks.internal.DiscoveredLinksRestService.doQuery(DiscoveredLinksRestService.java:156)
    at com.ibm.rdm.fronting.server.services.discoveredlinks.internal.DiscoveredLinksRestService.performDerivedLinksQuery(DiscoveredLinksRestService.java:135)
    at sun.reflect.GeneratedMethodAccessor3017.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy566.performDerivedLinksQuery(Unknown Source)
    at com.ibm.rdm.fronting.server.core.links.internal.util.LinkQueryUtil.getDerivedLinks(LinkQueryUtil.java:284)
    at com.ibm.rdm.fronting.server.core.links.isrs.QueryLinksRequestJAF.executeServiceRequest(QueryLinksRequestJAF.java:140)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalDefaultPartitionerFactory$1ExecuteServiceRequest.call(InternalDefaultPartitionerFactory.java:29)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalDefaultPartitionerFactory$1ExecuteServiceRequest.call(InternalDefaultPartitionerFactory.java:1)
    at com.ibm.rdm.fronting.server.core.spi.DefaultPartitionerFactory$1DefaultExecutor.call(DefaultPartitionerFactory.java:76)
    at com.ibm.rdm.fronting.server.core.spi.DefaultPartitionerFactory$1DefaultExecutor.call(DefaultPartitionerFactory.java:1)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.handleExecutables(InternalCoreServices.java:715)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:409)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:260)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:253)
    at com.ibm.rdm.fronting.server.core.spi.BaseServiceRequest.execute(BaseServiceRequest.java:83)
    at com.ibm.rdm.fronting.server.core.links.internal.util.LinkQueryUtil.queryLinks(LinkQueryUtil.java:219)
    at com.ibm.rdm.fronting.server.core.links.internal.util.LinkQueryUtil.getLinks(LinkQueryUtil.java:121)
    at com.ibm.rdm.fronting.server.compact.internal.loader.LinkDataLoader.getLinks(LinkDataLoader.java:659)
    at com.ibm.rdm.fronting.server.compact.internal.loader.LinkDataLoader.getLinkSummaries(LinkDataLoader.java:122)
    at com.ibm.rdm.fronting.server.compact.internal.loader.LinkDataLoader.load(LinkDataLoader.java:105)
    at com.ibm.rdm.fronting.server.compact.internal.loader.ResourceDataLoader.doLoad(ResourceDataLoader.java:69)
    at com.ibm.rdm.fronting.server.compact.internal.loader.ResourceDataLoader.load(ResourceDataLoader.java:36)
    at com.ibm.rdm.fronting.server.compact.internal.info.ResourceCompactInfo.loadFullData(ResourceCompactInfo.java:181)
    at com.ibm.rdm.fronting.server.compact.internal.info.ArtifactCompactInfo.loadFullData(ArtifactCompactInfo.java:63)
    at com.ibm.rdm.fronting.server.compact.internal.html.HtmlCompactRenderer.processForCompactHtmlRendering(HtmlCompactRenderer.java:101)
    at com.ibm.rdm.fronting.server.compact.internal.html.HtmlCompactRenderer.handleGET(HtmlCompactRenderer.java:89)
    at com.ibm.rdm.fronting.server.compact.internal.html.HtmlCompactRenderer.handle(HtmlCompactRenderer.java:48)
    at com.ibm.rdm.fronting.server.compact.internal.CompactRenderingUtil.handleCompactRenderingRequest(CompactRenderingUtil.java:104)
    at com.ibm.rdm.fronting.server.services.RMRestService.runInternalMethod(RMRestService.java:444)
    at com.ibm.rdm.fronting.server.services.RMRestService.handleMethod(RMRestService.java:412)
    at com.ibm.rdm.fronting.server.services.RMRestService.performService(RMRestService.java:348)
    at com.ibm.rdm.fronting.server.services.DispatchingRMRestService.performService(DispatchingRMRestService.java:26)
    at com.ibm.rdm.fronting.server.services.RMRestServiceBase.service(RMRestServiceBase.java:230)
    at com.ibm.rdm.fronting.server.services.RMBridgeService.service(RMBridgeService.java:145)
    at sun.reflect.GeneratedMethodAccessor1088.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at com.sun.proxy.$Proxy676.service(Unknown Source)
    at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:1112)
    at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2722)
    at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2494)
    at com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$0(AbstractTeamServerServlet.java:2479)
    at com.ibm.team.repository.servlet.AbstractTeamServerServlet$1.service(AbstractTeamServerServlet.java:258)
    at com.ibm.team.repository.service.internal.compatibility.auth.DelegatedAuthHandlerService$1.run(DelegatedAuthHandlerService.java:264)
    at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleAuthentication(AbstractTeamServerServlet.java:2166)
    at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1903)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    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:668)
    at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152)
    at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:743)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:440)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:147)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
    at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
    at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:995)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1124)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4962)
    at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:314)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:995)
    at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279)
    at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1009)
    at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:412)
    at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:371)
    at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:530)
    at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:464)
    at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:329)
    at com.ibm.ws.http.channel.internal.inbound.HttpICLReadCallback.complete(HttpICLReadCallback.java:70)
    at com.ibm.ws.channel.ssl.internal.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1803)
    at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:501)
    at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:571)
    at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:926)
    at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1015)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(Thread.java:811)
Caused by: com.ibm.rdm.fronting.server.exception.NotFoundException: com.ibm.rdm.fronting.server.exception.NotFoundException
    at com.ibm.rdm.fronting.server.exception.RRSException.newException(RRSException.java:283)
    at com.ibm.rdm.fronting.server.exception.RRSException.newException(RRSException.java:223)
    at com.ibm.rdm.fronting.server.core.jpi.internal.ExternalHTTPResponseHandler.statusCheck(ExternalHTTPResponseHandler.java:93)
    at com.ibm.rdm.fronting.server.core.jpi.internal.ExternalHTTPResponseHandler.handleResponse(ExternalHTTPResponseHandler.java:83)
    at com.ibm.rdm.fronting.server.core.http.internal.RestClient$RestClientInternal.processHttpResponse(RestClient.java:87)
    at com.ibm.rdm.fronting.server.core.jpi.internal.CoreServiceRequest.processResponse(CoreServiceRequest.java:67)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.handleCoreBulkables(InternalCoreServices.java:924)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.handleCoreRequests(InternalCoreServices.java:857)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:408)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:260)
    at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:253)
    at com.ibm.rdm.fronting.server.core.spi.BaseServiceRequest.execute(BaseServiceRequest.java:83)
    ... 95 more
Request
    GET https://clm2:9443/rm/oslc_rm/_FeovwBnyEemODtq02xa0dw/services.xml HTTP/1.1
    Accept: application/rdf+xml
    DoorsRP-Request-Type: private
    OSLC-Core-Version: 2.0
    Configuration-Context: https://clm1:9443/gc/configuration/11
    x-com-ibm-team-prevent-csrf: true
Response:
    HTTP/1.1 404 Not Found
    X-Powered-By: Servlet/3.0
    Content-Type: application/rdf+xml; charset=UTF-8
    Content-Length: 561
    Content-Language: en-US
    Connection: Close
    Date: Fri, 18 Jan 2019 19:12:20 GMT
    Expires: Thu, 01 Dec 1994 16:00:00 GMT
    Cache-Control: no-cache="set-cookie, set-cookie2"
    Content-Length: 561
    ServiceResponse was null: true, ServiceResponse stream was null: true
    ---Start entity---
    Exception Occurred while retrieving content
    class java.lang.IllegalStateException:Content has been consumed
    --End entity------


Be the first one to answer this question!


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.