RFT Adapter begins using 'localhost' instead of configured server URL
We configured Jazz Team Server (JTS) to communicate with different computer running Rational Functional Tester (RFT). In attempting to execute RFT Scripts from QM when Start Adapter is used in starting RFT Adapter we are consistently seeing 'Unable to register the adapter with RQM'. I have searched online for various solutions and made sure 'Register Tool Adapter' Permission is enabled for Everyone (also tried enabling for Team Member/Contributor). We enabled logging and discovered the root cause seems to be that RFT begins to use 'localhost' during Start Adapter instead of the configured Server URL. The log shows initially the communication between Server and Adapter proceeds without issues. But after obtaining UUID below exchange occurs. We tried using numeric IP Address and while that lead to a different dialogue between Server and Adapter ultimately Start Adapter fails with same message. Any help is greatly appreciated. Thank you.
Inder Kainth
11:23:15,641 [main] DEBUG com.ibm.rqm.integration.client.clientlib - Start internalSendToServer[https://asd0241:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+New1+%28Quality+Management%29/adapter/_UzCKwIfHEeWR6qQPkfLcag,<?xml version="1.0" encoding="utf-8"?>
<qm:tooladapter
xmlns:rqm="http://schema.ibm.com/rqm/2007#executionresult"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:app="http://www.w3.org/2007/app"
xmlns:qm="http://jazz.net/xmlns/alm/qm/v0.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:abdera="http://incubator.apache.org/abdera"
xmlns:rqmversion="http://jazz.net/xmlns/prod/jazz/rqm/qm/1.0/"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:a="http://www.w3.org/2005/Atom"
xmlns:qmtask="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1"
xmlns:qmtestscript="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/"
xmlns:qmadapter="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:alm="http://jazz.net/xmlns/alm/v0.1/"
xmlns:qmresult="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1"
>
<dc:identifier>_UzCKwIfHEeWR6qQPkfLcag</dc:identifier>
<dc:title>RFT Adapter on MERLIN-1753</dc:title>
<dc:description>This is a Rational Functional Tester Adapter</dc:description>
<dc:creator>Admin</dc:creator>
<qmadapter:type>com.ibm.rqm.adapter.rft</qmadapter:type>
<qmadapter:pollinginterval>3000</qmadapter:pollinginterval>
<qmadapter:state>AVAILABLE</qmadapter:state>
<qmadapter:hostname>MERLIN-1753</qmadapter:hostname>
<qmadapter:ipaddress>192.168.140.208</qmadapter:ipaddress>
<qmadapter:macaddress>eth3</qmadapter:macaddress>
<qmadapter:fqdn>MERLIN-1753.corporate.local</qmadapter:fqdn>
<qmadapter:capability>IMPORT</qmadapter:capability>
<qmadapter:capability>EXECUTE</qmadapter:capability>
<qmadapter:capability>RECORD</qmadapter:capability>
</qm:tooladapter>]
11:23:21,871 [main] DEBUG com.ibm.rqm.integration.client.clientlib - End internalSendToServer
11:23:21,871 [main] DEBUG com.ibm.rqm.integration.client.clientlib - Start getFromServer[https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+New1+%28Quality+Management%29/adapter/_UzCKwIfHEeWR6qQPkfLcag]
11:23:22,900 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
11:23:22,900 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request
11:23:23,930 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
11:23:23,930 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request
11:23:24,960 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
11:23:24,960 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request
11:23:25,989 [main] DEBUG com.ibm.rqm.integration.client.clientlib - ++++ RQMConnectionHelper: java.net.ConnectException: Connection refused: connect
11:23:25,989 [main] ERROR com.ibm.rqm.adapter.rft - Unable to register the adapter with RQMFailed to retrieve adapter information
One answer
Hi, Inder
If from RFT machine, you connect to RQM via public URI over browser, do you have any problem?
suppose this works, then you may want to stop adapter and remove RQMAdapterOptions.pref from C:\Users\<Machine User>\AppData\Roaming\IBM\RFT and rqmadapterV2.ini from C:\ProgramData\IBM\RQMConnectivity
start RFT [configure adapter] menu and make sure the URL is properly set there and then start the adapter and see
if that works.
Hopefully this helps.
If from RFT machine, you connect to RQM via public URI over browser, do you have any problem?
suppose this works, then you may want to stop adapter and remove RQMAdapterOptions.pref from C:\Users\<Machine User>\AppData\Roaming\IBM\RFT and rqmadapterV2.ini from C:\ProgramData\IBM\RQMConnectivity
start RFT [configure adapter] menu and make sure the URL is properly set there and then start the adapter and see
if that works.
Hopefully this helps.
Comments
Thank you for your reply. Unfortunately, this solution did not work for us. We tried contacting IBM but due to the products being used in trial period they haven't been responsive. We are beginning to wonder if this maybe a licensing issue with the products being used in trial period. Any further help is appreciated.