Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Change in preference of duplicate bean on HFix-903

SA-15550

Summary



Some beans have duplicates (present in both OOTB and custom code). Earlier, the bean which was defined last in the web.xml was called whenever any functionality uses it. On applying HFix-903 (having JSF v2.1)  the class defined first in the web.xml is given precedence and is used.


Error Messages



Not Applicable


Steps to Reproduce



1. Enable entryexit log for com.chordiant level
2. Bring up the vanilla FS v68 server
3. It is evident from the logs that welcomebacking bean is picked from admincommon bundle
4. Stop Server
5. Apply HFix-903
6. Restart server. It is evident from the logs that welcomebacking bean is being picked from fmxconsole bundle


Root Cause



The reported behavior is caused by the new version of JSF (that is JSF 2.1). This is not a Foundation Server product issue.

Resolution



Perform any of the below solutions:  
  • Avoid usage of Duplicate Bean(This will require code change)
  • Rearrange the faces-config files in web.xml
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us