openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bengt Rodehav (JIRA)" <>
Subject [jira] [Commented] (OPENJPA-2052) New audit log functionality does not work in OSGi
Date Fri, 09 Aug 2013 09:00:53 GMT


Bengt Rodehav commented on OPENJPA-2052:

Interersting. Perhaps you could contribute a patch to fix this. I could then check to see
if it solves my problem as well.
> New audit log functionality does not work in OSGi
> -------------------------------------------------
>                 Key: OPENJPA-2052
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: osgi
>            Reporter: Bengt Rodehav
> The new audit functionality is not yet part of a released version of OpenJPA. I've been
testing 2.2.0-SNAPSHOT.
> I've tested the Auditor functionality using normal (non-OSGi) unit tests and so far it
seems to work. However, when trying the same functionality in OSGi (Karaf/Felix and also Felix
using Pax-Exam), OpenJPA fails to find my Auditor class. Timothy Ward (on the Aries mailing
list) suggested that it seems like OpenJPA is using its own class loader to load my Auditor
class (which of course will not work). OpenJPA needs to use the class loader of the bundle
containing the persistence.xml to load my Auditor class. I also believe this is the problem.
> This has been discussed on both Aries and OpenJPA's mailing list:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message