My Oracle Support Banner

Getting HTTP-504 from OC4J to External HTTP or SOAP Resources (Doc ID 336351.1)

Last updated on JUNE 29, 2021

Applies to:

Oracle Containers for J2EE - Version 9.0.4.1.0 to 10.1.2.3.0 [Release AS10g to AS10gR2]
Information in this document applies to any platform.
Oracle Containers for J2EE - Version: 9.0.2.0.0 to 10.1.2.3.0
This problem can occur on any platform.


Symptoms

You have java code running in Oracle Containers for J2EE (OC4J) that is perhaps invoked by a Servlet, JSP or Enterprise Java Bean (EJB).
That code in turn accesses a further remote web server, possibly using java networking classes (e.g. URL, HttpClient etc.)
or possibly a remote WebService accessed via Simple Object Access Protocol (SOAP).

The code results in an error similar to the following:

 

Changes

If you have multiple applications running in the container, you may receive the error intermittently in both applications.
The errors can be triggered by the deployment of a new application or the arrival of request load (or more frequent requests) for a newly deployed or infrequently used application.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.