Is running JSF 1.0 apps on WAS 7.0 even possible
--------------------------------
Hi everyone,
I need some help on the following.
Our current application version is developed in RAD 6.0 and running on WAS 6.0.2 (which includes embedded JSF 1.0).
We are migrating to RAD 7.5 and running on WAS 7.0 (which includes embedded JSF 1.2), but we had not intended on recompiling our applications to JDK 6 right now (we are still compiling at JDK 1.4 so we can run through a transition period where we can run on both WAS 6 and WAS 7 with the same builds).
When we ran our unmodified JSF 1.0 applications on WAS 7.0 we received the exception
Exception created : java.lang.NoSuchMethodError: com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Ljavax/servlet/ServletContext;)V
at com.ibm.faces.context.MultipartFacesContextFactoryImpl.getFacesContext(MultipartFacesContextFactoryImpl.java:64)
Based on searching the Internet (including developer works), we followed the suggestion to switch the application classloading option from parent_first to parent_last, but we continued to get the same exception.
We then tried to add the ws-jsf.jar and jsf-api.jar from the WAS 6.0 library inside our application (tried a few different locations – in the EAR and referenced by Manifest.mf , and also in the WAR WEB-INF/lib), and continued to get the same exception.
At that point (out of frustration) we went to the admin console to select the “MyFaces” JSF instead of the “Sun” JSF to see what would happen, and received the error that we were trying to run with a different implementation of JSF than was compiled into the application, so we have switched the selection back to “Sun”, but we are out of ideas as to how we can get our JSF 1.0 apps to run on WAS 7.0.
Is running JSF 1.0 apps on WAS 7.0 even possible, or do we need to upgrade to a different JSF version? If we upgrade JSF would our apps still run on WAS 6.0.2?
Thanks
Kashmira
--------------------------------
Posted By: mira_pradhan at Jul 28 2009 7:49PM