Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001530 [Resin] tweak always 12-29-06 07:16 05-15-07 16:26
Reporter tmonteit View Status public  
Assigned To ferg
Priority normal Resolution no change required Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.0.21
  Product Build
Summary 0001530: Code too Large Error on JSP Compiler.
Description A simple class generated by the www.RapidJ.com tool fails because of size limitations.

I can toggle this error on and off if by commenting out the <nested:iterate> block that iterates '3' records.

http://www.theserverside.com/discussions/thread.tss?thread_id=25469 [^]

indicates that it may be caused by a 65K limitation. 65K is a flimsy limitation.


Error:

com.caucho.java.JavaCompileException: /jsp/personnel.jsp:478: code too large for try statement
    } catch (java.lang.Throwable _jsp_e) {
      ^
C:\code\resin\webapps\APP\WEB-INF\work\_jsp\_jsp\_personnel__jsp.java:68: code too large for try statement
    try {
        ^
C:\code\resin\webapps\APP\WEB-INF\work\_jsp\_jsp\_personnel__jsp.java:15: code too large
  _jspService(javax.servlet.http.HttpServletRequest request,
  ^
Note: C:\code\resin\webapps\APP\WEB-INF\work\_jsp\_jsp\_personnel__jsp.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors
    at com.caucho.java.InternalCompiler.executeInt(InternalCompiler.java)
    at com.caucho.java.InternalCompiler.compileInt(InternalCompiler.java:81)
    at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:101)
    at java.lang.Thread.run(Thread.java:619)
Steps To Reproduce
Additional Information 1. Need a way to increase the allowable size of JSP code.
2. If I can't increase the 65K limit, I need a way to tell debug how large does Resin think my code is??

Attached Files

- Relationships

- Notes
(0001676)
ferg
01-01-07 11:23

65k is a JDK limitation. It's not a Resin limitation. There may be ways too work around some of this limitation, but the real answer is that your JSP page needs to be reduced in size.
 
(0001927)
ferg
05-15-07 16:26

JDK limitation.
 

- Issue History
Date Modified Username Field Change
12-29-06 07:16 tmonteit New Issue
01-01-07 11:23 ferg Note Added: 0001676
01-01-07 11:23 ferg Severity major => tweak
05-15-07 16:26 ferg Note Added: 0001927
05-15-07 16:26 ferg Assigned To  => ferg
05-15-07 16:26 ferg Status new => closed
05-15-07 16:26 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker