camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j_h_scheufen <janhendrik.scheu...@sungard.com>
Subject Re: JPA consumer starts up, but is not polling
Date Fri, 02 Apr 2010 14:24:48 GMT

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.TransactionTracker?consumer.initialDelay=5000]
could not poll endpoint:
jpa://com.infinity.bpm.jpa.beans.TransactionTracker?consumer.initialDelay=5000
caused by: antlr/ANTLRException
java.lang.NoClassDefFoundError: antlr/ANTLRException
	at
org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:58)
	at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:98)
	at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
	at
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
	at
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
	at
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
	at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650)
	at
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:93)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.springframework.orm.jpa.JpaTemplate$CloseSuppressingInvocationHandler.invoke(JpaTemplate.java:404)
	at $Proxy105.createQuery(Unknown Source)
	at
org.apache.camel.component.jpa.QueryBuilder$1.makeQueryObject(QueryBuilder.java:44)
	at
org.apache.camel.component.jpa.QueryBuilder.createQuery(QueryBuilder.java:152)
	at
org.apache.camel.component.jpa.JpaConsumer$1.doInJpa(JpaConsumer.java:83)
...
-- 
View this message in context: http://old.nabble.com/JPA-consumer-starts-up%2C-but-is-not-polling-tp27951000p28119549.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message