File Upload/Download Failing with SDK Program on SSL Enabled Agile Instance
(Doc ID 2068696.1)
Last updated on JANUARY 24, 2024
Applies to:
Oracle Agile PLM Framework - Version 9.3.2.0 and laterInformation in this document applies to any platform.
Symptoms
When attempting to retrieve file attachment through custom program using Agile SDK (Agile API) 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://{server_name}.{domain_name}/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
In the environment where wildcard certificate is used, below error can be seen:
<Warning> <Security> <BEA-090504> <Certificate chain received from {server_name}.{domain_name} - 192.168.81.69 failed hostname verification check. Certificate contained *.{domain_name} but check expected {server_name}.{domain_name}>
com.agile.webfs.components.common.RepositoryException: Current user's preferred file server https://{server_name}.{domain_name}:{port}/Filemgr/services/FileServer Crash. Please contact the system administrator.
Steps
The issue can be reproduced at will with the following steps:
- Enable SSL on Agile Application Server and File Manager
- Startup Application server and File Manager
- Execute SDK program to do the file operation (upload file/get file)
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 |