JNDI lookup failure in static code when annotation is used
(Doc ID 986282.1)
Last updated on MAY 11, 2021
Applies to:Oracle WebLogic Server - Version 10.0 and later
Information in this document applies to any platform.
WLS 10 MP1
- Servlet A has a static variable of Class A: private static ClassA a = new ClassA();
- Class A has a contraction method, which looks up local JNDI tree
- Everything works fine if no annotations used
- It throws the following exception if annotation is used:
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