take care camelRest.SamplePersistenceManager ensures you will have issues at some point. why not using @PersistenceContext support since you are in tomee? If you dont want to use EE or Spring you will likely need to implement a correct management of transactions and JPA component lifecycle at least
then i think you miss the jtaplatform config if you dont use the container to manage your persistence context (tomee does it otherwise): <property name="hibernate.transaction.jta.platform" value="org.apache.openejb.hibernate.OpenEJBJtaPlatform2" /> last note: c3p0 config is useless since the injected datasource is already pooled Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-03-30 15:59 GMT+02:00 Romain Manni-Bucau <rmannibu...@gmail.com>: > http://tomee.apache.org/download-ng.html > > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://blog-rmannibucau.rhcloud.com> | Old Blog > <http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | LinkedIn > <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2017-03-30 15:22 GMT+02:00 syadav <b.srisai...@gmail.com>: > >> I tested this on tomee 7.0.2 because there is no tomee 7.0.3 available in >> download area.Please share me the link if tomee 7.0.3 is available. >> >> >> >> -- >> View this message in context: http://tomee-openejb.979440.n4 >> .nabble.com/Camel-CXF-in-tomee-tp4681184p4681402.html >> Sent from the TomEE Users mailing list archive at Nabble.com. >> > >