My Oracle Support Banner

Batch Execution Fails With "Could not connect to SFTP server" Error in Log (Doc ID 2439666.1)

Last updated on JUNE 05, 2019

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.6 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Enterprise Performance Management (EPM)
Secure File Transfer Protocol (SFTP)

Symptoms

Batch execution is failing with SFTP errors in log files.

ERROR

01:05:51.530 [Message Logger Daemon Thread] ERROR DEFAULTLOG - [NA] [SFTPUTIL] Exception while creating folder : /apps/ofsaa/ftpshare//logs/20170701/OFSAA/TRANSFORM DATA
01:05:51.533 [Message Logger Daemon Thread] ERROR DEFAULTLOG - [NA] [SFTPUTIL] Exception
org.apache.commons.vfs2.FileSystemException: Could not connect to SFTP server at "sftp://<UNIX USER>:***@<HOSTNAME>/".
  at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:107)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:103)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:81)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:65)
  at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:693)
  at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:621)
  at com.iflex.fic.util.ftpService.SFTPUtil.getFolderContents(SFTPUtil.java:1036)
  at com.iflex.fic.util.ftpService.fileTranferer.getContents(fileTranferer.java:534)
  at com.iflex.fic.util.ftpService.fileTranferer.getContents(fileTranferer.java:1366)
  at com.ofs.aai.rest.v1.dao.LogServiceDao.getLogFileList(LogServiceDao.java:96)
  at com.ofs.aai.rest.v1.impl.LogService.getLogFiles(LogService.java:67)
  at sun.reflect.GeneratedMethodAccessor859.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
  at org.glassfish.jersey.server.model.internal.AbstractJavaR

STEPS TO REPRODUCE

The issue can be reproduced at will with the following steps:

  1. Log into OFSAA Infrastructure
  2. Go to Operations > Batch Execution
  3. Select a Batch, an MIS Date, and click Execute Batch

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.