如何检查(替换)Websphere 8.5使用的MyFaces版本 [英] How to check (replace) the MyFaces version used by Websphere 8.5

查看:96
本文介绍了如何检查(替换)Websphere 8.5使用的MyFaces版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到WebSphere 8.5后,我在JSF应用程序中遇到了一些不兼容的问题。它们可能是由于非常规地使用JSF组件引起的,但我想简单地检查一下使用的版本

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

根据该文档: http:// pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.nd.doc%2Fae%2Frovr_specs.html WebSphere 8.5 使用 Apache MyFaces 2.0.x (未指定版本)。

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).

我正在使用WebSphere安装文件夹搜索myfaces * .jar - 没有找到任何内容。

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

WebSphere 8.5使用的是什么版本的MyFaces?如何使用WebSphere安装找到该jar? (可选)是否可以替换它?

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

推荐答案

您可以添加自己的myfaces实现并加载该实现。因此,您必须更改 classloader 并设置它是PARENT_LAST。

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.

旧版本在JSF初始化期间显示已安装的JSF版本,但IBM可能还有定制的JSF版本。

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

这篇关于如何检查(替换)Websphere 8.5使用的MyFaces版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆