tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From archana gupta <archanasgu...@yahoo.co.in>
Subject Re: some problem in tomcat 5.0.25
Date Thu, 08 Jul 2004 15:07:06 GMT
Hi Peter ,
 
This is the exact error which i get
 
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] Compiling 1 source file

C:\jakarta-tomcat-5.0.25\work\Catalina\localhost\eform\org\apache\jsp\incident_005freport_jsp.java:7933:
code too large for try statement
    } catch (Throwable t) {
      ^
C:\jakarta-tomcat-5.0.25\work\Catalina\localhost\eform\org\apache\jsp\incident_005freport_jsp.java:75:
code too large for try statement
    try {
        ^
C:\jakarta-tomcat-5.0.25\work\Catalina\localhost\eform\org\apache\jsp\incident_005freport_jsp.java:61:
code too large
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
              ^
3 errors


	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
	org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 
Thanks
Archana


Peter Lin <woolfel@gmail.com> wrote:
I remember back in tomcat4 several people discovered that long JSP
pages would fail because the file exceeded the limit in javac, or
using include directive resulted in a servlet with deeply nested
try/catch blocks.

what is the exact error you are getting?

peter


On Wed, 7 Jul 2004 10:09:47 -0500, QM wrote:
> On Wed, Jul 07, 2004 at 03:05:26PM +0100, archana gupta wrote:
> : Its 168 KB after compiling , this because its a single in which different JSP are included
depending upon the condition . This works fine in 5.0.16 .
> 
> Is this the size of the compiled .class file or the generated .java
> source file?
> 
> How large is the JSP itself?
> 
> Are you using runtime JSP includes or compile-time JSP includes?
> 
> -QM
> 
> --
> 
> software -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
> 
> ---------------------------------------------------------------------
> 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

Yahoo! India Careers: Over 50,000 jobsonline.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message