myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bellen, Arnaud" <Arnaud.Bel...@ids-scheer.com>
Subject My faces on a WebAS
Date Thu, 17 Aug 2006 13:37:19 GMT
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/NewsDispla
yJSFApp#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/NewsDi
splayJSFApp#com.sap.engine.services.servlets_jsp.client.RequestInfoServe
r#Guest#2####2839db702cfd11db94ff000d606f6c2b#SAPEngine_Application_Thre
ad[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(JSPParse
r.java:117)
	at
com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassN
ame(JSPServlet.java:238)
	at
com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAn
dGetClassName(JSPServlet.java:429)
	at
com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(J
SPServlet.java:169)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImp
l.doWork(RequestDispatcherImpl.java:316)
	at
com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImp
l.forward(RequestDispatcherImpl.java:372)
	at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.j
ava:322)
	at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav
a: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.runS
ervlet(FilterChainImpl.java:117)
	at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFi
lter(FilterChainImpl.java:62)
	at
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLF
ilter.java:64)
	at
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.jav
a:224)
	at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFi
lter(FilterChainImpl.java:58)
	at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(H
ttpHandlerImpl.java:373)
	at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleReques
t(HttpHandlerImpl.java:264)
	at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(R
equestAnalizer.java:347)
	at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(R
equestAnalizer.java:325)
	at
com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebConta
iner(RequestAnalizer.java:887)
	at
com.sap.engine.services.httpserver.server.RequestAnalizer.handle(Request
Analizer.java:241)
	at
com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
	at
com.sap.engine.services.httpserver.server.Processor.request(Processor.ja
va:148)
	at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessio
nMessageListener.process(ApplicationSessionMessageListener.java:33)
	at
com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunne
r.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(JSPPa
rser.java:235)
	at
com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSP
Parser.java:348)
	at
com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParse
r.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
<http://www.ids-scheer.be/> >




Mime
View raw message