You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (JIRA)" <ji...@apache.org> on 2012/05/14 20:31:54 UTC

[jira] [Updated] (VFS-200) [SFTP] Failure when files are very large

     [ https://issues.apache.org/jira/browse/VFS-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated VFS-200:
--------------------------------

    Summary: [SFTP] Failure when files are very large  (was: sftp fails when files are very large)
    
> [SFTP] Failure when files are very large
> ----------------------------------------
>
>                 Key: VFS-200
>                 URL: https://issues.apache.org/jira/browse/VFS-200
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Java EE 5
>            Reporter: Michael Manion
>            Priority: Blocker
>             Fix For: 2.1
>
>
> We only get this error with very large files.  We are using the latest release of JSch (0.1.37).
> org.apache.commons.vfs.FileSystemException: Could not read file "sftp://[useridRemoved]@[ipAddrRemoved]/returned/ccp_allusers.20080219010439.01.noe.clean_C_.txt".
> 	at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1052)
> 	at org.apache.commons.vfs.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:312)
> 	at com.ibm.account.batch.jobs.gecs.SecureFTPHelper.retrieveGECSResultsFiles(SecureFTPHelper.java:155)
> Caused by: 4: 
> 	at com.jcraft.jsch.ChannelSftp._get(ChannelSftp.java(Compiled Code))
> 	at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:855)
> 	at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:834)
> 	at org.apache.commons.vfs.provider.sftp.SftpFileObject.doGetInputStream(SftpFileObject.java:362)
> 	at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1048)
> 	... 14 more
> Caused by: java.io.IOException: inputstream is closed
> 	at com.jcraft.jsch.ChannelSftp.fill(ChannelSftp.java(Inlined Compiled Code))
> 	at com.jcraft.jsch.ChannelSftp.header(ChannelSftp.java(Compiled Code))
> 	... 19 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

        

Re: [jira] [Updated] (VFS-200) [SFTP] Failure when files are very large

Posted by "Pechinsky, Anton" <AP...@qulix.com>.
Please, remove me from this list.

On 05/14/2012 09:31 PM, Gary D. Gregory (JIRA) wrote:


     [ https://issues.apache.org/jira/browse/VFS-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated VFS-200:
--------------------------------

    Summary: [SFTP] Failure when files are very large  (was: sftp fails when files are very large)

> [SFTP] Failure when files are very large
> ----------------------------------------
>
>                 Key: VFS-200
>                 URL: https://issues.apache.org/jira/browse/VFS-200
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Java EE 5
>            Reporter: Michael Manion
>            Priority: Blocker
>             Fix For: 2.1
>
>
> We only get this error with very large files.  We are using the latest release of JSch (0.1.37).
> org.apache.commons.vfs.FileSystemException: Could not read file "sftp://[useridRemoved]@[ipAddrRemoved]/returned/ccp_allusers.20080219010439.01.noe.clean_C_.txt"<mailto:sftp://[useridRemoved]@[ipAddrRemoved]/returned/ccp_allusers.20080219010439.01.noe.clean_C_.txt>.
>       at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1052)
>       at org.apache.commons.vfs.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:312)
>       at com.ibm.account.batch.jobs.gecs.SecureFTPHelper.retrieveGECSResultsFiles(SecureFTPHelper.java:155)
> Caused by: 4:
>       at com.jcraft.jsch.ChannelSftp._get(ChannelSftp.java(Compiled Code))
>       at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:855)
>       at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:834)
>       at org.apache.commons.vfs.provider.sftp.SftpFileObject.doGetInputStream(SftpFileObject.java:362)
>       at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1048)
>       ... 14 more
> Caused by: java.io.IOException: inputstream is closed
>       at com.jcraft.jsch.ChannelSftp.fill(ChannelSftp.java(Inlined Compiled Code))
>       at com.jcraft.jsch.ChannelSftp.header(ChannelSftp.java(Compiled Code))
>       ... 19 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<https://issues.apache.org/jira/secure/ContactAdministrators%21default.jspa>
For more information on JIRA, see: http://www.atlassian.com/software/jira