I'm running (I've same problem in snx 4.4.1-fuse)
- Karaf 2.2.2
- Camel 2.8.1
- Aries 0.3
- OpenJPA 2.1.1
I have an oracle datasource to which I go without problems in camel bundle via jdbc.
I took the tutorial jpa2jms Christian Schneider's Blog
I changed the file percistence.xml to use my oracle datasource
I use blueprint, and my route is defined in a java routebuilder.
my bundle starts but each one jpa poolling I get an exception.
| WARN | ms) thread #0 - jpa://net.lr.tutorial.karaf.camel.jpa2jms.model.Person | faultPollingConsumerPollStrategy | 56 | amel.camel-core | 2.8.1 | Consumer Consumer[jpa://net.lr.tutorial.karaf.camel.jpa2jms.model.Person?consumer.delay=2000] could not poll endpoint: Endpoint[jpa://net.lr.tutorial.karaf.camel.jpa2jms.model.Person?consumer.delay=2000] caused by: 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.
I do not understand where the problem come. I do not know in which direction to look.
why jpa speaks EJB?
A + JYT