Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Exception with jsf login Tutorial
Exception with jsf login Tutorial [message #607636] Wed, 20 September 2006 16:24
Eclipse UserFriend
Originally posted by: graham.raima.co.uk

Hi All,

I am getting an exception when I run the JSF login tutorial. I have
spent many many hours trying to figure this out,
any help gratefully received.



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.handleJspExcepti on(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:161)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalC ontextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHan dlerImpl.java:130)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderRe sponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.ja va:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.j ava:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:19 8)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:161)

root cause

javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageExcept ion(PageContextImpl.java:858)
org.apache.jasper.runtime.PageContextImpl.access$1100(PageCo ntextImpl.java:65)
org.apache.jasper.runtime.PageContextImpl$12.run(PageContext Impl.java:778)
java.security.AccessController.doPrivileged(Native Method)
org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImpl.java:776)
org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:72)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:161)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalC ontextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHan dlerImpl.java:130)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderRe sponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.ja va:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.j ava:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:19 8)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:161)

root cause

java.lang.NoClassDefFoundError
org.apache.jasper.runtime.PageContextImpl.pushBody(PageConte xtImpl.java:722)
org.apache.jasper.runtime.PageContextImpl.pushBody(PageConte xtImpl.java:712)
org.apache.jsp.welcome_jsp._jspx_meth_f_view_0(welcome_jsp.j ava:90)
org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:63)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:161)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalC ontextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHan dlerImpl.java:130)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderRe sponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.ja va:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.j ava:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:19 8)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:161)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.17 logs.


------------------------------------------------------------ --------------------
Previous Topic:Making jsf libraries location relative to eclipse_home?
Next Topic:get list of added JSF component libraries
Goto Forum:
  


Current Time: Thu Nov 27 03:13:35 GMT 2014

Powered by FUDForum. Page generated in 0.12415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software