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.1
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.