I have a problem with WebSphere 6.1 and Primefaces. I have created an application, but used a local Tomcat appserver for testing. Everything was working fine, until I tried to deploy it on WAS 6.1.
After investigating the internal server problem, I saw, that WAS 6.1 only supports JSF 1.1, so I can throw out the whole interface :S
My question is, what is the best and most importantly, the fastest solution for this:
- my interface is very simple, only panels, commandbuttons, a menu and a printer component. Is it possible to go back to a previous version of primefaces that supports jsf 1.1 keeping most of the code? (as I read, primefaces 1.1 is the last, which is far away from 3.5 )
- use another faces implementation, if yes which one is the easiest to switch to from primefaces
- can WAS 6.1 be made somehow compatible with JSF 2?
- any other way
It's possible if you drop the necessary JSF 2.0/2.1 + PrimeFaces 3.5 JARs in webapp's
/WEB-INF/lib
and set in WebSphere admin the classloader policy toPARENT_LAST
on both the EAR and WAR. This will force WebSphere to load webapp-bundled JSF instead of its own bundled JSF.