It's all about the answers!

Ask a question

Integration change/RQM


David MICHEL (1472548) | asked Jun 16 '15, 5:46 a.m.
edited Jun 16 '15, 6:57 a.m. by Ralph Schoon (63.7k33648)
hello,
    I have some issue to create a friend from change on RQM.
I have followed the documentation: http://www-01.ibm.com/support/knowledgecenter/SSYQQ2_5.3.0/com.ibm.rational.change.admin.doc/topics/ch_t_ha_integrate_rqm.html

But when I click on the button "create friend", I have the following message:

« An error occurred communicating with the server at "http://<server>:<port>/change/rootservices". Verify that the server is available, and that there are no firewalls or other artifacts between these two endpoints that could present a confirmation dialog.ID CRJAZ2287E

com.ibm.team.repository.common.TeamRepositoryException
.....
.....
....
.....

caused by:

RDFEntity charset must be UTF-8 (com.ibm.team.jfs.app.resource.entity.InputProcessingFailedException)

com.ibm.team.jfs.app.resource.entity.RDFEntity.(RDFEntity.java:110)
com.ibm.team.jfs.app.resource.entity.RDFEntity.getRDFEntity(RDFEntity.java:235)
com.ibm.team.jfs.app.resource.entity.RDFEntity.getModel(RDFEntity.java:276)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService$1.handleResponse(FriendsAdminRestService.java:755)

When I try the url,
http://<server>:<port>/change/rootservices, I have this result:
<rdf:Description rdf:about="
http://<server>:<port>/change/rootservices">
    <oslc_cm:cmServiceProviders rdf:resource="
http://<server>:<port>/change/oslc"/>
    <jfs:oauthDomain>/jazz<jfs:oauthDomain>
    <jfs:oauthRequestConsumerKeyUrl rdf:resource="/jazz/oauth-request-consumer"/>
</rdf:Description>

Can someone help me ?

Thank you

Best regards

Accepted answer


permanent link
Lawrence . (59512) | answered Jun 16 '15, 7:24 a.m.
Hi David,

What version of RQM and Change are you trying to integrate?

As per you doc link I assume that you have a Change 5.3 installation(?)
What version of RQM are you using?

Rational Change 5.2 and earlier releases supported either the CP1252 or UTF-8 character encoding. As of Rational Change 5.3, UTF-8 is the only supported encoding

If you not using 5.3, you can check <CHANGE_APP_HOME>/WEB-INF/wsconfig/init.cfg, for encoding 'windows-1252' or 'UTF-8'.
David MICHEL selected this answer as the correct answer

Comments
David MICHEL commented Jun 16 '15, 7:31 a.m.

Hi LD,
     I use RQM 4.0.5 and change 5.2 so I will check the file init.cfg and I will come back

Thank you


Lawrence . commented Jun 16 '15, 7:44 a.m.

Hi David,

As per:
https://jazz.net/wiki/bin/view/Deployment/CLMSystemRequirements405406#D2_Integrations
4.0.5, 4.0.6 and 4.0.7 works only with Change 5.3

3 other answers



permanent link
David MICHEL (1472548) | answered Jun 16 '15, 8:26 a.m.
We have changed the setting of init.cfg and now we have a new message:


Target host must not be null, or set in parameters.

java.lang.IllegalStateException

org.apache.http.impl.client.DefaultRequestDirector.determineRoute(DefaultRequestDirector.java:717)
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:358)
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
com.ibm.team.repository.service.internal.oauth.OAuthRestService.postRequestRemoteProvisionalKey(OAuthRestService.java:270)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
com.sun.proxy.$Proxy97.postRequestRemoteProvisionalKey(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:530)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2353)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2153)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1963)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
java.lang.Thread.run(Thread.java:738)

If we have again a good idea, it will be great.

Thank you for your help



permanent link
Lawrence . (59512) | answered Jun 16 '15, 9:37 a.m.
Hi David,

Please refer to the on-line help:

Integrating Rational Quality Manager and Rational Change
https://www-01.ibm.com/support/knowledgecenter/SSYMRC_4.0.5/com.ibm.rational.test.qm.doc/topics/c_int_rational_change.html

    To set up the integration with Rational Change, you must meet these prerequisites:

        You must use Rational Change version 5.3 or later.
        You must be a member of the JazzAdmins group.

So I would advise to upgrade your Change server to 5.3 as even if you manage to connect RQM 4.0.5 it will not be a supported configuration and you might run in to unexpected issues.

Another thing to note is that CLM is using OSLC CM v2 with has been implemented in Rational Change 5.3

permanent link
David MICHEL (1472548) | answered Jun 16 '15, 9:42 a.m.
Hi Lorenzo,
    Thank you for your return. Unfortunately, it's not possible for my case to upgrade to V5.3.
So the integration will not possible.

Have a good days

Best regards


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.