Can JSF 2.0 be used with Websphere application server version 7.x

前端 未结 8 1989
闹比i
闹比i 2020-12-05 19:31

Can JSF 2.0 be used with WebSphere Application Server version 7.x?

If so, how?

相关标签:
8条回答
  • 2020-12-05 20:20

    My Experience:

    -> WAS 7.0.0.11 on Windows

    -> javax.faces-2.0.11.jar in WEB-INF/lib of my War application

    -> WAS Shared librairies with javax.faces-2.0.11.jar with Isolated Class Loader

    -> WAS Shared librairies associated with my War App

    -> No change on Class Loader for instance and application (PARENT_FIRST)

    With this conf (above) the application works fine with JSF 2.0 on WAS 7. if i delete the javax.faces-2.0.11.jar from my War app, it doesn't works.

    0 讨论(0)
  • 2020-12-05 20:33

    I've been struggling to solve this for days. Here's how I solved it.

    Use the following library: javax.faces-2.1.7.jar

    If you are on PrimeFaces 3.1: primefaces-3.1.1.jar

    Application Server instance: Class Loading - Parent Last

    Enterprise Application instance (war Module): Class Loading - Parent Last

    Make sure to remove all Servlet Container libraries such as those needed by Tomcat.

    0 讨论(0)
提交回复
热议问题