RE: Problem with Aries JPA

2011-09-06 Thread Timothy Ward
Hi, The error stack you are showing indicates that the blueprint for the blog persistence bundle failed to start because there was no EntityManagerFactory service. This could be the case for a number of reasons, for example missing DataSources, Databases, missing JPA container bundles etc.

Re: Auditor and OSGi

2011-09-06 Thread Bengt Rodehav
Thanks for your reply Tim, I agree, it seems like OpenJPA uses its own classloader to load my auditor implementation. That won't work of course. Is best practice for JPA providers to use the class loader for the bundle containing the persistence.xml? /Bengt 2011/9/6 Timothy Ward

OSGi (Blueprint) fragment and host bundle notification

2011-09-06 Thread Matt Madhavan
Hello, I would like to know when a new BluePrint fragment attaches it self to a host bundle will the host bundle be notified? I would like to do some work inside of the host bundle anytime a fragment attaches itself to a host. Any ideas? Thanks in advance! Matt Madhavan