tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Cooke <and...@intertrader.com>
Subject Bug: 3.3b1, cannot compile auto-generated java (ServletException(Throwable))
Date Thu, 02 Aug 2001 11:05:45 GMT

Hi,

After asking about classloader/XML problems I followed some advice and 
tried 3.3-b1.  This gives the following error:

In the auto-generated JSP code (in work/DEFAULT/jsp) the lines

             } catch (Throwable throwable) {
                 throw new ServletException(throwable);
             }

near the end of the jsp code generates the error

org.apache.jasper.JasperException: Unable to compile 
D:\jakarta-tomcat-3.3-b1\work\DEFAULT\jsp\pay_in_1.java:125: Incompatible 
type for constructor. Can't convert java.lang.Throwable to java.lang.String.
                 throw new ServletException(throwable);

1 error

         at 
org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:770)
         at 
org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:623)
         at 
org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:437)
         at 
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:961)
         at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:866)
         at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:824)
         at 
org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Interceptor.java:195)
         at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:438)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)
         at java.lang.Thread.run(Thread.java:484)

The installation is pretty standard - all the app-related jars are in the 
apps directory and I'm using JDK1.3 and Apache 1.3.12 (OpenSA 0.2).

Andrew


Mime
View raw message