My Oracle Support Banner

While Downloading Files From External File Server Using Agile SDK From Custom Application, System Is Throwing Error "Class Not Found" (Doc ID 2764595.1)

Last updated on JANUARY 19, 2023

Applies to:

Oracle Agile PLM Framework - Version and later
Information in this document applies to any platform.


While trying to download the file from external file server , using Agile SDK from Custom Application, the following error occurs


Class Not Found Received fatal alert: protocol_version


The issue can be reproduced at will with the following steps:
1. Run the following sample code to download file from external file server 

URL url = new URL("");
URLConnection uc = url.openConnection();
uc.setRequestProperty("Authorization", String.format("Basic %s", new BASE64Encoder().encode("xxxx".getBytes("UTF-8"))));

try (BufferedInputStream inputStream = new BufferedInputStream(uc.getInputStream());
   FileOutputStream fileOS = new FileOutputStream("t.docx")) {
   byte data[] = new byte[1024];
   int byteContent;
   while ((byteContent =, 0, 1024)) != -1) {
   fileOS.write(data, 0, byteContent);


 Implementing the functionality for the first time.


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.