My Oracle Support Banner

Agile Product Lifecycle Management (PLM) Software Development Kit (SDK) Program Cannot Upload Files as Attachment (Doc ID 2114234.1)

Last updated on JANUARY 31, 2022

Applies to:

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


On : version, Process Extension

When attempting to run customized SDK program to upload a file attachment, the following error occurs.

<BasicAuthStrategy:INFO> Error while authenticating user. Authentication Failed for user ifsuser
at com.agile.webfs.components.controller.FilemanagerAuthFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at com.agile.webfs.components.controller.SetCharacterEncodingFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.valves.AccessLogValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(

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

1. Customize an Process Extension program with below sample code snippet to upload file attachment

IItem doc = (IItem)affectedObject;
String filePath = "d:/temp/test/";
ITable table = doc.getAttachments();
File dir = new File(filePath);
File[] files = dir.listFiles();
for(int i=0;i<files.length;i++) {

2. Compile and run this program

3. Check server log and will find the error


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.