To solve your problem, make sure that your JSP compiled/generated Java files do 
not have try blocks and Java methods too large, for (rough) example, exceeding 
10,000 lines. It's just the limitation of try blocks and java methods, the size 
of java file has no limit.

When a java file is compiled into .class file, there is a limitation in "JVM 
spec" that try block represented in the java byte code cannot exceed 64K. Since 
the largest try block could be the entire Java method (a method throws 
exceptions),  this 64K limitation is also (conveniently) imposed on each Java 
method.

________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] [EMAIL 
PROTECTED]
Sent: Saturday, September 08, 2007 9:43 AM
To: resin-interest@caucho.com
Subject: [Resin-interest] code too large for try statement error!

What should I do to fix the jsp page when resin server ran into the
following errors?

code too large for try statement

-Henry


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to