Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0B8BE845 for ; Wed, 6 Feb 2013 00:54:30 +0000 (UTC) Received: (qmail 63048 invoked by uid 500); 6 Feb 2013 00:54:30 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 63022 invoked by uid 500); 6 Feb 2013 00:54:30 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 64818 invoked by uid 99); 5 Feb 2013 18:55:55 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of guillermo.flores@mx.unisys.com does not designate 216.139.236.26 as permitted sender) Date: Tue, 5 Feb 2013 10:55:25 -0800 (PST) From: "guillermo.flores" To: users@camel.apache.org Message-ID: <1360090525150-5726990.post@n5.nabble.com> Subject: sftp - NoSuchMethodError ...SftpConsumer.isValidFile MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, i'm testing the SFTP/FTP over multiple operting systems, when I test it on a Linux RH 5.0 i'm getting an exception. Don't understand what is wrong. Could you help me? The exception i'm getting is: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [ - sftp://root@129.222.138.155] SftpOperations INFO JSCH -> Authentications that can continue: password [ - sftp://root@129.222.138.155] SftpOperations INFO JSCH -> Next authentication method: password [ - sftp://root@129.222.138.155] SftpOperations INFO JSCH -> Authentication succeeded (password). [ - sftp://root@129.222.138.155] SftpOperations INFO Connected to sftp://root@129.222.138.155:22 [ - sftp://root@129.222.138.155] SftpConsumer INFO Connected and logged in to: sftp://root@129.222.138.155:22 [ - sftp://root@129.222.138.155] SftpConsumer WARN Consumer Consumer[sftp://root@129.222.138.155?delay=60000&passiveMode=true&password=******] failed polling endpoint: Endpoint[sftp://root@129.222.138.155?delay=60000&passiveMode=true&password=******]. Will try again at next poll. Caused by: [java.lang.NoSuchMethodError - org.apache.camel.component.file.remote.SftpConsumer.isValidFile(Lorg/apache/camel/component/file/GenericFile;Z)Z] java.lang.NoSuchMethodError: org.apache.camel.component.file.remote.SftpConsumer.isValidFile(Lorg/apache/camel/component/file/GenericFile;Z)Z at org.apache.camel.component.file.remote.SftpConsumer.doPollDirectory(SftpConsumer.java:121) at org.apache.camel.component.file.remote.SftpConsumer.pollDirectory(SftpConsumer.java:50) at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:107) at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:142) at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:92) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ My Spring DSL +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ My pom has these line +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ org.apache.camel camel-ftp 2.10.3 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Thanks -- View this message in context: http://camel.465427.n5.nabble.com/sftp-NoSuchMethodError-SftpConsumer-isValidFile-tp5726990.html Sent from the Camel - Users mailing list archive at Nabble.com.