Anthony-

Apparently you are running Facelets on Sun's JSF Reference Implementation of JSF.  Do want to be running Facelets on MyFaces?  If so, you need to delete two jars that come with Facelets - jsf-ri.jar and jsf-impl.jar - from WEB-INF/lib and replace them with the MyFaces jars.  

If you, in fact, do want to be running on Sun's RI, then I recommend you contact their mailing list.  :)

Adam Brod

Product Development Team


"Anthony Hong" <[EMAIL PROTECTED]>

02/24/2006 03:18 AM

Please respond to
"MyFaces Discussion" <[email protected]>

To
"MyFaces Discussion" <[email protected]>
cc
Subject
Can not run Facelet on weblogic 9





Hi all,

I downloaded the latest Facelet 1.0.11 and use it to learn facelet as
a view of JSF.
I put all libaries under %facelet_bundle%/lib into my web-inf/lib
and jsf-facelet into web-inf/lib.
I go through as facelet document section 1 example "number guess"
But at weblogic startup time I saw a caution:
Incorrect JSP version found, method getJspApplicationContext does not exist.
And when I trying to request that page, following error occured:
java.lang.AbstractMethodError:
javax.faces.render.ResponseStateManager.isPostback(Ljavax/faces/context/FacesContext;)Z
                at com.sun.faces.lifecycle.RestoreViewPhase.isPostback(RestoreViewPhase.java:188)
                at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:143)
                at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:112)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:175)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:214)
                at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:120)
                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3022)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
                at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1925)
                at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1848)
                at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1288)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

How pity I am! anybody can help me out.
Thanks in advance

--

Anthony Hong

Reply via email to