CLASSLOADING PROBLEM WHEN DOING GETFILE - SDK IN HTTPS ENVIRONMENT

(Doc ID 1072395.1)

Last updated on JANUARY 01, 2017

Applies to:

Oracle Agile PLM Framework - Version 9.2.2.5 and later
Information in this document applies to any platform.
*** Checked for relevance 31-Jan-2012 ***
***Checked for relevance on 02-Feb-2015***


Symptoms

On :  9.2.2.5 version, Software Development Kit

When attempting to do a "getFile" for an attachement, the SDK reports that it cannot find a bundle: "Can't find bundle for base name com.agile.webfs.i18n.WebfsMessages, locale en_US.",
the following error occurs.

ERROR
-----------------------
Can't find bundle for base name com.agile.webfs.i18n.WebfsMessages, locale en_US
java.lang.RuntimeException: Can't find bundle for base name com.agile.webfs.i18n.WebfsMessages, locale en_US
at com.agile.api.pc.attachment.IFSInputStream.(IFSInputStream.java:40)
at com.agile.api.pc.RowAttachment$GetFileAction.doSdkAction(RowAttachment.java:461)
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.RowAttachment.getFile(RowAttachment.java:317)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run the following code from a program:

  ....
  ITable attach = program.getTable(CommonConstants.TABLE_ATTACHMENTS);
  Iterator itr = attach.iterator();
  if (itr.hasNext()) {
  //Take the first presentation to display.
  found = true;
  IRow row = (IRow)itr.next();
  InputStream in = ((IAttachmentFile)row).getFile();
  ...



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