[
https://issues.apache.org/jira/browse/ARIES-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Ward resolved ARIES-407.
--------------------------------
Resolution: Fixed
Tim - I have applied your patch, can you verify the new 0.3 stream works for
you and close the JIRA?
> Java2 AccessControlExceptions when using TempBundleDelegatingClassLoader
> ------------------------------------------------------------------------
>
> Key: ARIES-407
> URL: https://issues.apache.org/jira/browse/ARIES-407
> Project: Aries
> Issue Type: Bug
> Components: JPA
> Affects Versions: 0.1
> Reporter: Tim Mitchell
> Fix For: 0.3
>
> Attachments: patch.txt
>
>
> When running the Apache Aries JPA code with java 2 security turned on, we
> have found that we get AccessControlExceptions when loading application
> classes via the TempBundleDelegatingClassLoader class. This is despite the
> fact that the jpa container jar has full permissions as it is running in the
> Application Servers runtime.
> By putting do Privileged blocks around the bundle.getResource and
> bundle.getResources, we are able to successfully load the classes.
> I've added a patch for the fix. This was generated at the trunk level.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.