The reason for the bug is so-called invoker optimization that was removed from the rhino from mozilla.org for quite a long a time but which is still present in the forked version shipped with cocoon.org. That optimization generates special runtime classes to speedup Java reflection calls to buy more speed for the slower loading time and bigger memory usage.
Now that is a big win under JDK 1.1 - 1.2. But already under JDK 1.3 the win was small enough to disable it in most but pathological cases. In additional the optimization had inherent problem with picking up the wrong parent classloader so it was disabled in Rhino 1.5R5 by default and removed in 1.6. But is still present in Cocoon fork based on Rhino 15R4. So your options are: 1. Replace Rhino jar in your Cocoon distribution by the one from Rhino 1.6R1 distribution. 2. Or remove org.mozilla.javascript.optimizer.InvokerImpl class from the Rhino jar. 3. Or patch the forked Rhino to remove the optimization from the sources. BTW, this option should really be incorporated into Cocoon 2.1.*. Then you should have a good chance to allow to avoid conflicts with WebLogic js.jar Regards, Igor
