views:

2007

answers:

4

Can JSF2.0 be used with Websphere application server version 7.x

+1  A: 

Yes, with a bit of effort.

Sun Forum Thread

geejay
A: 

geejay, can you please explain the steps involved in getting JSF 2.0 up and running in WAS 7.0

novice2009
use comments below the answer, not new answers.
Bozho
and click/read the link geejay posted.
BalusC
A: 

Websphere ships with JSF 1.2.something and it loads that by default. To use a different JSF library (or any other library that WS provides such as commons-logging) you need to change the way the classloader prioritizes locations. They call it 'parent last" meaning load your libs then the WS versions.

Gene De Lisa
+1  A: 

The previous answer is one way to do it, but it's not IBM's sanctioned way. The WebSphere Infocenter indicates that the right way to change to an alternative JSF implementation is to create a WebSphere Shared Library with the isolated classloader option enabled. Any modules that need JSF 2 would be associated with the new shared library, and then the application would start with JSF 2 instead of JSF 1.2.

RDean
You talk about information provided on the IBM Infocenter site, but you don't provide a link. Why?
Christopher Parker