Oracle API Gateway SFTP Poller Unable To Remove Files.

(Doc ID 2124829.1)

Last updated on APRIL 14, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.


Using Oracle API Gateway (OAG) Version
An SFTP poller has been defined on the gateway and this poller is unable to remove files, even though the flag to delete the files after processing has been set.

The following error is seen in the trace file for the gateway:

DEBUG [bf1f1700] Caught an exception, leaving main loop due to Socket closed
ERROR [bf4f4700] FTP Poller 'SFTP' - error processing file t0601261djgz_20160322030034.txt.pgp: Failed to remove 't0601261djgz_20160322030034.txt.pgp'
  at com.vordel.fileservice.client.SFTPSession.remove(
  at com.vordel.dwe.ftp.FTPScanner$
Caused by: 1:
  at com.jcraft.jsch.ChannelSftp.throwStatusError(
  at com.jcraft.jsch.ChannelSftp.rm(
  at com.vordel.fileservice.client.SFTPSession.remove(
  ... 1 more

As the poller does not delete files after processing them, it will pull the same file over and over.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms