I have a webapp (developmed and running in JSF 1.1 and JBoss 3.2.7) which is migrated to JBoss 4.2.0. After deployment and starting the server throw the following error.
I have removed jstl, jsf-impl, jsf-api, jboss-faces, log4j jars from web-int/lib as they are present in jboss (like jboss/server/default/deploy/jboss-web-deployer/jsf-libs). TIA.
13:38:32,421 ERROR [STDERR] java.lang.UnsupportedOperationException
13:38:32,422 ERROR [STDERR] at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
13:38:32,422 ERROR [STDERR] at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
13:38:32,422 ERROR [STDERR] at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
13:38:32,422 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:855)
13:38:32,422 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:502)
13:38:32,422 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
13:38:32,423 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
the stacktrace is usually much longer, you should be able to find more error details if scolling up or down: it usually states a cause somewhere.