tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angus Mezick" <amez...@guidestar.org>
Subject RE: startup error
Date Thu, 12 Jun 2003 13:08:36 GMT
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:swilliam@csd.abdn.ac.uk] 
> 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" <mceast25@yahoo.de>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> 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 <swilliam@csd.abdn.ac.uk>
> > 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: swilliam@csd.abdn.ac.uk
> > > Web: www.csd.abdn.ac.uk/~swilliam
> > >
> > >
> > >
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > tomcat-user-help@jakarta.apache.org
> > >
> >
> > __________________________________________________________________
> >
> > Gesendet von Yahoo! Mail - http://mail.yahoo.de
> > Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
> >
> > 
> ---------------------------------------------------------------------
> > 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


Mime
View raw message