Claus,
I was using Camel 2.1.0. Switched to 2.2.0 now and I can confirm that the
error is now logged correctly.
Thanks again and have a nice weekend!
Jan
-
10:21:58 ERROR [aComponent] JpaConsumer - Consumer
Consumer[jpa://com.infinity.bpm.jpa.beans.Tra
Hi
I dont know what version of Camel you are using, but we have recently
fixed the scheduled polling consumer to catch java.lang.Error and have
that logged as well
https://issues.apache.org/activemq/browse/CAMEL-2339
That should help catch those NoClassDefFoundError and other errors being thrown.
Claus,
thanks for the hint. I implemented a regular Spring-based DAO layer and hit
a NoClassDefFoundError. It turns out it wasn't the JPA configuration at all;
I missed the transitive dependency on ANTLR. Once that was on the classpath,
the JPA consumer started polling.
I don't have the resource
Hi
Try to get a JPA example working on Tomcat without Camel.
JPA is not that trivial to get working on various contains as it got
classloading tricks to do for the JPA stuff.
So I would look for a JPA + Tomcat. Maybe there is a example WAR ready
to just try out.
And if you use Hibernate for JPA t
Hi all,
I really don't know what could be going wrong in my JPA scenario. I'm using
the following route:
from("jpa:com.infinity.bpm.jpa.beans.TransactionTracker")
.to("bean:transactionMessageTranslator")
.choice()
// the pre