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 and later
Information in this document applies to any platform.


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


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.