Description
Some client code invokes JNDI operations for the first time, which causes an AccessControlException in Equinox as such ...
java.security.AccessControlException: Access denied (java.lang.RuntimePermission accessDeclaredMembers)
at java.security.AccessController.checkPermission(AccessController.java:108)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1689)
at java.lang.Class.checkMemberAccess(Class.java:105)
at java.lang.Class.getDeclaredMethod(Class.java:574)
at org.apache.aries.util.internal.EquinoxWorker.invoke(EquinoxWorker.java:54)
at org.apache.aries.util.internal.EquinoxWorker.getClassLoader(EquinoxWorker.java:31)
at org.apache.aries.util.AriesFrameworkUtil.getClassLoader(AriesFrameworkUtil.java:56)
at org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:147)
at org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:107)
at org.apache.aries.jndi.services.ServiceHelper.<clinit>(ServiceHelper.java:212)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:99)
at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:141)
at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:161)
at javax.naming.InitialContext.lookup(InitialContext.java:431)