My Oracle Support Banner

Using oc4jclient.jar, EJB lookup Fails with 'NamingException: <Bean> not found' (Doc ID 333197.1)

Last updated on OCTOBER 28, 2021

Applies to:

Oracle Containers for J2EE - Version 9.0.4.1.0 and later
Information in this document applies to any platform.

Symptoms

The lookup from a standalone java client to a remote EJB running in OC4J fails with exception:


2. If oc4jclient.jar is referenced in the classpath directly from OC4JHOME\j2ee\home directory then the lookup succeeds

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
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.