Thanks a lot, Harry. Your advice is extremely helpful. By the way, can I
create private method within a xsp or xml page so that the size of main part
could be reduced ?

Lily 

 

-----Original Message-----
From: Lai, Harry [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:48 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Cocoon's capacity


Hi Lily,

This is actually a limitation in Java, not Cocoon.  Basically, you can't
have a Java method that's more than 65535 bytes
(http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#8
8659).

I'm a Cocoon newbie, but I think there's probably a way to pull some of your
code out into other methods, which would get you around this issue (unless
this is actually happening in the code generation process).  Could someone
else who knows more about Cocoon address this?  Thanks!

Harry

-----Original Message-----
From: Lily Zou [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 3:53 PM
To: [EMAIL PROTECTED]
Subject: Cocoon's capacity


I use cocoon1.8.2 and I have a large xml file needed to process. THis is the
error I got from cocoon:                  
    java.lang.ClassFormatError: Code of a method longer than 65535 bytes
    at java.lang.ClassLoader.defineClass0(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:486) at
java.lang.ClassLoader.defineClass(ClassLoader.java:426) ...........
It seems my file is too huge to be processed. Is there anyone who knows how
to modify or if we are able to modify the capacity of cocoon ?
Thanks in advance.


Lily  Zou
REDKNEE Inc.
Phone (905)-625-2962
Email  [EMAIL PROTECTED]




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to