Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-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 2427D9D7C for ; Wed, 8 Feb 2012 13:32:24 +0000 (UTC) Received: (qmail 45094 invoked by uid 500); 8 Feb 2012 13:32:23 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 44866 invoked by uid 500); 8 Feb 2012 13:32:23 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 44849 invoked by uid 99); 8 Feb 2012 13:32:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 13:32:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 13:32:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A996E1AA468 for ; Wed, 8 Feb 2012 13:32:01 +0000 (UTC) Date: Wed, 8 Feb 2012 13:32:01 +0000 (UTC) From: "Gary D. Gregory (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <1292700540.14749.1328707921696.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <31092820.28371289491634330.JavaMail.jira@thor> Subject: [jira] [Commented] (VFS-340) FileSystemException: Badly formed URI 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/VFS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203583#comment-13203583 ] Gary D. Gregory commented on VFS-340: ------------------------------------- FYI: We now pick up JSCH 0.1.46 in trunk, see [VFS-401]. > FileSystemException: Badly formed URI > -------------------------------------- > > Key: VFS-340 > URL: https://issues.apache.org/jira/browse/VFS-340 > Project: Commons VFS > Issue Type: Bug > Affects Versions: 1.0 > Environment: windows XP, JDK1.5 > Reporter: bharani > Original Estimate: 96h > Remaining Estimate: 96h > > I am trying to connect to SFTP using commons.vfs . The program is running fine initially by connecting to SFTP and retrieving files ,but after one point of time it throws following exception repeatedly and refuses to connect thereafter. > FileSystemException: Badly formed URI "sftp://sftpuser:XXXXXXXX@US456564/home57556/". > at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:58) > at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:641) > at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:582) > at com.java.workflow.trigger.BaseTask.establishConnection(BaseTask.java:167) > at com.java.workflow.trigger.sftp.sampleconnect.getSource2System(sampleconnect.java:11) > at com.java.workflow.trigger.sftp.samplecnt.perform(samplecnt.java:27) > at com.java.workflow.trigger.BaseTask.execute(BaseTask.java:127) > at org.quartz.core.JobRunShell.run(JobRunShell.java:216) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) > Caused by: org.apache.commons.vfs.FileSystemException: Port number is missing from URI "sftp://sftpuser:XXXXXXXX@US456564/home57556/". > at org.apache.commons.vfs.provider.HostFileNameParser.extractPort(HostFileNameParser.java:229) > at org.apache.commons.vfs.provider.HostFileNameParser.extractToPath(HostFileNameParser.java:134) > at org.apache.commons.vfs.provider.URLFileNameParser.parseUri(URLFileNameParser.java:48) > at org.apache.commons.vfs.provider.AbstractFileProvider.parseUri(AbstractFileProvider.java:170) > at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:54) > ... 8 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira