[
https://issues.apache.org/jira/browse/VFS-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510734#comment-17510734
]
Veeraswamy Naidu Pulaparti commented on VFS-816:
------------------------------------------------
[~ggregory] After deep dive of the jstack and vfs code base , it is blocking
at detectExecDisabled()
org.apache.commons.vfs2.provider.sftp.SftpFileSystem.executeCommand(SftpFileSystem.java:322).
If i set the filesystem options to
SftpFileSystemConfigBuilder.getInstance().setDisableDetectExecChannel(opts,
true); It is working fine .
May i know the functionality of this check implemented in 2.7.0 and what will
happen if i always go with setting this option as true like above?
Thanks in advance.
> Apache commons VFS2 code is taking 5 min to resolve the file in SFTP
> --------------------------------------------------------------------
>
> Key: VFS-816
> URL: https://issues.apache.org/jira/browse/VFS-816
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.7.0
> Reporter: Veeraswamy Naidu Pulaparti
> Priority: Major
> Attachments: SFTPTest.rtf
>
>
> Hi Team, when i used the commons-vfs2-2.7.0.jar file in my application it is
> taking around 5 min to resolve the file for 1kb as well.
> when the same code is used by changing the packages from vf2 -> vfs and using
> the jar commons-vfs-2.0.jar it is working normally and the same step is
> coming out within milliseconds.
> Could you please check the same and let me know if i am missing anything
> here. For reference i am attaching reference java code.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)