Localhost cannot be used for JNDI lookup with opmn managed OC4J (Doc ID 404272.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.0 to 10.1.2.2
Information in this document applies to any platform.

Goal

Why doesn't JNDI lookup work when using the localhost (127.0.0.1) address with application server
based OC4J? The same lookup will work when using the servers normal hostname or ip address.


Solution

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