Error: "The adapter failed to connect to the server..." appears while using RQM command line adapter and after RQM client reconnect, test suite results don't update anymore in the RQM web.
Environment:
Quality Management Application
Version: 5.0.2
Build InformationVersionBuild IDQuality Management - Core Libraries5.0.2I20141031_1744
Jazz Foundation - Core Libraries5.0.2RJF-I20141028-1603
About the Rational Jazz Team Server
Version: 5.0.2
Build InformationVersionBuild IDJazz Foundation - Core Libraries5.0.2RJF-I20141028-1603
Client Access License Types Assigned to user Tsipershtein, Mark
ProductVersionTypeVariantRational Quality Manager5.0Quality Professional-FloatingUnlocked
Rational Team Concert5.0Developer-FloatingUnlocked
Rational solution for Collaborative Lifecycle Management5.0Stakeholder-FloatingUnlocked
Rational DOORS Next Generation5.0Analyst-FloatingUnlocked
Sometimes RQM client is disconnected with error:
The adapter failed to connect to the server
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:457)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
at com.ibm.rqm.integration.client.clientlib.TrustingSSLProtocolSocketFactory.createSocket(TrustingSSLProtocolSocketFactory.java:87)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.login(JFSHttpsClient.java:116)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.relogin(JFSHttpsClient.java:88)
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.login(RQMConnectionHelper.java:161)
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:184)
at com.ibm.rqm.adapter.library.data.NewRequester.getAdapterInstructions(NewRequester.java:798)
at com.ibm.rqm.adapter.library.data.RQMAdapter.runLoop(RQMAdapter.java:124)
at com.ibm.rqm.adapter.library.data.RQMAdapter$1.run(RQMAdapter.java:74)
at java.lang.Thread.run(Thread.java:745)
The adapter failed to connect to the server
com.ibm.rqm.adapter.library.data.AdapterException: The adapter failed to connect to the server
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:196)
at com.ibm.rqm.adapter.library.data.NewRequester.getAdapterInstructions(NewRequester.java:798)
at com.ibm.rqm.adapter.library.data.RQMAdapter.runLoop(RQMAdapter.java:124)
at com.ibm.rqm.adapter.library.data.RQMAdapter$1.run(RQMAdapter.java:74)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:457)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
at com.ibm.rqm.integration.client.clientlib.TrustingSSLProtocolSocketFactory.createSocket(TrustingSSLProtocolSocketFactory.java:87)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.login(JFSHttpsClient.java:116)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.relogin(JFSHttpsClient.java:88)
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.login(RQMConnectionHelper.java:161)
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:184)
... 4 more
The adapter is now connected
Execution Stopped
After reconnect RQM web don't update anymore with results from remote machine.
Quality Management Application
Version: 5.0.2
Build InformationVersionBuild IDQuality Management - Core Libraries5.0.2I20141031_1744
Jazz Foundation - Core Libraries5.0.2RJF-I20141028-1603
About the Rational Jazz Team Server
Version: 5.0.2
Build InformationVersionBuild IDJazz Foundation - Core Libraries5.0.2RJF-I20141028-1603
Client Access License Types Assigned to user Tsipershtein, Mark
ProductVersionTypeVariantRational Quality Manager5.0Quality Professional-FloatingUnlocked
Rational Team Concert5.0Developer-FloatingUnlocked
Rational solution for Collaborative Lifecycle Management5.0Stakeholder-FloatingUnlocked
Rational DOORS Next Generation5.0Analyst-FloatingUnlocked
Sometimes RQM client is disconnected with error:
The adapter failed to connect to the server
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:457)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
at com.ibm.rqm.integration.client.clientlib.TrustingSSLProtocolSocketFactory.createSocket(TrustingSSLProtocolSocketFactory.java:87)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.login(JFSHttpsClient.java:116)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.relogin(JFSHttpsClient.java:88)
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.login(RQMConnectionHelper.java:161)
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:184)
at com.ibm.rqm.adapter.library.data.NewRequester.getAdapterInstructions(NewRequester.java:798)
at com.ibm.rqm.adapter.library.data.RQMAdapter.runLoop(RQMAdapter.java:124)
at com.ibm.rqm.adapter.library.data.RQMAdapter$1.run(RQMAdapter.java:74)
at java.lang.Thread.run(Thread.java:745)
The adapter failed to connect to the server
com.ibm.rqm.adapter.library.data.AdapterException: The adapter failed to connect to the server
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:196)
at com.ibm.rqm.adapter.library.data.NewRequester.getAdapterInstructions(NewRequester.java:798)
at com.ibm.rqm.adapter.library.data.RQMAdapter.runLoop(RQMAdapter.java:124)
at com.ibm.rqm.adapter.library.data.RQMAdapter$1.run(RQMAdapter.java:74)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:457)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
at com.ibm.rqm.integration.client.clientlib.TrustingSSLProtocolSocketFactory.createSocket(TrustingSSLProtocolSocketFactory.java:87)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.login(JFSHttpsClient.java:116)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.relogin(JFSHttpsClient.java:88)
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.login(RQMConnectionHelper.java:161)
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:184)
... 4 more
The adapter is now connected
Execution Stopped
After reconnect RQM web don't update anymore with results from remote machine.