cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: Continuation.suspend(); does not stop
Date Thu, 04 Oct 2007 18:19:02 GMT
Hey, Mike

I haven't used this for a while. In theory you would not have to care  
about the invoker.
Are you just trying to get the examples working? ...and they don't?

cheers
--
Torsten

On 02.10.2007, at 09:33, Michel Erard wrote:

> thanks for your hint Torsten,
>
> I've now added:
>
>     <map:classloader factory- 
> role="org.apache.cocoon.classloader.ClassLoaderFactory/reloading">
>       <class-dir src="WEB-INF/classes">
>         <store  
> class="org.apache.cocoon.components.flow.java.JavaflowResourceStore" / 
> >
>       </class-dir>
>       <include-classes  
> pattern="org.apache.cocoon.forms.flow.java.FormInstance" />
>       <include-classes  
> pattern="org.apache.cocoon.components.flow.java.**" />
>       <include-classes  
> pattern="org.apache.cocoon.components.flow.java.AbstractContinuable" / 
> >
>     </map:classloader>
>
> to my Sitemap.
>
> Now, I've the error:
>
> java.lang.IllegalStateException: stack corruption. Is class  
> org.apache.cocoon.components.flow.java.Invoker instrumented for  
> javaflow?
> 	at org.apache.commons.javaflow.bytecode.StackRecorder.execute 
> (StackRecorder.java:102)
> 	at org.apache.commons.javaflow.Continuation.continueWith 
> (Continuation.java:170)
> 	at org.apache.commons.javaflow.Continuation.startWith 
> (Continuation.java:129)
> 	at  
> org.apache.cocoon.components.flow.java.JavaInterpreter.callFunction 
> (JavaInterpreter.java:152)
> 	at  
> org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.in 
> voke(CallFunctionNode.java:109)
>
>
> do I have to add this Invoker? Why?
>
> Thanks,
>
> Mike
>
> ---------- Original Message ----------------------------------
> From: Torsten Curdt <tcurdt@apache.org>
> Reply-To: users@cocoon.apache.org
> Date:  Sun, 30 Sep 2007 04:22:57 +0200
>
>> Hey Mike
>>
>> You need to make sure the classes get rewritten, too. I suggest you
>> have a look into the COB-INF/sitemap.xmap of the samples.
>>
>> http://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-javaflow/
>> cocoon-javaflow-sample/src/main/resources/COB-INF/sitemap.xmap
>>
>> cheers
>> --
>> Torsten
>>
>> On 21.09.2007, at 14:28, cocoon.erard wrote:
>>
>>> ok, I'm starting the application with jetty out of maven.
>>>
>>> The code is:
>>>
>>> public void showPage() {
>>>
>>>     FormInstance form = new FormInstance("pages/forms/
>>> search_model.xml");
>>>     SearchTO to = new SearchTO();
>>>
>>>     form.createBinding("pages/bindings/searchBinding.xml");
>>>     form.load(to);
>>>     form.show("Search.form");
>>>
>>>
>>>     //more code processed without waiting on the form
>>>     ...
>>>
>>> }
>>>
>>> in the sitemap:
>>>
>>> <map:flow language="java">
>>>         <map:script src="ch.smitch.flow.MainFlow"/>
>>>
>>> </map:flow>
>>> ...
>>> <map:act type="parameter-loader" />
>>> <map:call function="showPage"></map:call>
>>> ...
>>>
>>> ---------- Original Message ----------------------------------
>>> From: Torsten Curdt <tcurdt@apache.org>
>>> Reply-To: users@cocoon.apache.org
>>> Date:  Fri, 21 Sep 2007 14:14:17 +0200
>>>
>>>> Sounds like the code instrumentation is not happening. For further
>>>> help you will need to provide some more details.
>>>>
>>>> cheers
>>>> --
>>>> Torsten
>>>>
>>>> On 21.09.2007, at 14:10, cocoon.erard wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm using cocoon 2.2 and replaced all my javascript flow with
>>>>> javaflow. Now I've the problem, that the code does not stop in the
>>>>> sendPageAndWait for Forms.
>>>>>
>>>>> Any hints?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Mike
>>>>>
>>>>>
>>>>> ____________________________________________
>>>>> QuickLine WebMail - http://www.QuickLine.com
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> -
>>>>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>>>> For additional commands, e-mail: users-help@cocoon.apache.org
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>>> For additional commands, e-mail: users-help@cocoon.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> ____________________________________________
>>> QuickLine WebMail - http://www.QuickLine.com
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>> For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>
>
>
> ____________________________________________
> QuickLine WebMail - http://www.QuickLine.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message