Hi all,


I have a problem with flows in cocoon-2.1.1:

"resource://org/apache/cocoon/components/flow/javascript/fom/fom_system.js", line 4: uncaught JavaScript exception: at calculator (file:/C:/CocoonSDK/bea7/dev/applications/ishauth-2/samples/flow/calc/calc.js, Line 5) at getNumber (file:/C:/CocoonSDK/bea7/dev/applications/ishauth-2/samples/flow/calc/calc.js, Line 24) at (resource://org/apache/cocoon/components/flow/javascript/fom/fom_system.js, Line 4): java.lang.ClassCastException

That's from the flow samples of cocoon. This samples work fine for me in tomcat but not in weblogic. Before (I though) I fixed to "weblogic rhino" issue described e.g. in

http://www.mail-archive.com/[EMAIL PROTECTED]/msg06176.html

by unpacking weblogic.jar and replacing the org.mozilla.* stuff the rhino.jar supplied by cocoon (just removing it didn't worked for me). My first impression was that everything was fine because the '"Continuation" is not defined' message disappered and my flow was working. Today I wanted to use woody with flow and I always got the error message I copied on top of this message. I tried the cocoon flow examples and I'm getting the same message.

Now my question:

Is this also related to the rhino/WL problem or is there something else that I should look for? Is there any other option than (copied from Velle Andrč message: http://www.mail-archive.com/[EMAIL PROTECTED]/msg06205.html)

1)Remove the rhino classes from weblogic.jar
2)Use ParanoidCocoonServlet, and do all the necessary weeding in the libs to get rid
of all the classcastexceptions.
3) Use something other than weblogic


I tried 1), 3) is not an option for me (would prefer tomcat) and 2) seems to be to much work...

Thanks for any answer!

Patrick




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



Reply via email to