My Oracle Support Banner

12.2 E-Business Suite SFTP Delivery Of The BI Publisher Output For Program 'Positive Pay File Auto Transmission to Bank'Does Not Get Delivered Successully To A New Bank Due To Error 'java.lang.NoClassDefFoundError: oracle/security/crypto/core/PublicKey' (Doc ID 2282466.1)

Last updated on NOVEMBER 19, 2023

Applies to:

BI Publisher (formerly XML Publisher) - Version 12.1.3 and later
Information in this document applies to any platform.


E-Business Suite R12 Business Intelligence Publisher, EBS Delivery (IPP, Email, FTP) related issues




BI Publisher java concurrent program Positive Pay File Auto Transmission to Bank using sftp works with all other banks, but fails when using a new bank.

It cannot make a valid connection via SFTPUtil.connect api. can you please provide guidance as to how to use this api.

error message we get is : (these classes are not found in our JAVA_TOP )
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/security/crypto/core/PublicKey
Process exited with exit code 1

Below is sample of the code to make the sftp connection:



SFTPUtil SFTPConnection = null;
int i = 0;
SFTPConnection = new SFTPUtil();
// Parameters
int iHost_Port = <PORT>;
String sHost_IP = "<IP>";
String sUsername = "user";
String sPassword = "xxxxx";
String sKey ="ssh-rsa <PORT><IP>";
try {
SFTPConnection.connect(sHost_IP, iHost_Port, sUsername, sPassword);
//SFTPConnection.connect(sHost_IP,iHost_Port, 3,sUsername,sKey, sPassword);
catch (Exception e) {
System.out.println("In Catch --");
finally {
System.out.println("In Finally --");


The SFTP delivery of a BIP output file to the bank ftp server does not get delivered.

However the same report output is successfully delivered via SFTP to other bank ftp servers.




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

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