Retrieving/Uploading Attachment File Through SDK Errors Out for File Internal Locator HTTPS/SSL Enabled Instance in Agile 9.3.2 and After (Doc ID 2068696.1)

Last updated on APRIL 04, 2017

Applies to:

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

Symptoms

When attempting to retrieve file attachment through custom program using Agile SDK the following error occurs.
Internal File Manager Locator URL, File Server URL, Application Server URL is configured to use HTTPS/SSL. File Manager Configuration page shows that File Manager Connection and Application Server Connection is successful. File Manager is not down, and when retrieving file from Web Client or Java Client, no issue occurs. Issue only occurs through SDK.

Error
com.agile.webfs.components.common.RepositoryException: The preferred file server : https://xxxx.com/Filemgr/services/FileServer for current user is down. Please contact the system administrator.
at com.agile.webfs.client.IFSLocator.pingFileManager(IFSLocator.java:156)
at com.agile.webfs.client.IFSLocator.getConnection(IFSLocator.java:100)
at com.agile.api.pc.EJBLookup.createFileSession(EJBLookup.java:462)
at com.agile.api.pc.attachment.IFSInputStream.createFileSession(IFSInputStream.java:132)
at com.agile.api.pc.attachment.IFSInputStream.(IFSInputStream.java:37)
at com.agile.api.pc.RowAttachment$GetFileAction.doSdkAction(RowAttachment.java:556)
at com.agile.api.common.SDKAction.run(SDKAction.java:23)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at com.agile.api.common.WebLogicAuthenticator.doAs(WebLogicAuthenticator.java:111)
at com.agile.api.common.Security.doAs(Security.java:54)
at com.agile.api.common.Security.doAs(Security.java:109)
at com.agile.api.pc.RowAttachment.getFile(RowAttachment.java:343)
at com.mdw.px.agile.attachment.renderer.StoreFile.readNStoreFile(StoreFile.java:39)
at com.mdw.px.agile.attachment.buslogic.RetrieveAndProcess.processAttachmentTable(Retrieve

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

  1. Setup a SSL Agile environment
  2. Startup Application server and File Manager.
  3. Execute SDK program to do the file operation (upload file/get file)

 

Cause

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