Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 51325 invoked from network); 3 Oct 2007 09:16:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2007 09:16:24 -0000 Received: (qmail 55828 invoked by uid 500); 3 Oct 2007 09:16:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 55101 invoked by uid 500); 3 Oct 2007 09:16:02 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 55090 invoked by uid 99); 3 Oct 2007 09:16:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 02:16:02 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 24.24.2.57 is neither permitted nor denied by domain of dns4@cornell.edu) Received: from [24.24.2.57] (HELO ms-smtp-03.nyroc.rr.com) (24.24.2.57) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 09:16:02 +0000 Received: from [192.168.5.102] (cpe-24-59-111-127.twcny.res.rr.com [24.59.111.127]) by ms-smtp-03.nyroc.rr.com (8.13.6/8.13.6) with ESMTP id l939FbY5008106 for ; Wed, 3 Oct 2007 05:15:39 -0400 (EDT) Message-ID: <47035DB9.7000504@cornell.edu> Date: Wed, 03 Oct 2007 05:15:37 -0400 From: David Smith User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Fresh install of Tomcat - getting frustrated with the JSP no working References: <13014781.post@talk.nabble.com> In-Reply-To: <13014781.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org Can we see the jsp you are trying to access? Also check the logs for the very first exception in the request. That will be the most helpful. You can find the logs in tomcat's logs directory. --David niblz wrote: > Hello I have install a new fresh Tomcat 6, and I have JAVA 6 (all the newest > versions from their sites) > I have tried many things, but still while html and servlet work, JSP just > won't work! > I even tried using this Tomcat version and help - > http://www.coreservlets.com/Apache-Tomcat-Tutorial/ > http://www.coreservlets.com/Apache-Tomcat-Tutorial/ > But still nothing > This are the errors I get > type Exception report message description The server encountered an > internal error () that prevented it from fulfilling this request. exception > org.apache.jasper.JasperException: Unable to compile class for JSP: An > error occurred at line: 22 in the generated java fileThe method > getJspApplicationContext(ServletContext) is undefined for the type > JspFactory An error occurred at line: 82 in the generated java fileThe > method handlePageException(Exception) in the type PageContext is not > applicable for the arguments (Throwable) Stacktrace: > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:865) note The full > stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs > > and this one > 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: Unable to compile class for JSP: > Stacktrace: > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:865) note The full > stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs. > > > What can I do please? > > Thank you! > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org