Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE84F108E2 for ; Tue, 15 Apr 2014 03:31:20 +0000 (UTC) Received: (qmail 51859 invoked by uid 500); 15 Apr 2014 03:31:20 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 51781 invoked by uid 500); 15 Apr 2014 03:31:17 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 51570 invoked by uid 99); 15 Apr 2014 03:31:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2014 03:31:16 +0000 Date: Tue, 15 Apr 2014 03:31:15 +0000 (UTC) From: "Willem Jiang (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-7366) Error during commit: GenericFileOnCompletion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969179#comment-13969179 ] Willem Jiang commented on CAMEL-7366: ------------------------------------- Hi Arni, Can you submit a test case to help us for digging the issue? > Error during commit: GenericFileOnCompletion > -------------------------------------------- > > Key: CAMEL-7366 > URL: https://issues.apache.org/jira/browse/CAMEL-7366 > Project: Camel > Issue Type: Bug > Affects Versions: 2.13.0 > Environment: java 1.7.0_51 > Reporter: Arni Sumarlidason > Labels: file, seda, threading > > Files are lost when using a thread pool paradigm and the from("file://") source. > {code:title=Exception|borderStyle=solid} > [WARN ] [2014-04-14 11:00:28,812] [Camel (camel-1) thread #1 - seda://a] [org.apache.camel.component.file.GenericFileOnCompletion]: Error during commit. Exchange[66.json]. Caused by: [org.apache.camel.component.file.GenericFileOperationFailedException - Cannot rename file: GenericFile[66.json] to: GenericFile[.camel/66.json]] > org.apache.camel.component.file.GenericFileOperationFailedException: Cannot rename file: GenericFile[66.json] to: GenericFile[.camel/66.json] > at org.apache.camel.component.file.strategy.GenericFileProcessStrategySupport.renameFile(GenericFileProcessStrategySupport.java:115) > at org.apache.camel.component.file.strategy.GenericFileRenameProcessStrategy.commit(GenericFileRenameProcessStrategy.java:88) > at org.apache.camel.component.file.GenericFileOnCompletion.processStrategyCommit(GenericFileOnCompletion.java:124) > at org.apache.camel.component.file.GenericFileOnCompletion.onCompletion(GenericFileOnCompletion.java:80) > at org.apache.camel.component.file.GenericFileOnCompletion.onComplete(GenericFileOnCompletion.java:54) > at org.apache.camel.util.UnitOfWorkHelper.doneSynchronizations(UnitOfWorkHelper.java:100) > at org.apache.camel.impl.DefaultUnitOfWork.done(DefaultUnitOfWork.java:228) > at org.apache.camel.util.UnitOfWorkHelper.doneUow(UnitOfWorkHelper.java:61) > at org.apache.camel.processor.CamelInternalProcessor$UnitOfWorkProcessorAdvice.after(CamelInternalProcessor.java:613) > at org.apache.camel.processor.CamelInternalProcessor$UnitOfWorkProcessorAdvice.after(CamelInternalProcessor.java:581) > at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:240) > at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:251) > at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:429) > at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) > at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) > at org.apache.camel.component.seda.SedaConsumer.sendToConsumers(SedaConsumer.java:291) > at org.apache.camel.component.seda.SedaConsumer.doRun(SedaConsumer.java:200) > at org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:147) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > {code} > Files that produced this message seemed to be deleted from disk. -- This message was sent by Atlassian JIRA (v6.2#6252)