简体   繁体   English

WAS 9 如何在 Websphere Application Server V9 上覆盖默认提供的 MyFaces2.2

[英]WAS 9 how override default provided MyFaces2.2 on Websphere Application Server V9

we are migrating from WAS 8 to WAS 9 and WAS9 is providing MyFaces 2.2 but we would like to override with MyFaces following jars我们正在从 WAS 8 迁移到 WAS 9,并且 WAS9 正在提供 MyFaces 2.2,但我们想在 jars 之后用 MyFaces 覆盖

  • myfaces-extcdi-core-api-1.0.5.jar myfaces-extcdi-core-api-1.0.5.jar
  • myfaces-extcdi-core-impl-1.0.5.jar myfaces-extcdi-core-impl-1.0.5.jar
  • myfaces-extcdi-jsf20-module-api-1.0.5.jar myfaces-extcdi-jsf20-module-api-1.0.5.jar
  • myfaces-extcdi-jsf20-module-impl-1.0.5.jar myfaces-extcdi-jsf20-module-impl-1.0.5.jar
  • myfaces-extcdi-message-module-api-1.0.5.jar myfaces-extcdi-message-module-api-1.0.5.jar
  • myfaces-extcdi-message-module-impl-1.0.5.jar myfaces-extcdi-message-module-impl-1.0.5.jar

basically we don't need WAS provided MyFaces , when I can uninstall myfaces on WAS 9 server, I see the MyFaces jars "Plugins" folder.基本上我们不需要 WAS 提供的 MyFaces ,当我可以在 WAS 9 服务器上卸载 myfaces 时,我会看到 MyFaces jars“插件”文件夹。

  • removing jars from plugins folder is not working从插件文件夹中删除 jars 不起作用

any suggestions please任何建议请

The MyFaces JSF implementation provided with WAS 9 cannot be uninstalled.无法卸载随 WAS 9 提供的 MyFaces JSF 实现。 You should not remove any jars from plugins .你不应该从plugins删除任何 jars。 In WAS versions 8.0 and 8.5.5 an application option was provided to select between SunRI and MyFaces - however in WAS 9 only MyFaces 2.2 is provided, so there is no such configuration option.在 WAS 8.0 和 8.5.5 版本中,提供了一个应用程序选项来在 SunRI 和 MyFaces 之间进行选择——但是在 WAS 9 中只提供了 MyFaces 2.2,因此没有这样的配置选项。

IBM has a documentation page for configuring JSF . IBM 有一个用于配置 JSF的文档页面。 Once you've determined the correct MyFaces libraries to use, you'll want to bundle those libraries (as well as the correct dependencies) into an isolated shared library.确定要使用的正确 MyFaces 库后,您需要将这些库(以及正确的依赖项)捆绑到一个独立的共享库中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM