Cannot Create Socket Connection to [(Simple) java.net.ConnectException: Connection refused (Doc ID 1438503.1)

Last updated on APRIL 27, 2017

Applies to:

Oracle WebCenter Content - Version 10.1.4.5.0 and later
Information in this document applies to any platform.

Symptoms

When trying to connect from a CIS Standalone program to a clustered content server, the following error is thrown:

[2012-03-12 10:23:39,263] [main] ERROR (com.stellent.cis.server.api.scs.protocol.impl.SCSConnectionDriver) - Cannot Create Socket Connection to [(Simple) a.b.c.d:4444]
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:413)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:274)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:261)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at java.net.Socket.connect(Socket.java:504)
at java.net.Socket.<init>(Socket.java:412)
at java.net.Socket.<init>(Socket.java:226)
at com.stellent.cis.server.api.scs.protocol.impl.SCSConnectionDriver._createConnection(SCSConnectionDriver.java:53)
at com.stellent.cis.server.api.scs.protocol.impl.ContentServerConnection.createConnection(ContentServerConnection.java:97)
at com.stellent.cis.server.api.scs.pool.impl.SCSResourcePoolManager.initializeObject(SCSResourcePoolManager.java:84)
at com.stellent.cis.support.pool.impl.ResourcePool.checkout(ResourcePool.java:238)
at com.stellent.cis.server.api.scs.request.impl.SCSRequestExecutorProxy.execute(SCSRequestExecutorProxy.java:97)
at com.stellent.cis.server.api.scs.impl.SCSCommand.executeViaProxy(SCSCommand.java:353)
at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:335)
at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:222)
at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
at com.stellent.cis.client.api.scs.search.impl.SCSSearchAPI.searchUniversal(SCSSearchAPI.java:240)
at TestCISSearch.main(TestCISSearch.java:79)
[2012-03-12 10:23:39,264] [main] ERROR (com.stellent.cis.server.api.scs.protocol.impl.SCSConnectionDriver) - Cannot obtain a valid output stream to the server.
com.stellent.cis.client.command.CommandException: Error when sending request to the server. Make sure the server is running.
at com.stellent.cis.server.api.scs.impl

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms