voyent
Getting Exc : Failed to instantiate ELResolver. null  XML
Forum Index -> General Help
Author Message
xchander

Joined: 07/Aug/2007 00:00:00
Messages: 9
Offline


I am getting this exception while running my first ICEFaces application

I checked the similar post ...I have el-api.jar, el-ri.jar in classpath


This is the simple JSP
#########################################
<f:view xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<html>
<head>
<title>
ICEFace
</title>
</head>
<body>
<f:view>
<f:verbatim><p>JavaServer Faces Page </p></f:verbatim>
</f:view>
</body>
</html>

###############################




####<Aug 8, 2007 11:37:17 AM CDT> <Error> <com.icesoft.faces.el.ELContextImpl> <CHOSDEV010> <cgServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1186591037502> <000000> <Failed to instantiate ELResolver. null
java.lang.reflect.InvocationTargetException
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.icesoft.faces.el.ELContextImpl.<init>(ELContextImpl.java:59)
at com.icesoft.faces.context.BridgeFacesContext.getELContext(BridgeFacesContext.java:121)
at javax.faces.component.UIViewRoot.setLocale(UIViewRoot.java:888)
at com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:294)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:125)
at com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:31)
at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
at com.icesoft.faces.webapp.http.servlet.SingleViewServlet.service(SingleViewServlet.java:45)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:97)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:148)
at jsp_servlet.__index._jspService(__index.java:98)
java.lang.UnsupportedOperationException
at javax.faces.application.Application.getELResolver(Application.java:455)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.icesoft.faces.el.ELContextImpl.<init>(ELContextImpl.java:59)
at com.icesoft.faces.context.BridgeFacesContext.getELContext(BridgeFacesContext.java:121)
at javax.faces.component.UIViewRoot.setLocale(UIViewRoot.java:888)
at com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:294)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:125)
at com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:31)
at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
at com.icesoft.faces.webapp.http.servlet.SingleViewServlet.service(SingleViewServlet.java:45)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:97)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)


Pls help

thanks


philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi,

What version of WebLogic are you running? Can you list all of the jars you're deploying? You only need both el-api.jar and el-ri.jar if you're using Facelets. Otherwise just include el-api.jar and commons-el.jar.

Philip

.
xchander

Joined: 07/Aug/2007 00:00:00
Messages: 9
Offline


Its working now.
Its that I have both jsf-api.jar and jsf-api-1.2.jar in the lib dir, thats causing some weird results.

thanks

 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team