- This topic has 4 replies, 5 voices, and was last updated 17 years, 11 months ago by vlnmca.
-
AuthorPosts
-
batlinalMemberI have been trying out the JSFLoginDemo as downloaded from the website, and for all servers I tried, I get the same error (this one is from JBoss 4 on Windows):
HTTP Status 500 –
——————————————————————————–
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root causejava.lang.NullPointerException
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
org.apache.jsp.userLogin_jsp._jspx_meth_f_view_0(org.apache.jsp.userLogin_jsp:130)
org.apache.jsp.userLogin_jsp._jspService(org.apache.jsp.userLogin_jsp:105)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.——————————————————————————–
Apache Tomcat/5.5
Is there something I should be doing more to set-up my environment?
Riyad KallaMemberThat is a pretty generic error coupled with no information about your project, environment or otherwise.
Let’s start by you posting the source code for your entire userLogin.jsp page. Also please post your web.xml file and faces-config.xml file.
PLEASE wrap all posted code in code blocks (using the code button below) to retain formatting, otherwise it’s a nightmare to try and read.
ceeeyemMemberHello,
I was having the same problem and infact saw ur posting online in this forum when I was searching for a solution. Please read the section 9.9 in the following link
http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch9.chapt.html
It mentions about removing the MyFaces libraries if you are going to use JSF only.Mine was a pure JSF application, so I removed the following directory
from my JBOSS installation (this dir has few myfaces.jar files that are included by default in the JBOSS installation).
dir name ==> jbossweb-tomcat55.sar/jsf-libBut, i made sure I have all the necessary libraries (.jar files) in my application. In my case, I have jsf-api.jar, jsf-impl.jar along with other commons…jar files. in the “WEB-INF/lib” folder of my application directory.
After doing these steps, I was able to successfully deploy my JSF application in JBOSS without any errors.
I assume the problem u have is similar/same as mine and this approach will solve it.
All the best with ur work.
-Ceeeyem——————–
The Open source fever caught me tooo.. But, learning and enjoying it…
noodnik2MemberThank you, Ceeeyem!
vlnmcaMemberHi,
I have developed a sample application in JSF login demo by seeing the manual of Myeclipse_jsf_quickstart.pdf but after completion after deploying if i load the page
http://localhost:8080/JSFLoginDemo/userLogin.faces
i am getting below error. kindly help me in this regard. i am attaching below the browser error below for your reference. I am using the application server is JBOSS. in server window it is displaying as Faces context not found. I am attaching my coding details in this mail.
Thanks you,
V.Lakshmi Narayanan
HTTP Status 500 –
——————————————————————————–
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)root cause
java.lang.NullPointerException
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
org.apache.jsp.userLogin_jsp._jspx_meth_f_view_0(org.apache.jsp.userLogin_jsp:130)
org.apache.jsp.userLogin_jsp._jspService(org.apache.jsp.userLogin_jsp:104)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
——————————————————————————–
Apache Tomcat/5.5
-
AuthorPosts