My Oracle Support Banner

GlassFish Multi-Threaded Client Lookup to a Remote EJB Throws Permission Exceptions (Doc ID 1293292.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle GlassFish Server - Version 2.1.1 to 2.1.1 [Release 2.1]
Oracle GlassFish Server - Version 2.1 and later
Information in this document applies to any platform.


A multi-threaded Java client performing a remote IIOP call to an EJB (Enterprise Java Bean) hosted on a remote GlassFish Server may encounter spurious lookup problems with errors similar to "CORBA NO_PERMISSION".  This issue is more likely to occur if the client performs multiple concurrent JNDI lookups for an EJB.   

When the problem is encountered during the lookup of an EJB, the following error will be seen in the GlassFish server.log:

If there is no concurrent access to the EJB or if the lookups are performed sequentially then this exception is not seen and all the operations succeed.


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.