[localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
While you are running the e-comm Streams job, you receive the following error:
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "Thread-84" org.apache.http.conn.HttpHostConnectException: Connect to localhost:9443 [localhost/127.0.0.1,
localhost/0:0:0:0:0:0:0:1] failed: Connection refused
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at com.ibm.sifs.ecomm.Utility.invokeService(Utility.java:77)
at com.ibm.sifs.ecomm.PolicyLoader.loadAllPolicies(PolicyLoader.java:211)
at com.ibm.sifs.ecomm.PolicyLoader.process(PolicyLoader.java:157)
To resolve this problem, ensure that the POLICYRESTURL value is set to the IP address and port number of the WebSphere Application Server where the CommServices is. For example, POLICYRESTURL=https://localhost:9443/CommServices/ecomm/policy/.