Troubleshooting MOD_OC4J Errors and "oc4j_socket_recvfull timed out" Warning in the HTTP Server error_log File (Doc ID 329456.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle HTTP Server - Version 10.1.2.0.2 to 10.1.3.5.0 [Release AS10gR2 to AS10gR3]
Oracle Containers for J2EE - Version 10.1.2.0.2 to 10.1.3.5.0 [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.
Checked for relevance on 08-Jan-2011


Symptoms

In an Application Server 10.1.2.x or 10.1.3.x environment errors like these are logged in the $ORACLE_HOME/Apache/Apache/logs/error_log from time to time.

 

[error] [client <IP Address>] [ecid: <ecid>] MOD_OC4J_0080:After calling Apache's ap_bwrite(), got an return value: -1 and the client could have aborted in the middle of receiving the chunk data.

[error] [client <IP Address>] [ecid: <ecid>] MOD_OC4J_0058:Failed to handle response chunk data passed in from oc4j via ajp13.

[error] [client <IP Address>] [ecid: <ecid>] MOD_OC4J_0035:After handling ajp13 response message, got an invalid value: -2.

[error] [client <IP Address>] [ecid: <ecid>] MOD_OC4J_0121:Failed to service request with network worker: <OC4J Instance Name> and it is not recoverable.
[error] [client <IP Address>] [ecid: <ecid>] MOD_OC4J_0013:Failed to call destination: <OC4J Instance Name>'s service() to service the request.

[warn] [client <IP Address>] oc4j_socket_recvfull timed out
[error] [client <IP Address>] [ecid: <ecid>] (4)Interrupted system call: MOD_OC4J_0038: Receiving data from oc4j exceeded the configured "Timeout" value and the error code is 4.
[error] [client <IP Address>] [ecid: <ecid>] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j.
[error] [client <IP Address>] [ecid: <ecid>] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j.
[warn] [client <IP Address>] [ecid: <ecid>] MOD_OC4J_0078: Network connection errors happened to host: <hostname> and port: <port_number> while receiving
the first response from oc4j.  This request is recoverable.

[warn] [client <IP Address>] oc4j_socket_recvfull timed out
[error] [client <IP Address>] [ecid: <ecid>] mod_oc4j: request to OC4J <hostname>:12502 failed: recv failed (errno=4)
[error] [client <IP Address>] [ecid: <ecid>] mod_oc4j: request to OC4J <hostname>:12502 failed: Connect failed
[error] [client <IP Address>] [ecid: <ecid>] mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://<app> (no island or jgroup).

 

Note depending on the cause, these errors could be intermittent or consistent, may or may not have an effect on the application and may appear on a heavy load, normal usage or after some time of inactivity.

 

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