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

(Doc ID 2114234.1)

Last updated on SEPTEMBER 26, 2017

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


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