cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31635] - Problem with loading classes in WEB-INF/classes in Flowscripts using Jetty
Date Mon, 11 Oct 2004 09:41:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31635>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31635

Problem with loading classes in WEB-INF/classes in Flowscripts using Jetty





------- Additional Comments From igor@fastmail.fm  2004-10-11 09:41 -------
A simple workarround: 

Locate org.mozilla.javascript.optimizer.InvokerImpl.class in js.jar or rhino.jar
or whatever Cocoon uses and remove the class from tyhe jar.

Explanation:

It will disble the invoker optimization in Rhino. That optimization pays very
little in speed in the vast mayority of cases with modern  JDK while eating
memory. In addition the version of Rhino that Cocoon uses does not implement
class loading properly which explains the bug.

Mime
View raw message