IBM Support

What is the significance of yfs.bundleProperties.multipleLoad property in yfs.properties file?

Question & Answer


Question

What is the significance of yfs.bundleProperties.multipleLoad property in yfs.properties file?

Answer

This attibute,yfs.bundleProperties.multipleLoad, was introduced in 8.0-HF26 to address the following scenario:

When a user defines 240 locales in the Configurator and ensures that two bundle.properties files exist in the Resources folder for different “language + country code” combinations, the BEA WebLogic server crashes with an “Out of Memory” exception message because of the presence of a very large number of objects in the com.yantra.yfc.util.YFCI18NUtils component.

Now, the problem before this attribute/flag was introduced was that “ycpbundle.properties” file was loaded by the application for each locale without considering the language and the country of the locales, resulting in the same message being duplicated. To handle this, if the new property, “yfs.bundleProperties.multipleLoad” is set to “Y” the system would check whether a “bundle.properties” file, (for example, /resources/ycpbundle_jp_JP.properties) for a locale with language as “jp” and country as “JP”, exists for the “Locale_jp_JP” locale. If the “bundle.properties” file is not present, the messages are not loaded for that locale and the “cpbundle_en_US.properties” file is used to display the literals for that locale. If you set this to N, the properties would not be loaded and the out of the box ycpapibundle.properties_en_US, essentially meaning that all the other bundle files would be ignored.

NOTE: You should have the property set to Y if you want the ycpapibundle_en_ES.properties file to be read. If a bundle file is not found for a specific locale, the file for en_US would be used.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

FAQ4057

Document Information

Modified date:
16 June 2018

UID

swg21518046