myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: My faces on a WebAS
Date Thu, 17 Aug 2006 17:47:28 GMT
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
        at ...
        at org.apache.myfaces.lifecycle.LifecycleImpl


you mix two impls
sun ri (probably shipped by the container)
and myfaces.

You need to remove all refs to the RI.

Other application servers simply ignore jsf libs inside of web-inf/lib
not really sure, what netweaver does.


On 8/17/06, Bellen, Arnaud <Arnaud.Bellen@ids-scheer.com> wrote:
>
>
>
> Hy all,
>
>  I don't know if someone as already tested to work with JSF and MyFaces on
> its WebAS (Web Application Server of SAP).
>
>  In fact I've started by developping a simple JSF page
>  and next I would like to add some sweet component by using MyFaces and
> Tomawakh.
>
>  For the JSF page, no problem, it rulez, but, when I just add
> "myfaces-api-1.1.3.jar" and
>  "my-faces-impl-1.1.3.jar" and deploy it to my server.
>  No error during deploying but when I'm trying to open a
>  JSF page I get this long error :
>
>
>
> #1.5#000D606F6C2B0026000000270000137800041B1DE87681AB#1155715175094#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#sap.com/NewsDisplayJSFApp#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#Guest#2####2839db702cfd11db94ff000d606f6c2b#SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#/System/Server#Plain###Runtime
> error in compiling of the JSP file
> <D:/usr/sap/DEP/JC00/j2ee/cluster/server0/apps/sap.com/NewsDisplayJSFApp/servlet_jsp/newsDisplayJSF/root/NewsError.jsp>
> !
>
> The error is: java.lang.NullPointerException: null
> Exception id:
> [000D606F6C2B0026000000260000137800041B1DE8767EC8]#
> #1.5#000D606F6C2B0026000000280000137800041B1DE8768B06#1155715175094#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/NewsDisplayJSFApp#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#2####2839db702cfd11db94ff000d606f6c2b#SAPEngine_Application_Thread[impl:3]_12##0#0#Error##Plain###Processing
> HTTP request to servlet [Faces Servlet] finished with error. The error is:
> com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:
> Internal error while parsing JSP page
> [D:/usr/sap/DEP/JC00/j2ee/cluster/server0/apps/sap.com/NewsDisplayJSFApp/servlet_jsp/newsDisplayJSF/root/NewsError.jsp].
>
>         at
> com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:117)
>         at
> com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:238)
>         at
> com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:429)
>         at
> com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:169)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:316)
>
>         at
> com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:372)
>
>         at
> com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
>         at
> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
>         at
> org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
>         at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
>         at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
>         at
> com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
>         at
> com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
>         at
> org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:64)
>         at
> org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:224)
>         at
> com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
>         at
> com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)
>         at
> com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
>         at
> com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
>         at
> com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
>         at
> com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
>         at
> com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
>         at
> com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
>         at
> com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
>         at
> com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
>
>         at
> com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
>         at
> com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
>         at
> java.security.AccessController.doPrivileged(Native Method)
>         at
> com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
>         at
> com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
> Caused by: java.lang.NullPointerException
>         at
> com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.validate(JSPParser.java:235)
>         at
> com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSPParser.java:348)
>         at
> com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:105)
>         ... 30 more
>
>
> I mean, in each JSP page I'm trying to use those standard taglib :
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
>
> It crashes.
>
>  I've try to add in my web-inf/lib some jar like : servlet_api.jar,
> servlet.jar, and so on but nothing seam to be working. And also I've try to
> remove jar like : JSF-imp.jar and so one.
>
>  I've also try to define the extensionFilter of myfaces in my web.xml but it
> doesn't help me :(
>
>  Anyone has an idea ?
>
>  Thx.
>
>
>
> _______________________________________________________________
>  Arnaud Bellen | SAP Netweaver consultant | IDS Scheer Belgium
> +32 (0)2 674 22 00
> Business Process Excellence, <www.ids-scheer.be>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message