Apache FTPSClient Fails to Run in WebLogic but Works in Standalone Java

(Doc ID 2330086.1)

Last updated on NOVEMBER 27, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.6 to 12.2.1.2.0
Information in this document applies to any platform.

Symptoms

TLS (FTPS) and SSH (SFTP) are completely different protocol, issue detailed here is FTPS related. Details see FTP over TLS.

FTPSClient from Apache common net works in standalone Java, but always hung then fails in WebLogic. See attached Java test program.

When run in Maven (Standlone Java)

Cause

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