How to check (replace) the MyFaces version used by Websphere 8.5

烂漫一生 提交于 2019-12-18 07:13:05

问题


After upgrading to WebSphere 8.5 I've experienced some incompatibilites in my JSF application. It is possible that they were caused by uncanonical use of JSF components, but I wanted to simply check what version is used

According to that document: http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.nd.doc%2Fae%2Frovr_specs.html WebSphere 8.5 uses Apache MyFaces 2.0.x (without specifying the version).

I was searching for myfaces*.jar withing WebSphere installation folder - nothing was found.

What version of MyFaces is WebSphere 8.5 using? How to find that jar withing WebSphere installation? Optionally, is it possible to replace it?


回答1:


You could add your own myfaces implementation and load that one instead. Therefor you would have to change the classloader and set it to PARENT_LAST.

Older versions showed the installed JSF version during JSF initalization, however IBM probably has a customized JSF version anyways.



来源:https://stackoverflow.com/questions/18141728/how-to-check-replace-the-myfaces-version-used-by-websphere-8-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!