There is one other minor issue that I noticed with our samples that I'd
like to fix.
We're getting the following exception when starting our sample
assemblies which I suspect is because of the new dependency from the jpa
bundle on quiesce. We don't currently include the quiesce bundle in our
assemblies and hence I suspect the following error. AFAIK it isn't
causing any real problem - just the exception when starting the assembly.
I'll try adding in the quiesce bundle and if that resolves the issue
I'll create a JIRA and check it into trunk. We can then decide if we'd
like to include it a new 0.2-incubating sample release for the next vote.
Here's the error:
[Start Level Event Dispatcher] DEBUG org.apache.aries.jpa.container -
Adding a provider:
{javax.persistence.spi.PersistenceProvider}={javax.persistence.provider=org.apache.openjpa.persistence.PersistenceProviderImpl,
service.id=39}
[Start Level Event Dispatcher] INFO org.apache.aries.jpa.container - No
quiesce support is available, so persistence contexts will not
participate in quiesce operations
java.lang.ClassNotFoundException:
org.apache.aries.quiesce.participant.QuiesceParticipant
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:321)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
at
org.apache.aries.jpa.container.impl.PersistenceBundleManager.start(PersistenceBundleManager.java:622)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
JPA on quiesce
On 8/20/10 10:16 AM, zoe slattery wrote:
Hi
Just starting a thread for discussion of Aries 0.2-incubating release
candidate 02.
Zoƫ
--
Joe