cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "(Berry) A.W. van Halderen" <b.vanhalde...@hippo.nl>
Subject Classloading issue 2.1.8 with Rhino
Date Mon, 02 Jul 2007 13:15:52 GMT
  Dear all,

We have a problem with Cocoon 2.1.8 with the Rhino continuations package.  The
problem is that when heavily/concurrently using our Cocoon application under
WebSphere (Java 1.4.1) we, after a while of identical requests, get a
ClassNotFoundException on a Spring class.  This class of course exists, and
earlier identical request go fine.  The application has enough memory, the
number of continuations remembered is stable, and the only stack trace to go
in is (see below).

We're kind of stuck on Cocoon 2.1.8 at the moment and our Javascript is the
rhino1.5r4-continuations-R26.jar.

Does anyone have a hint where to look for?

Thanx,
\Berry
(stack trace below)

Caused by: java.lang.ClassNotFoundException: org/springframework/web/context/WebApplicationContext
        at java.lang.Class.forName0(Native Method)
        at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
        at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java(Compiled Code))
        at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java(Compiled Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Compiled
Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Inlined
Compiled Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Compiled
Code))
        at org.mozilla.javascript.continuations.InterpretedScriptImpl.call(InterpretedScriptImpl.java(Compiled
Code))         at org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java(Compiled
Code))
        at org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction_load(FOM_Cocoon.java(Compiled
Code))
        at inv1.invoke((Compiled Code))
        at org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java(Compiled Code))
        at org.mozilla.javascript.FunctionObject.call(FunctionObject.java(Compiled Code))
        at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java(Compiled Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Compiled
Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Inlined
Compiled Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Compiled
Code))
        at org.mozilla.javascript.continuations.InterpretedScriptImpl.call(InterpretedScriptImpl.java(Compiled
Code))
        at org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java(Compiled Code))
        at org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction_load(FOM_Cocoon.java(Compiled
Code))
        at inv1.invoke((Compiled Code))
        at org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java(Compiled Code))
        at org.mozilla.javascript.FunctionObject.call(FunctionObject.java(Compiled Code))
        at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java(Compiled Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Compiled
Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Inlined
Compiled Code))
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java(Compiled
Code))
        at org.mozilla.javascript.continuations.InterpretedScriptImpl.call(InterpretedScriptImpl.java(Compiled
Code))
        at org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java(Compiled Code))
        at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java(Compiled
Code))
        at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:718)
        ... 110 more

-- 
Berry A.W. van Halderen           b.vanhalderen@hippo.nl / berry@halderen.net
Disclaimer: the above is the author's personal opinion and is not the opinion
or policy of his employer or of the little green men that have been following
him all day.

Mime
View raw message