Unable To Add Attachments Using the Agile SDK
(Doc ID 1309377.1)
Last updated on APRIL 04, 2025
Applies to:
Oracle Agile PLM Framework - Version 9.2.2.6 to 9.3.2.0 [Release 9.2.0.0 to 9.3]Information in this document applies to any platform.
Symptoms
When attempting to to attach files with an SDK utility, the following error occurs.
ERROR
-----------------------
See the next exception text below from the console window.
Error code : 60086
Error message : Call APIException.getRootCause() for details.
Root Cause exception : com.agile.webfs.components.common.RepositoryException: The preferred file server : http://<file_server_url>:<port>/Filemgr/services/FileServer for user : migration is down. Please contact the system administrator.
at com.agile.api.pc.Session.createError(Session.java:1618)
at com.agile.api.pc.EJBLookup.createFileSession(EJBLookup.java:450)
at com.agile.api.pc.EJBLookup.getFileSession(EJBLookup.java:428)
at com.agile.api.pc.attachment.IFSOutputStream.getFileSession(IFSOutputStream.java:134)
at com.agile.api.pc.attachment.IFSOutputStream.copyFrom(IFSOutputStream.java:88)
at com.agile.api.pc.TableAttachment.uploadFile(TableAttachment.java:868)
at com.agile.api.pc.TableAttachment$AddFiles2Action.doSdkAction(TableAttachment.java:704)
at com.agile.api.common.SDKAction.run(SDKAction.java:23)
at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
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.TableAttachment.addFiles2(TableAttachment.java:463)
at com.agile.api.pc.TableAttachment.createNewBlob2(TableAttachment.java:439)
at com.agile.api.pc.TableAttachment.doCreateServerRowWithParam(TableAttachment.java:342)
at com.agile.api.pc.Table.createTableRow(Table.java:238)
at com.agile.api.pc.TableAttachment.createTableRow(TableAttachment.java:166)
at com.agile.api.pc.Table.createRow(Table.java:202)
at com.xxx.util.PdmAttachmentsTable.addFile(PdmAttachmentsTable.java:165)
at com.xxx.apps.utilitydriver.UtilityDriver.loadAttachment(UtilityDriver.java:4364)
at com.xxx.apps.utilitydriver.Driver.main(Driver.java:365)
[2011-03-15 15:42:38,228] INFO (Driver.java:401) - ...Complete
Exception text printed in the console window:
java.lang.ExceptionInInitializerError
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:210)
at org.apache.axis.AxisEngine.init(AxisEngine.java:194)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:178)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:88)
at org.apache.axis.client.Service.getAxisClient(Service.java:143)
at org.apache.axis.client.Service.<init>(Service.java:152)
at com.agile.webfs.components.fileserver.client.FileServerWSServiceLocator.<init>(FileServerWSServiceLocator.java:10)
at com.agile.webfs.client.IFSLocator.getRemoteFileServer(IFSLocator.java:122)
at com.agile.webfs.client.IFSLocator.getConnection(IFSLocator.java:95)
at com.agile.api.pc.EJBLookup.createFileSession(EJBLookup.java:440)
at com.agile.api.pc.EJBLookup.getFileSession(EJBLookup.java:428)
at com.agile.api.pc.attachment.IFSOutputStream.getFileSession(IFSOutputStream.java:134)
at com.agile.api.pc.attachment.IFSOutputStream.copyFrom(IFSOutputStream.java:88)
at com.agile.api.pc.TableAttachment.uploadFile(TableAttachment.java:868)
at com.agile.api.pc.TableAttachment$AddFiles2Action.doSdkAction(TableAttachment.java:704)
at com.agile.api.common.SDKAction.run(SDKAction.java:23)
at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
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.TableAttachment.addFiles2(TableAttachment.java:463)
at com.agile.api.pc.TableAttachment.createNewBlob2(TableAttachment.java:439)
at com.agile.api.pc.TableAttachment.doCreateServerRowWithParam(TableAttachment.java:342)
at com.agile.api.pc.Table.createTableRow(Table.java:238)
at com.agile.api.pc.TableAttachment.createTableRow(TableAttachment.java:166)
at com.agile.api.pc.Table.createRow(Table.java:202)
at com.xxx.util.PdmAttachmentsTable.addFile(PdmAttachmentsTable.java:165)
at com.xxx.apps.utilitydriver.UtilityDriver.loadAttachment(UtilityDriver.java:4364)
at com.xxx.pdm.apps.utilitydriver.Driver.main(Driver.java:365)
Caused by: java.lang.NullPointerException
at org.apache.axis.utils.XMLUtils.initSAXFactory(XMLUtils.java:234)
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:141)
... 28 more
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run the file import utility
Changes
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 |
Changes |
Cause |
Solution |