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 RE: My faces on a WebAS
Date Fri, 18 Aug 2006 11:26:13 GMT
Well, 

I've done again some test and for this last one I've just those lib on my WEB-INF/lib/ :

commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jstl-1.1.0.jar
myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar 
standar.jar


That's all. 

I've check on the WebAS there are no refs to the RI.

To create a JSF application I need those librairies :
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
jsf-api.jar
jsf-impl.jar
jstl.jar
standard.jar

So, I've remove all of them and put the first list in my WEB-INF/lib folders :(

The webAS doesn't ignore at all if there is a JSF lib or not in the web-inf/lib.

Kind regards,

Arnaud


#1.5#000D606F6C2B0016000000450000149000041B48E0BE31E3#1155899729047#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#sap.com/NewsDisplayJSFApp#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#Guest#2####daf68a702eaa11dbbd94000d606f6c2b#SAPEngine_Application_Thread[impl:3]_13##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/NewsListJSF.jsp>
!
The error is: java.lang.NullPointerException: null
Exception id: [000D606F6C2B0016000000440000149000041B48E0BE2F9B]#
#1.5#000D606F6C2B0016000000460000149000041B48E0BE36D1#1155899729047#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/NewsDisplayJSFApp#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#2####daf68a702eaa11dbbd94000d606f6c2b#SAPEngine_Application_Thread[impl:3]_13##0#0#Error##Plain###Processing
HTTP request to servlet [NewsProcessor] finished with error. The error is: javax.servlet.ServletException:
Internal error while parsing JSP page [D:/usr/sap/DEP/JC00/j2ee/cluster/server0/apps/sap.com/NewsDisplayJSFApp/servlet_jsp/newsDisplayJSF/root/NewsListJSF.jsp].
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
	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.kubota.dms.news.list.NewsProcessor.doGet(NewsProcessor.java:78)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
	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)
#





-----Original Message-----
From: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] On Behalf Of Matthias Wessendorf
Sent: jeudi 17 août 2006 19:47
To: MyFaces Development
Subject: Re: My faces on a WebAS

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.

--
Matthias Wessendorf

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

Mime
View raw message