You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ken Clark <Ke...@pfizer.com> on 2006/04/19 06:35:16 UTC
Problem with simple JSF MyFaces deployment
I have built a very simple JSF web app and am having trouble trying to deploy
it.
I am getting an error that I am unable to track down via google. It is:
<Apr 19, 2006 12:12:46 AM EDT> <Error> <HTTP> <BEA-101017>
<[ServletContext(id=17083797,name=SampleW
ar,context-path=/SampleWar)] Root cause of ServletException.
javax.faces.FacesException: javax/servlet/jsp/el/FunctionMapper
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:367)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.servlet.ServletException:
javax/servlet/jsp/el/FunctionMapper
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:469)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:322)
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
... 13 more
I have a simple .jsp with this tag:
<h:outputText id="res" value="#{calc.result}"/>
The faces-config contains:
<managed-bean>
<managed-bean-name>calc</managed-bean-name>
<managed-bean-class>test.CalcBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
and the CalcBean class has methods getResult():String and
setResult(String):void
it all seems like it should work, but I get the error above.
I am using the MyFaces 1.1.2 release (core only) and Weblogic 8.1sp4.
It is a bit frustrating that the error that actually occurs does not show up
in the stack trace -- only its getMessage() value
"javax/servlet/jsp/el/FunctionMapper" which doesn't tell me much of
anything.
Any ideas?
Thanks,
ken clark
--
View this message in context: http://www.nabble.com/Problem-with-simple-JSF-MyFaces-deployment-t1472317.html#a3981514
Sent from the MyFaces - Users forum at Nabble.com.
Re: Problem with simple JSF MyFaces deployment
Posted by Ken Clark <Ke...@pfizer.com>.
Thanks for pointing me in the right direction.
I added jsp-2.0.jar to the WEB-INF/lib and that fixed the problem.
Thanks,
ken
--
View this message in context: http://www.nabble.com/Problem-with-simple-JSF-MyFaces-deployment-t1472317.html#a3986692
Sent from the MyFaces - Users forum at Nabble.com.
Re: Problem with simple JSF MyFaces deployment
Posted by Werner Punz <we...@gmx.at>.
Ken Clark schrieb:
> I have built a very simple JSF web app and am having trouble trying to deploy
> it.
>
> I am getting an error that I am unable to track down via google. It is:
>
I am not sure, but it might be a clash in el libraries...
I do not have any experience with weblogic, but maybe some el lib
comring from weblogic interferes with myfaces.
Try to reverse the classloader hierarchy, and check if there is an
el.jar in your WEB-INF/lib, remove that one (or add that one as needed )
It all seems to indicate a conflict between weblogics el implementation
and the jsf calling el.