aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Ward (JIRA)" <>
Subject [jira] Resolved: (ARIES-407) Java2 AccessControlExceptions when using TempBundleDelegatingClassLoader
Date Tue, 14 Sep 2010 13:19:33 GMT


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

View raw message