cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Heesen <rainer.hee...@gmx.de>
Subject Re: Javaflow in C2.2
Date Thu, 18 Sep 2008 21:09:29 GMT
Many thanks for you help. It sounds interesting. I tried a grep of the log 
file to identify the Invoker.class instances.

grep Invoker log4j.log says

2008-09-18 22:48:35,367 DEBUG http-8080-Processor25 
org.apache.commons.javaflow.Continuation - starting new flow from
org.apache.cocoon.components.flow.java.Invoker@20805333/org.apache.catalina.loader.WebappClassLoader@11697208
2008-09-18 22:48:40,903 DEBUG http-8080-Processor25 
org.apache.commons.javaflow.bytecode.Stack - push reference
org.apache.cocoon.components.flow.java.Invoker@20805333/org.apache.catalina.loader.WebappClassLoader@11697208
[org.apache.cocoon.components.flow.java.Invoker@13d76d5] 
i[1],l[0],d[0],f[0],o[2],r[1]
2008-09-18 22:48:40,903 DEBUG http-8080-Processor25 
org.apache.commons.javaflow.bytecode.Stack - push object
org.apache.cocoon.components.flow.java.Invoker@20805333/org.apache.catalina.loader.WebappClassLoader@11697208
[org.apache.cocoon.components.flow.java.Invoker@13d76d5] 
i[1],l[0],d[0],f[0],o[2],r[2]
2008-09-18 22:48:40,903 DEBUG http-8080-Processor25 
org.apache.commons.javaflow.bytecode.Stack - pop reference
org.apache.cocoon.components.flow.java.Invoker@20805333/org.apache.catalina.loader.WebappClassLoader@11697208
[org.apache.cocoon.components.flow.java.Invoker@13d76d5] 
i[2],l[0],d[0],f[0],o[4],r[1]
2008-09-18 22:48:43,958 DEBUG http-8080-Processor24 
org.apache.commons.javaflow.bytecode.StackRecorder - Restoring state
of 
org.apache.cocoon.components.flow.java.Invoker@20805333/org.apache.catalina.loader.WebappClassLoader@11697208
2008-09-18 22:48:43,959 DEBUG http-8080-Processor24 
org.apache.commons.javaflow.bytecode.Stack - pop object
org.apache.cocoon.components.flow.java.Invoker@20805333/org.apache.catalina.loader.WebappClassLoader@11697208
[org.apache.cocoon.components.flow.java.Invoker@13d76d5]
        at org.apache.cocoon.components.flow.java.Invoker.run(Invoker.java)
        at org.apache.cocoon.components.flow.java.Invoker.run(Invoker.java)
        at org.apache.cocoon.components.flow.java.Invoker.run(Invoker.java)

I think there is only one instance of the Invoker.class mentioned in the log 
file. Do you have any suggestion for points to check?

Kind regards

 Rainer




Am Donnerstag 18 September 2008 schrieb Torsten Curdt:
> > org.apache.commons.javaflow.bytecode.StackRecorder -
> > org.cocoontest.javaflow.CFormsFlow
> > java.lang.ClassCastException: org.cocoontest.javaflow.CFormsFlow
> >        at
> > org.apache.cocoon.components.flow.java.Invoker.run(Invoker.java)
>
> This is the interesting bit. There is somehow a classloader screwup.
>
> CFormsFlow is on the stack and there are different versions of it.
> Somehow it's using the wrong one.
>
> But I can't say much more from here. HTH anyway.
>
> cheers
> --
> Torsten



Mime
View raw message