Bonjour.
j'utilise OSGI JPA ARIES BLUEPRINT

j'ai une erreur et je ne sais dans quelle direction chercher.
<openjpa-2.1.1-r422266:1148538 fatal user error> org.apache.openjpa.persistence.InvalidStateException: Could not perform automatic lookup of EJB container's javax.transaction.TransactionManager implementation. Please ensure that you are running the application from within an EJB 1.1 compliant EJB container, and then set the org.apache.openjpa.ManagedRuntime property to the appropriate value to obtain the TransactionManager.
at org.apache.openjpa.ee.AutomaticManagedRuntime.getTransactionManager(AutomaticManagedRuntime.java:253)
at org.apache.openjpa.kernel.AbstractBrokerFactory.syncWithManagedTransaction(AbstractBrokerFactory.java:717)
at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:389)
at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:323)
at org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:229)
at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:213)
at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
at org.apache.aries.jpa.container.impl.CountingEntityManagerFactory.createEntityManager(CountingEntityManagerFactory.java:64)
...
Caused by: javax.naming.NotContextException: java:comp/TransactionSynchronizationRegistry
at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:165)
at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:605)
at org.apache.servicemix.naming.InitialContextWrapper.lookup(InitialContextWrapper.java:173)
at javax.naming.InitialContext.lookup(InitialContext.java:392)[:1.6.0_32]
at org.apache.openjpa.ee.RegistryManagedRuntime.getTransactionManager(RegistryManagedRuntime.java:61)
at org.apache.openjpa.ee.AutomaticManagedRuntime.getTransactionManager(AutomaticManagedRuntime.java:171)
je suppose qu'il me manque quelque chose quelque part mais je ne vois pas quoi. je n'ai pas de dépendance non résolue mes entitées sont dans le class path le percitence.xml est bien initialisé les entityManagerFactory et transactionManager sont bien créés.

la connexion à la base fonctionne et la table a bien la structure attendue
jpa m'affiche au démarage:
1750 person2 INFO [Camel (jpa2jms) thread #5 - jpa://net.lr.tutorial.karaf.camel.jpa2jms.model.Person] openjpa.Runtime - Starting OpenJPA 2.1.1
1828 person2 INFO [Camel (jpa2jms) thread #5 - jpa://net.lr.tutorial.karaf.camel.jpa2jms.model.Person] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.OracleDictionary" (Oracle Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options ,Oracle JDBC driver 10.2.0.1.0XE).
mais à chaque tentative de lecture j'ai la même erreur.
merci de votre aide
A+JYT