An Existing Connection Was Forcibly Closed By The Remote Host While Processing PDF Document (Doc ID 1330505.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.3.5.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 18-Dec-2015***

Symptoms

A J2EE application works with PDF files.
The application.log has many lines of the following message:

java.io.IOException: An Existing Connection Was Forcibly Closed By The Remote Host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
at java.nio.channels.Channels.writeFullyImpl(Channels.java:59)
at java.nio.channels.Channels.writeFully(Channels.java:81)
at java.nio.channels.Channels.access$000(Channels.java:47)
at java.nio.channels.Channels$1.write(Channels.java:154)

This error repeated many times in the application.log which lead to increase the file size and cause performance issue for this application.

Rotation of logs for the application.log could be possible but it does not fix the error generated there.

Changes

This issue appeared after upgrade from 10.1.3.4 to 10.1.3.5

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