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 184.108.40.206.0 to 10.1.2.3.0 [Release AS10g to AS10gR2]
Information in this document applies to any platform.
Oracle Containers for J2EE - Version: 220.127.116.11.0 to 10.1.2.3.0
This problem can occur on any platform.
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:
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.
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