aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hughes (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIES-697) Java 2 security permission failure in JNDI - Util code path
Date Wed, 26 Oct 2011 14:35:32 GMT

     [ https://issues.apache.org/jira/browse/ARIES-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeremy Hughes updated ARIES-697:
--------------------------------

    Fix Version/s: util-0.4
    
> Java 2 security permission failure in JNDI - Util code path
> -----------------------------------------------------------
>
>                 Key: ARIES-697
>                 URL: https://issues.apache.org/jira/browse/ARIES-697
>             Project: Aries
>          Issue Type: Bug
>          Components: JNDI, Util
>    Affects Versions: 0.4
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>             Fix For: util-0.4
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message