'Error in SSH2DataBuffer, corrupt string on read' while downloading the file from SSHFTP server using 'Script' method.

book

Article ID: KB0082677

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect 6.3

Description

The following error  "Error in SSH2DataBuffer, corrupt string on read" occurs while downloading files from some SSHFTP servers when using a script.

2011 Jun 09 10:18:30:953 GMT -5 BW.BusinessConnect-Interior_Server-1 Error [bw.logger] BW-EXT-LOG-100000 Job-183001-2-13.183016 java.lang.Error: Error in SSH2DataBuffer, corrupt string on read
        at com.mindbright.ssh2.SSH2DataBuffer.readJavaString(SSH2DataBuffer.java:185)
        at com.mindbright.ssh2.SSH2SFTPClient.readdir(SSH2SFTPClient.java:817)
        at com.tibco.ax.fw.runtime.transport.sshftp.MTClient.getDir(Unknown Source)
        at com.tibco.ax.fw.runtime.transport.sshftp.SSHFTPClientImpl.executeCmd(Unknown Source)
        at com.tibco.ax.fw.runtime.transport.sshftp.SSHFTPClientImpl.executeListCmd(Unknown Source)
        at com.tibco.ax.fw.runtime.transport.sshftp.SSHFTPClientImpl.executeMgetCmd(Unknown Source)
        at com.tibco.ax.fw.runtime.transport.sshftp.SSHFTPClientImpl.executeGetOrMgetCmd(Unknown Source)
        at com.tibco.ax.fw.runtime.poller.ftp.FTPPoller.int(Unknown Source)
        at com.tibco.ax.fw.runtime.poller.ftp.FTPPoller.execute(Unknown Source)
        at com.tibco.ax.fw.util.ThreadPool$ManagedThread.run(Unknown Source)

This issue has been reported with some SSHFTP servers when the server directory or server directory contents being scanned contain a large number of files.

 

Environment

All

Resolution

BusinessConnect 6.3  hotfix 3 has a newer version of the SSHFTP interface in it, which resolves this issue.

 

Issue/Introduction

We can see following error "Error in SSH2DataBuffer, corrupt string on read" while downloading the file from some SSHFTP server when using as script