You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@aries.apache.org by Matt Madhavan <ma...@gmail.com> on 2011/09/16 22:24:49 UTC
Karaf - Features/bundles for OpenJPA/JTA /Persitence
Hello,
I'm new to Karaf! I'm trying to port on of my app that uses
Aries/OpenJPA/derby/JTA trasaction etc.* I have tested this successfully
using pax:provision in Felix container. *
I'm having some issues with KARAF. Looks like KARAF already has bunch of
bundles installed like JTA/JNDI/JPA etc.
My datasource bundle resolves ok (Embedded Derby). But when I install my
persistence bundle it gets activate but does no create any service. The log
says as follows:
2011-09-16 14:38:57,375 | ERROR | rint Extender: 2 | BlueprintContainerImpl
| ntainer.BlueprintContainerImpl$1 293 | 9 -
org.apache.aries.blueprint - 0.3.1 | Unable to start blueprint container for
bundle itso.bank.persistence due to unresolved dependencies [(&(&(*
org.apache.aries.jpa.proxy.factory*=true)(osgi.unit.name=itso.bank.persistence))(objectClass=javax.persistence.EntityManagerFactory))]
java.util.concurrent.TimeoutException
at
org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:287)[9:org.apache.aries.blueprint:0.3.1]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_23]
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_23]
at
java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_23]
Any ideas please?
Thanks in advance!
Matt