Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 60260 invoked from network); 29 Apr 2003 10:28:04 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 Apr 2003 10:28:04 -0000 Received: (qmail 15838 invoked by uid 97); 29 Apr 2003 10:30:17 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 15831 invoked from network); 29 Apr 2003 10:30:16 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 Apr 2003 10:30:16 -0000 Received: (qmail 57883 invoked by uid 500); 29 Apr 2003 10:27:38 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 57848 invoked from network); 29 Apr 2003 10:27:38 -0000 Received: from unknown (HELO Mail.CHEERS.HAATHI.COM) (67.104.20.131) by daedalus.apache.org with SMTP; 29 Apr 2003 10:27:38 -0000 Received: by Mail.CHEERS.HAATHI.COM with Internet Mail Service (5.5.2653.19) id <2RVP1F8R>; Tue, 29 Apr 2003 03:27:52 -0700 Message-ID: <33240C8EFB1F254EB11E19FD936AFA4401B06CB6@Mail.CHEERS.HAATHI.COM> From: Ashutosh Sharma To: Tomcat Users List Subject: RE: unable to run JSPs in tomcat 4.1.24 Date: Tue, 29 Apr 2003 03:27:52 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi James, Yes even i have figured out that instead of Throwable it should be Exception. But this code is being genearated by the Tomcat during translation. Even if u change it-it will be overwritten by the Tomcat at the time of refresh(via browser). So waht to do? -----Original Message----- From: James Lewis [mailto:james.lewis@goodtechnology.com] Sent: Tuesday, April 29, 2003 3:36 PM To: Tomcat Users List Subject: RE: unable to run JSPs in tomcat 4.1.24 Are you yourself using: if (pageContext != null) pageContext.handlePageException(t); or is that the servlet? If you, then don't pass a Throwable object to a method expecting an Exception. Otherwise, it could be one of those "missing ';', or missing '}'" tricky ones. Cheers, James > -----Original Message----- > From: Ashutosh Sharma [mailto:Ashutosh.Sharma@tavant.com] > Sent: 29 April 2003 10:48 > To: tomcat-user@jakarta.apache.org > Subject: unable to run JSPs in tomcat 4.1.24 > > > Hi everybody, > I have windows 2000 professional with jdk1.3.1_02 installed on the m/c. On > my system servlets are running fine but i JSPs are not at al executing > i am getting this error message > 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: -1 in the jsp file: null > > Generated servlet error: > [javac] Since fork is true, ignoring compiler setting. > [javac] Compiling 1 source file > [javac] Since fork is true, ignoring compiler setting. > [javac] C:\Tomcat\work\Standalone\localhost\_\index_jsp.java:266: > handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext > cannot be applied to (java.lang.Throwable) > [javac] if (pageContext != null) > pageContext.handlePageException(t); > [javac] ^ > [javac] 1 error > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > And then the stack trace. Can anyone help me out how to get rid of it. > > With best regards: > Ashutosh Sharma > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org