Re: JPA consumer starts up, but is not polling

2010-04-02 Thread j_h_scheufen
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

Re: JPA consumer starts up, but is not polling

2010-03-31 Thread Claus Ibsen
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.

Re: JPA consumer starts up, but is not polling

2010-03-30 Thread j_h_scheufen
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

Re: JPA consumer starts up, but is not polling

2010-03-20 Thread Claus Ibsen
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

JPA consumer starts up, but is not polling

2010-03-19 Thread j_h_scheufen
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