Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B905799D for ; Tue, 26 Jul 2011 09:53:28 +0000 (UTC) Received: (qmail 26562 invoked by uid 500); 26 Jul 2011 09:53:27 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 26389 invoked by uid 500); 26 Jul 2011 09:53:20 -0000 Mailing-List: contact dev-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 dev@camel.apache.org Delivered-To: moderator for dev@camel.apache.org Received: (qmail 20406 invoked by uid 99); 26 Jul 2011 09:46:22 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FREEMAIL_FROM,SPF_SOFTFAIL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of muthukumar_se@hotmail.com does not designate 216.139.236.26 as permitted sender) Date: Tue, 26 Jul 2011 02:45:55 -0700 (PDT) From: muthukumar_se To: dev@camel.apache.org Message-ID: <1311673555941-4634231.post@n5.nabble.com> Subject: Windows inprogress file : failed due cannot delete MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Environment: Windows XP, JDK 1.6 Camel Ver: 2.7.2, 2.8 10:20:30.780 [a://tr_inward_fp] DeleteWorkFile DEBUG Error in processing the file; going to delete the work file 10:20:30.780 [a://tr_inward_fp] GenericFileOnCompletion WARN Rollback file strategy: org.apache.camel.component.fil e.strategy.GenericFileRenameProcessStrategy@1bfaf97 for file: GenericFile[..\inprogress\sam1.csv] 10:20:30.780 [a://tr_inward_fp] FileUtil DEBUG Retrying attempt 1 to rename file from: data\ \in\..\inprogress\sam1.csv to: data\in\..\inprogress\..\error\sam1.csv 10:20:31.796 [a://tr_inward_fp] FileUtil DEBUG Retrying attempt 2 to rename file from: data\ \in\..\inprogress\sam1.csv to: data\in\..\inprogress\..\error\sam1.csv 10:20:32.796 [a://tr_inward_fp] FileUtil DEBUG Cannot rename file from: data\in\..\inprogre ss\sam1.csv to: data\in\..\inprogress\..\error\sam1.csv, will now use a copy/delete approach instead 10:20:32.796 [a://tr_inward_fp] FileUtil DEBUG Using FileChannel to copy from: sun.nio.ch.FileChannel Impl@26c3a1 to: sun.nio.ch.FileChannelImpl@f596b2 10:20:32.796 [a://tr_inward_fp] FileUtil DEBUG Retrying attempt 0 to delete file: data\in\. .\inprogress\sam1.csv 10:20:32.796 [a://tr_inward_fp] FileUtil DEBUG Retrying attempt 1 to delete file: data\in\. .\inprogress\sam1.csv 10:20:33.811 [a://tr_inward_fp] FileUtil DEBUG Retrying attempt 2 to delete file: data\in\. .\inprogress\sam1.csv 10:20:34.811 [a://tr_inward_fp] FileUtil DEBUG Tried 3 to delete file: data\in\..\inprogres s\sam1.csv with result: false 10:20:34.811 [a://tr_inward_fp] FileUtil WARN Renaming file from: data\in\..\inprogress\sa m1.csv to: data\in\..\inprogress\..\error\sam1.csv failed due cannot delete from file: data\in\..\inprogress\sam 1.csv after copy succeeded 10:20:34.811 [a://tr_inward_fp] FileUtil DEBUG Tried 3 to rename file: data\in\..\inprogres s\sam1.csv to: data\in\..\inprogress\..\error\sam1.csv with result: true -- View this message in context: http://camel.465427.n5.nabble.com/Windows-inprogress-file-failed-due-cannot-delete-tp4634231p4634231.html Sent from the Camel Development mailing list archive at Nabble.com.