Now I have this error : 

[che.camel.example.etl.Customer] ultPollingConsumerPollStrategy WARN 
Consumer
Consumer[jpa://org.apache.camel.example.etl.Customer?consumeDelete=false&consumeLockEntity=false&delay=3000]
could not poll endpoint:
Endpoint[jpa://org.apache.camel.example.etl.Customer?consumeDelete=false&consumeLockEntity=false&delay=3000]
caused by: The transaction cannot be committed, because it was already
marked for rollback only.  The transaction will be rolled back instead. The
cause of the rollback-only status is reported in the embedded stack.; nested
exception is <openjpa-2.1.1-r422266:1148538 fatal general error>
org.apache.openjpa.persistence.PersistenceException: The transaction cannot
be committed, because it was already marked for rollback only.  The
transaction will be rolled back instead. The cause of the rollback-only
status is reported in the embedded stack.
org.springframework.orm.jpa.JpaSystemException: The transaction cannot be
committed, because it was already marked for rollback only.  The transaction
will be rolled back instead. The cause of the rollback-only status is
reported in the embedded stack.; nested exception is
<openjpa-2.1.1-r422266:1148538 fatal general error>
org.apache.openjpa.persistence.PersistenceException: The transaction cannot
be committed, because it was already marked for rollback only.  The
transaction will be rolled back instead. The cause of the rollback-only
status is reported in the embedded stack.
        at
org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:311)[spring-orm-3.0.6.RELEASE.jar:3.0.6.RELEASE]
        at
org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:120)[spring-orm-3.0.6.RELEASE.jar:3.0.6.RELEASE]
        at
org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:471)[spring-orm-3.0.6.RELEASE.jar:3.0.6.RELEASE]
        at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)[spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE]
        at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)[spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE]
        at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:147)[spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE]
        at
org.apache.camel.component.jpa.JpaTemplateTransactionStrategy.execute(JpaTemplateTransactionStrategy.java:78)[camel-jpa-2.8.2.jar:2.8.2]
        at
org.apache.camel.component.jpa.JpaConsumer.poll(JpaConsumer.java:80)[camel-jpa-2.8.2.jar:2.8.2]
        at
org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:134)[camel-core-2.8.2.jar:2.8.2]
        at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:89)[camel-core-2.8.2.jar:2.8.2]
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_01]
        at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)[:1.7.0_01]
        at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)[:1.7.0_01]
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[:1.7.0_01]
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.7.0_01]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_01]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_01]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_01]

Thanks,
Best,
Idriss

--
View this message in context: 
http://camel.465427.n5.nabble.com/CSV-to-database-tp4435750p5039874.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to