Ignore the last advice, set it back to allow forking, and fix your code. At http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/jsp/PageContext.html it is stated that handlePageException requires a parameter of type Exception, not of Throwable. Exception implements Throwable but not the other way around. --Angus
> -----Original Message----- > From: Sandra Williams [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 5:48 AM > To: Tomcat Users List > Subject: Re: startup error > > > Hi, > > Thanks. I added the code as you suggested and now I get this error: > > 2003-06-12 10:38:37 Error compiling file: > D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java > [javac] Compiling 1 source file > > D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp > .java:266: > handlePageException(java.lang.Exception) in > javax.servlet.jsp.PageContext > cannot be applied to (java.lang.Throwable) > if (pageContext != null) pageContext.handlePageException(t); > ^ > 1 error > > Sandra > ----- Original Message ----- > From: "Daniel Ost" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Thursday, June 12, 2003 10:28 AM > Subject: Re: startup error > > > > Hi, > > > > you have to set a additional parameter in the > > {CATALINA-HOME}/conf/web.xml file. > > > > Add in the jsp - servlet section the following: > > > > <init-param> > > <param-name>fork</param-name> > > <param-value>false</param-value> > > </init-param> > > > > CU > > Daniel > > > > > > --- Sandra Williams <[EMAIL PROTECTED]> > > schrieb: > Hi, > > > > > > I've just installed jakarta-tomcat-4.1.24 on Windows > > > 2000 > > > (I'm upgrading from jakarta-tomcat-3.2.1 which I > > > have not deleted yet). > > > > > > I have jdk version 1.3.1 > > > > > > When I run startup.bat I get the following error in > > > the log file: > > > > > > 2003-06-11 19:06:21 Error compiling file: > > > > > D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java > > > [javac] Since fork is true, ignoring compiler > > > setting. > > > [javac] Compiling 1 source file > > > [javac] Since fork is true, ignoring compiler > > > setting. > > > [javac] > > > > > > D:\jakarta-tomcat-4.1.24\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 > > > > > > I hope someone can help me. > > > Thanks > > > > > > Sandra > > > _____________________________________ > > > Sandra Williams > > > Department of Computing Science, > > > University of Aberdeen, > > > Aberdeen AB24 3UE > > > UK > > > Tel: +44 (0)1224 274207 > > > Email: [EMAIL PROTECTED] > > > Web: www.csd.abdn.ac.uk/~swilliam > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > __________________________________________________________________ > > > > Gesendet von Yahoo! Mail - http://mail.yahoo.de > > Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]