IBM Support

IZE0106E connection refused for CICS CM plugin after upgrading to 5.3

Question & Answer


Question

I am upgrading from CICS Configuration Manager for z/OS (CICS CM) V5.1 to V5.3. I have completed the upgrade on two sysplexes and can use the Eclipse plugin to connect using the specified port to both sysplexes. The third sysplex has been upgraded also, but from eclipse I get "connection refused" for the specified port and the Explorer Service Data .log has this exception:

 !ENTRY com.ibm.cics.core.connections 2 2 2016-12-09 12:58:05.126
 !MESSAGE IZE0106E Connect failed with error "java.net.ConnectException: Connection refused: connect" (sysaip:1234)
 !STACK 0
 com.ibm.cics.core.comm.EnhancedConnectionException: IZE0106E Connect failed with error "java.net.ConnectException: Connection refused: connect" (sysaip:1234)
     at com.ibm.cics.core.connections.internal.ConnectionService.enhanceExceptionMessage(ConnectionService.java:652)
     at com.ibm.cics.core.connections.internal.ConnectionService.doConnect(ConnectionService.java:621)
     at com.ibm.cics.core.connections.internal.ConnectionService.connect(ConnectionService.java:526)
     at com.ibm.cics.core.connections.internal.ConnectionService$7.runSub(ConnectionService.java:841)
     at com.ibm.cics.eclipse.common.ui.JobWithCancelingSupport$1.run(JobWithCancelingSupport.java:56)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
 Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
     at com.ibm.cics.cm.model.runtime.CMConnection.sendMessage(CMConnection.java:353)
     at com.ibm.cics.cm.model.runtime.CMConnection.initialiseServerAPILevel(CMConnection.java:452)
     at com.ibm.cics.cm.model.runtime.CMConnection.connect(CMConnection.java:520)
     at com.ibm.cics.cm.cpsm.comm.CMSMConnection.connect(CMSMConnection.java:866)
     at com.ibm.cics.core.connections.internal.ConnectionService.doConnect(ConnectionService.java:605)
     ... 4 more
 Caused by: java.net.ConnectException: Connection refused: connect
     at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:380)
     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:236)
     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:218)
     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
     at java.net.Socket.connect(Socket.java:666)
     at java.net.Socket.connect(Socket.java:606)
     at sun.net.NetworkClient.doConnect(NetworkClient.java:192)
     at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
     at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
     at sun.net.www.http.HttpClient.<init>(HttpClient.java:225)
     at sun.net.www.http.HttpClient.New(HttpClient.java:329)
     at sun.net.www.http.HttpClient.New(HttpClient.java:347)
     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1182)
     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1118)
     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1012)
     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:945)
     at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1297)
     at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1272)
     at com.ibm.cics.cm.model.runtime.CMConnection.sendMessage(CMConnection.java:344)
     ... 8 more
 

I have checked with my networking team and firewall teams and do not find any explanation as to why I cannot connect. I am able to connect to this same system on the port for the SM plugin, just not the CICS CM plugin port.

I started to review the eclipse logs and it appears that the connection is somehow corrupt or malformed. From Eclipse, I verified that my CICS CM connection definition is defined to use the SM connection for this same system, but the logs were showing that it was using the SM connection for a different system. I then deleted and redefined several connections to try to force the connections to correctly reflect what I see in the GUI and now it seems the SM connection host is not being supplied when I try to connect to CICS CM on the same system. I am attaching the logs and what I believe shows that the connection seems to be properly defined initially, but then being malformed before being sent.

I would like some help in determining verify if the definitions for this system seem to be correctly formed and if not, what I need to do to correct the problem.

Answer

Eclipse was returning 'connection refused' because of a configuration error. The IP address being used for CICS CM was not the IP address bound to the port being used. After correcting the IP address, the CICS CM connection from Eclipse is successful.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS2L7A","label":"CICS Configuration Manager for z\/OS"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICSCM CICS CM

Document Information

Modified date:
13 December 2016

UID

dwa1327841