Ask around again ;o) -- the method size limit is actually due to the 16bit
offset inside a class file. It's not javac. JDK 1.3 won't help either
(afaik). I had this problem when using a lot of tags on my page -- they
generate loads of code. You could either using scriptlets to call the
functions you want instead of tags, or (what i did) refactor the page to
minimise the number of actual tags present (I was able to loop a large
section and factor out many of the calls). What is the size of you're
class files / java files? If they're getting on for 64k this is probably
your problem. I'm waiting to move to jsp 1.2 with include/flush=false, to
get away from this problem (ie can have almost a method call of JSP).
Ken.
[EMAIL PROTECTED] on 10/01/2001 10:22:32
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Ken X Horn)
Subject: RE: bizarre JasperException on Solaris box
I've asked around, and nobody here seems to believe that there is a size
limit for java methods. Further, these methods are not that extravagantly
long, namely under 2000 lines... Therefore, I doubt that is the problem.
However, upgrading the JDK to a release version surely wouldn't hurt.
In case we're onto something with this Stronghold thing, is there any
difference in how javac would be called from a page hit by Apache and
forwarded to Tomcat versus a page served by Tomcat itself. Could this be a
bug in the connector?
-----Original Message-----
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 12:46 AM
To: '[EMAIL PROTECTED]'
Subject: AW: bizarre JasperException on Solaris box
If William Brodgen's assumption, that you are hitting a size
limitation in javac for a single method, is right, there are
two things that might help:
- use a more current JDK version
(1.3.0_01 is the newest version I know:
http://java.sun.com/j2se/1.3.0_01/index.html)
- restructure your JSP Source in way that the service
method gets smaller (put parts of your scriptlets in
own methods and just call those methods from your
scriptlets)
> -----Ursprüngliche Nachricht-----
> Von: Troy Landers [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 9. Januar 2001 18:35
> An: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Betreff: RE: bizarre JasperException on Solaris box
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]