File Download With SDK Program Not Working In Agile 9.3.2 And Later (Doc ID 1611925.1)

Last updated on FEBRUARY 23, 2016

Applies to:

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

Symptoms

On : 9.3.2.0 version,

When attempting to download file using SDK,
the following error occurs.

ERROR
-----------------------
- Failed to load the configuration file server.conf
java.io.IOException: Unable to load server.conf
at com.agile.webfs.configuration.ConfigurationLoader.getPropereties(ConfigurationLoader.java:55)
at com.agile.webfs.configuration.FileServerConfigReader.loadFileServerProperties(FileServerConfigReader.java:84)
at com.agile.webfs.configuration.FileServerConfigReader.<init>(FileServerConfigReader.java:134)
at com.agile.webfs.configuration.FileServerConfigReader.getInstance(FileServerConfigReader.java:47)

...

java.net.MalformedURLException
    at java.net.URL.<init>(URL.java:613)
    at java.net.URL.<init>(URL.java:476)
    at java.net.URL.<init>(URL.java:425)
    at com.agile.webfs.service.client.WebServiceWrapper.getRemoteFSHelper(WebServiceWrapper.java:283)
    at com.agile.webfs.service.client.WebServiceWrapper.<init>(WebServiceWrapper.java:63)
    at com.agile.webfs.components.security.client.SecurityHelper.getEncryptUsingWS(SecurityHelper.java:318)
    at com.agile.webfs.components.security.client.SecurityHelper.encrypt(SecurityHelper.java:278)
    at com.agile.webfs.components.security.client.SecurityHelper.encode(SecurityHelper.java:142)
    at com.agile.webfs.components.security.client.SecurityHelper.encode(SecurityHelper.java:118)
    at com.agile.webfs.client.AgileContentService.<init>(AgileContentService.java:76)
    at com.agile.webfs.client.IFSLocator.getConnection(IFSLocator.java:102)
    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.<init>(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)

<2013-06-18 00:36:09,445> <IFSLocator:DEBUG> Error connecting to URL:http://filemanager.domain.com:8080/Filemgr/services/FileServer
java.lang.NullPointerException
    at com.agile.webfs.service.client.WebServiceWrapper.encrypt(WebServiceWrapper.java:267)
    at com.agile.webfs.components.security.client.SecurityHelper.getEncryptUsingWS(SecurityHelper.java:319)
    at com.agile.webfs.components.security.client.SecurityHelper.encrypt(SecurityHelper.java:278)
    at com.agile.webfs.components.security.client.SecurityHelper.encode(SecurityHelper.java:142)
    at com.agile.webfs.components.security.client.SecurityHelper.encode(SecurityHelper.java:118)
    at com.agile.webfs.client.AgileContentService.<init>(AgileContentService.java:76)
    at com.agile.webfs.client.IFSLocator.getConnection(IFSLocator.java:102)
    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.<init>(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)


Exception in thread "main" java.lang.RuntimeException: Call APIException.getRootCause() for details.
    at com.agile.api.pc.attachment.IFSInputStream.<init>(IFSInputStream.java:40)
    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)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. File manager is not installed on the app server system.
2. Run SDK 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