My Oracle Support Banner

OC4J Caches Resolved DNS IP Addresses Indefinitely (Doc ID 727942.1)

Last updated on OCTOBER 20, 2021

Applies to:

Oracle Fusion Middleware - Version to [Release AS10gR3]
Information in this document applies to any platform.
This problem can occur on any platform.


Domain names are being referenced in java code. If the IP address of this changes, the old value is 'cached' by OC4J. This means the program fails to contact the mail server or whatever other service is being requested.

The following program demonstrates the issue, presuming you have the ability to change the IP address of the named resource:




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

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