IBM Support

IAAdmin fails with ConnectException during installation

Troubleshooting


Problem

When installing InfoSphere Information Server to a WebSphere cluster configuration IAAdmin may fail with a ConnectException and the installation stops.

Symptom

Examine the installation log for the following error stack traces:

2014-01-04T15:46:44.449, INFO: CDIIN2753I:Command Array: /bin/sh /apps/IIS/InformationServer/ASBServer/bin/IAAdmin.sh -user isadmin -password ******** -host localhost -port 443 -secure -installPredefinedRules /apps/IIS/InformationServer/ASBServer/lib/GeneralRules.jar -locale en_US, env = null, workingDir =/apps/IIS/InformationServer/ASBServer/bin
2014-01-04T15:46:46.199, WARNING: com.ibm.is.install.core.CommonProcess Exit Code: 1, Info: /apps/IIS/InformationServer/ASBServer
A problem occured during establishing the connection to the server. Check connection settings. , java.net.ConnectException: A remote host refused an attempted connect operation.
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:370)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:232)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:219)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.connect(Socket.java:477)
...

AND/OR

2014-01-04T16:44:00.919, INFO: CDIIN2753I:Command Array: /bin/sh /apps/IIS/InformationServer/ASBServer/bin/IAAdmin.sh -user isadmin -password ******** -host localhost -port 443 -secure -installPredefinedRules /apps/IIS/InformationServer/ASBServer/lib/USStanRules.jar -locale en_US, env = null, workingDir =/apps/IIS/InformationServer/ASBServer/bin
2014-01-04T16:44:02.294, WARNING: com.ibm.is.install.core.CommonProcess Exit Code: 1, Info: /apps/IIS/InformationServer/ASBServer
A problem occured during establishing the connection to the server. Check connection settings. , java.net.ConnectException: A remote host refused an attempted connect operation.
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:370)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:232)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:219)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.connect(Socket.java:477)
...

Cause

IAAdmin is attempting a connection to localhost. But if the installation is being done to a WebSphere cluster configuration which contains a remote web server the connect attempt to localhost fails and the installation stops.

Resolving The Problem

This error is not fatal, but it will cause the installation to stop and request input from the user to either:

  • Retry failed action
  • Continue installation
  • Exit installation
  • Select Continue installation. There might be more than one invocation of IAAdmin that fails because of the failed connection to localhost. If that is the case, subsequent IAAdmin failures may also be skipped (ie, Continue installation at the failing point). But you will need to examine the install log to ensure that the failing command was IAAdmin and that it failed due to a "java.net.ConnectException: A remote host refused an attempted connect operation".

    When the installation is complete, examine the install logs to determine which IAAdmin commands failed. Using that information, you can construct the IAAdmin command syntax and manually invoke it with the correct host value to complete IAAdmin configuration. In this example, there were two IAAdmin failures, so to complete the IAAdmin configuration:


    1. Login as root to the Services tier

    2. Prepare the shell environment as was done for the install itself, for example: remove LD_PRELOAD, LIBPATH, java directories in the PATH, etc.

    3. cd <ISInstall>/InformationServer/ASBServer/bin

    4. ./IAAdmin.sh -user <isadmin> -password <isadmin-password> -host <hostname-where-web-server-is> -port <web_server_port> -installPredefinedRules <ISInstall>/InformationServer/ASBServer/lib/GeneralRules.jar -locale en_US

    5. ./IAAdmin.sh -user <isadmin> -password <isadmin-password> -host <hostname-where-web-server-is> -port <web_server_port> -installPredefinedRules <ISInstall>/InformationServer/ASBServer/lib/USStanRules.jar -locale en_US

    Note

    If the web server is configured for https, you must include the -secure option when invoking IAAdmin. For example:


    ./IAAdmin.sh -user <isadmin> -password <isadmin-password> -host <hostname-where-web-server-is> -port <web_server_port> -secure -installPredefinedRules <ISInstall>/InformationServer/ASBServer/lib/GeneralRules.jar -locale en_US

    [{"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.1.2.0;9.1.0.1;9.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

    Document Information

    Modified date:
    16 June 2018

    UID

    swg21662133