I'm trying to use ICEfaces 1.6 with facelets (using the icefaces-facelets jar) and JSF 1.2 with the Sun-RI implementation. I'm encountering the same problem. I get the following stack trace when I try to run a sample app using the XMLSchema syntax for both the web and faces-config xml files:
javax.faces.application.ViewExpiredException: viewId:/intro.iface - View /intro.iface could not be restored.
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:187)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:125)
com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:31)
com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
com.icesoft.faces.webapp.http.servlet.MultiViewServlet.service(MultiViewServlet.java:53)
com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:97)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:85)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
I was able to get it working (workaround) by using the JSF 1.1 DTD syntax for faces-config.xml. I did NOT need to change my JSF 1.2 XMLSchema syntax for web.xml.
So, to sum up, my workaround involved a DTD syntax for faces-config.xml and XMLSchema syntax for web.xml.
ICEfaces 1.5, 1.6 do not support JSF 1.2 runtimes with JSPs. This is the reason for the failures running the Address Demo.
Note that beginning with ICEfaces 1.6 running on JSF 1.2 runtimes, such as that included with JBoss 4.2, is supported for Facelet applications only. Thus, the Facelet sample applications such as the Facelet Comp. Showcase and Timezone #7 will work correctly on JBoss 4.2.