My Oracle Support Banner

Adding File via Agile API Program Fails After Certain Period With Error 'Failed to Authenticate User' in File Manager Log (Doc ID 1946311.1)

Last updated on AUGUST 09, 2018

Applies to:

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

Symptoms

While looping the Agile API program to add file to object, adding attachment will fail with below error after certain period:

ERROR (In Agile API program)
-----------------------
60086 Call APIException.getRootCause() for details.。 java.lang.NullPointerException

ERROR (In File Manager log)
-----------------------
Nov 07, 2014 1:21:33 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [CheckInServlet] in context with path [/Filemgr] threw exception [Failed to authenticate user <user name>] with root cause
javax.servlet.ServletException: Failed to authenticate user <user name>
at com.agile.webfs.components.controller.FilemanagerAuthFilter.doFilter(FilemanagerAuthFilter.java:84)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.agile.webfs.components.controller.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:35)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)





Steps to reproduce
-----------------------
1. Run Agile API SDK program to add file to file folder.
In the program, below code is looped for 1000 times:
  fileFolder.checkOutEx();
  IRow filesRow1 =
  files.createRow(rset.getString("UPFOLDERNUMBER") + rset.getString("FILENAME").trim());
  fileFolder.checkIn();

2. After running the program for a while, gets error in SDK program and File Manager (tomcat) log


Cause

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
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.