'Read from socket failed' in AM Process Log Causes All OFSAA Batches to Hang in Ongoing Status (Doc ID 2213803.1)

Last updated on DECEMBER 15, 2016

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.3.3.0.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

For Oracle Financial Services Analytical Applications (OFSAA) Infrastructure, when you run any batch on the server, the batch hangs in the 'Ongoing' status.

Errors like the following exist in the iccserver.log in $FIC_APP_HOME/icc/log:

[00:00:01,489] - Connection from <ServerName>
[00:00:01,490] - Reading data from requester.
[00:00:01,490] - [DEBUG LOG]Reading from native socket.
[00:00:01,490] - [DEBUG LOG]Header Length= 8
[00:00:01,490] - Error initializing socket from client.
java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:168)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
       at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
       at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2265)
       at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2278)
       at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
       at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
       at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
       at com.iflex.fic.icc.iccal.iccserver.server.object.VirtualServer.initialize(VirtualServer.java:104)
       at com.iflex.fic.icc.iccal.iccserver.server.object.VirtualServer.<init>(VirtualServer.java:88)
       at com.iflex.fic.icc.iccal.iccserver.server.object.ConnectionManager.addConnection(ConnectionManager.java:85)
       at com.iflex.fic.icc.iccal.iccserver.server.ObjectServer.startServer(ObjectServer.java:135)
       at com.iflex.fic.icc.iccal.iccserver.server.ObjectServer.run(ObjectServer.java:92)
[08:42:05,400] - Error writing to client.
java.io.EOFException
       at java.io.DataInputStream.readByte(DataInputStream.java:250)
       at com.iflex.fic.icc.iccal.iccserver.server.natives.NativeSocket.read(NativeSocket.java:102)
       at com.iflex.fic.icc.iccal.iccserver.services.NativeServiceProvider.<init>(NativeServiceProvider.java:242)
       at com.iflex.fic.icc.iccal.iccserver.server.NativeServer.startServer(NativeServer.java:130)
       at com.iflex.fic.icc.iccal.iccserver.server.NativeServer.run(NativeServer.java:85)

The following errors exist in the am_log_file.log:

Log Message here 1: Fri Dec 9 04:03:11 2016||INFO||Thread 1 : AM_PORT = 6505
Log Message here 1: Fri Dec 9 04:03:11 2016||INFO||GlobalAccess::Lock_Request : Success
Log Message here 1: Fri Dec 9 04:03:11 2016||INFO||GlobalAccess::Lock_Reply : Success
Log Message here 1: Fri Dec 9 04:05:58 2016||INFO||SocketServerImpl::Read : EOF encountered - Peer closed write end
Log Message here 1: Fri Dec 9 04:05:58 2016||WARN||Thread 1 : Read EOF from socket
Log Message here 1: Fri Dec 9 04:05:58 2016||WARN||SocketServerImpl::Close_Conn : Call to Shutdown-RDWR Failed
Log Message here 1: Fri Dec 9 04:05:58 2016||WARN||SocketServerImpl::Get_Error : ERRNO not set
Log Message here 1: Fri Dec 9 04:10:59 2016||WARN||SocketServerImpl::Read : Call to Connect not done
Log Message here 1: Fri Dec 9 04:10:59 2016||WARN||Thread 1 : Read from socket failed

It appears the 'Read from socket failed' error prevents the batches from running.  Because the am port connection fails, the am server cannot launch the related batch process.

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