Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for sFTP | - |
Not Applicable | - |
Description:
When a user does not have read permission on the file/Directory on an FTP server, then the "get activity" exception, "Error in GET or MGET command" is thrown. Even though the user may have enough permission on the file/directory on the FTP server, having multiple TIBCO ActiveMatrix BusinessWorks™(BW) processes which are starting at the same time (by the timer activity ) and pointing to same remote directory, an error will be reported in the "get activity". See the Error Tab for details
Symptoms:
When you start TIBCO ActiveMatrix BusinessWorks™(BW) applications having multiple processes with the "get activity" pointing to the same remote directory, the following error will be thrown:
Error in [Processes/NBATicketRawData/GetTicketRawData.process/SFTP Get]Error in GET or MGET command. See Error Tab for details
at com.tibco.plugin.sp.SFTPClient.getToLocalFile(SFTPClient.java:916) at com.tibco.plugin.sp.SFTPTransport.sftpGetFileAsFile(SFTPTransport.java:381) at com.tibco.plugin.sp.SFTPGetActivity.processSFTPCommand(SFTPGetActivity.java:189) at com.tibco.plugin.sp.SFTPActivityCommon.eval(SFTPActivityCommon.java:172) at com.tibco.pe.plugin.Activity.eval(Unknown Source) at com.tibco.pe.core.TaskImpl.eval(Unknown Source) at com.tibco.pe.core.Job.a(Unknown Source) at com.tibco.pe.core.Job.k(Unknown Source) at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source) at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source) Job-3006 [Processes/NBATicketRawData/GetTicketRawData.process/Log-1]: BW-SFTP-100005
Cause:
When you have Multiple processes with the "get activity" pointing to the same remote directory and all of them are using the same shared connection object so that when the user starts the application "get activity" from multiple processes, it will try to do the SFTP from the same location with the same connection simultaneously. It will fail with the error, 'Error in GET or MGET command. See Error Tab for details'.