I am trying to deploy a web application developed using JSF Components(Based on JSF 1.1 Specification), but it will give the follwoing errors in the console while running the application.
[1/28/06 13:52:53:960 IST] 00000038 ServletWrappe A SRVE0242I: [/index.jspx]: Initialization successful.
[1/28/06 13:52:54:038 IST] 00000035 ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet faces: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
[1/28/06 13:52:54:070 IST] 00000035 WebApp E SRVE0026E: [Servlet Error]-[faces]: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
Pl suggest me a solution ASAP.
Thanks
Satya
Thanks
I have another problem :
when I use JSF 1.1 , I must declare in the application that the compilation order is module --> container --> Websphere JVM : (choose "Parent Last" in the application descriptor).
When I do so, the JSF servlet works perfectly but the JSP parser does not work anymore.
I have the error :
E com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage Failed to parse Tag Library [META-INF/jsf_core.tld]: JSPG0235E: Le conteneur JSP n'a pas réussi à charger la classe TagExtraInfo [com.sun.faces.taglib.FacesTagExtraInfo]
W com.ibm.ws.jsp.taglib.TagLibraryCache loadTldsFromJar jsp error failed to load tld in jar. uri = [/WEB-INF/lib/jsf-impl-1.1.01.jar]
com.ibm.ws.jsp.JspCoreException: org.xml.sax.SAXException: JSPG0235E: Le conteneur JSP n'a pas réussi à charger la classe TagExtraInfo [com.sun.faces.taglib.FacesTagExtraInfo]
Did someone solved this bug ?