OpenJPA is successfully used in the WebSphere v8.5 Liberty Profile which is an OSGi-based runtime (based on Apache Aries). So, from a generic usage standpoint, OpenJPA can play nice in an OSGi environment.
As far as loading the Auditing classes... The openjpa.Auditor property is just like any other plugin property. I know in the past, we had some issues with using the wrong classloader when attempting to load these plugin classes, but I thought those were resolved. Kevin On Sat, Jun 23, 2012 at 6:52 AM, Jim Talbut <jtal...@spudsoft.co.uk> wrote: > On 23/06/2012 10:17, Bengt Rodehav wrote: > >> What is your runtime platform? Also, does anyone know whether any progress >> is made regarding class loading within OSGI? Many people prefer OpenJPA >> over Eclipse and Hibernate because it works better in OSGi than those >> projects. However, the OSGi support in OpenJPA is unfortunately very >> fragile and really needs to be improved. >> > Bengt, > > I am using OSGi (Karaf), but my Auditor class is in the same bundle as my > entities so I don't know if my success means that the problems are resolved. > > Jim >