Hi everyone,

We are moving to cold fusion MX and are running into some snags. We use
fusebox on a rather large application, and are finding that quite a few
areas of our site throw errors like the following:

cfindex2ecfm1137626797 (Code of a method longer than 65535 bytes)

After doing some research it turns out that java can't have methods > 64k -
sounds like a familiar limitation - can anyone say DOS :) - but I am
somewhat confused as to how cfm gets made into .class files.

* Does cfinclude copy the contents of every included file then compile -
regardless of the switch statement?

* Does the compiled cfm make a whole class, is it only a method in some
master class, or is everything stuck into a single method? is there a way to
force other methods, like how cfcase only runs the necessary code?



We tried to split the index.cfm into index0.cfm and index1.cfm then include
based on another switch; however, that resulted in:

 (class: cfindex02ecfm1443745593, method: _factor1 signature:
(Ljavax/servlet/jsp/tagext/Tag;)Ljava/lang/Object;) Illegal target of jump
or branch
  ColdFusion cannot determine the line of the template that caused this
error. This is often caused by an error in the exception handling subsystem.

This seems like a serious problem with CFMX for a large application using
fusebox so I hope someone has experienced this and has a elegant workaround.

Any help / comments are appreciated


Cheers,
Rob Rohan
Senior Applications Engineer
Regweb, LLC

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to