Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4F02B200C29 for ; Tue, 28 Feb 2017 11:01:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4D821160B7C; Tue, 28 Feb 2017 10:01:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 98A09160B6A for ; Tue, 28 Feb 2017 11:01:49 +0100 (CET) Received: (qmail 68970 invoked by uid 500); 28 Feb 2017 10:01:48 -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 68961 invoked by uid 99); 28 Feb 2017 10:01:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2017 10:01:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4CC4C189A8F for ; Tue, 28 Feb 2017 10:01:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id IH06lFs4fX1A for ; Tue, 28 Feb 2017 10:01:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8879E5F2C5 for ; Tue, 28 Feb 2017 10:01:46 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A8229E0608 for ; Tue, 28 Feb 2017 10:01:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 528E22415A for ; Tue, 28 Feb 2017 10:01:45 +0000 (UTC) Date: Tue, 28 Feb 2017 10:01:45 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-10782) SFTP: cannot get files from users home with readlock changed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 28 Feb 2017 10:01:50 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-10782. --------------------------------- Resolution: Fixed Fix Version/s: 2.17.6 > SFTP: cannot get files from users home with readlock changed > ------------------------------------------------------------ > > Key: CAMEL-10782 > URL: https://issues.apache.org/jira/browse/CAMEL-10782 > Project: Camel > Issue Type: Bug > Components: camel-ftp > Affects Versions: 2.16.4, 2.18.2 > Environment: servicemix 7.0.0, Linux SFTP server > Reporter: Stefan Roos > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.17.6, 2.18.3, 2.19.0 > > Attachments: camel_2.18.2_sftp_problem_with_homedir > > > Camel cannot fetch files from users home directory when using readlock=changed. > Route from URI is defined like this: > > And from TRACE logs I can see stuff like this: > 2017-02-03 10:59:45,146 | TRACE | //testi@infra:22 | ChangedExclusiveReadLockStrategy | 225 - org.apache.camel.camel-ftp - 2.16.4 | Using full directory listing to update file information for RemoteFile[PSOP_123-sdfsd.xml]. Consider enabling fastExistsCheck option. > 2017-02-03 10:59:45,146 | TRACE | //testi@infra:22 | SftpOperations | 225 - org.apache.camel.camel-ftp - 2.16.4 | listFiles(/) > 2017-02-03 10:59:45,150 | TRACE | //testi@infra:22 | ChangedExclusiveReadLockStrategy | 225 - org.apache.camel.camel-ftp - 2.16.4 | List files PSOP_123-sdfsd.xml found 23 files > 2017-02-03 10:59:45,150 | TRACE | //testi@infra:22 | ChangedExclusiveReadLockStrategy | 225 - org.apache.camel.camel-ftp - 2.16.4 | Previous last modified: 0, new last modified: 0 > 2017-02-03 10:59:45,150 | TRACE | //testi@infra:22 | ChangedExclusiveReadLockStrategy | 225 - org.apache.camel.camel-ftp - 2.16.4 | Previous length: 0, new length: 0 > 2017-02-03 10:59:45,150 | TRACE | //testi@infra:22 | ChangedExclusiveReadLockStrategy | 225 - org.apache.camel.camel-ftp - 2.16.4 | New older than threshold: 1486112375150 > 2017-02-03 10:59:45,150 | TRACE | //testi@infra:22 | ChangedExclusiveReadLockStrategy | 225 - org.apache.camel.camel-ftp - 2.16.4 | Exclusive read lock not granted. Sleeping for 20000 millis. > User home directory contains only 1 file, which does match to include parameter. It does seem, that camel-ftp is trying to check file readlock from the server root. > When placing the files to a subdirectory in users home, this does not happen. -- This message was sent by Atlassian JIRA (v6.3.15#6346)