You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Christian Fonden <ch...@die-rooter.de> on 2009/04/27 13:26:48 UTC
Extension Activity Log Question
Hello ODE Team,
just one simply question:
Everytime I call the ExtensionContext::complete() method - believing what is
written in the header comment of that method - to signal the scheduler that
my extension activity has completed successfully, the following row is
appearing in the ODE log:
WARN - Activity has already been completed.
I am not calling this method twice, so i find it very irritating.
Nothing serious, but perhaps some one can put a bit of clarity into this.
Greets
Chris
Re: Extension Activity Log Question
Posted by Christian Fonden <ch...@die-rooter.de>.
Hi Tammo,
yes, I am using the SyncExtension, that was the solution! Tanks.
----- Original Message -----
From: "Tammo van Lessen" <tv...@gmail.com>
To: <us...@ode.apache.org>
Cc: "Matthias Wieland" <ma...@iaas.uni-stuttgart.de>
Sent: Monday, April 27, 2009 1:35 PM
Subject: Re: Extension Activity Log Question
> Hi Chris,
>
> are you using AbstractSyncExtensionOperation or
> AbstractAsyncExtensionOperation. The synchronous one takes care of
> completing the activity automatically once the run method is finished.
> The ExtensionContext::complete() is only necessary if you're following
> the asynchronous model.
>
> I hope that answers your question.
>
> Best,
> Tammo
>
> Christian Fonden wrote:
>> Hello ODE Team,
>>
>> just one simply question:
>> Everytime I call the ExtensionContext::complete() method - believing
>> what is written in the header comment of that method - to signal the
>> scheduler that my extension activity has completed successfully, the
>> following row is appearing in the ODE log:
>> WARN - Activity has already been completed.
>>
>> I am not calling this method twice, so i find it very irritating.
>> Nothing serious, but perhaps some one can put a bit of clarity into this.
>>
>>
>> Greets
>> Chris
>
>
> --
> Tammo van Lessen - http://www.taval.de
Re: Extension Activity Log Question
Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Chris,
are you using AbstractSyncExtensionOperation or
AbstractAsyncExtensionOperation. The synchronous one takes care of
completing the activity automatically once the run method is finished.
The ExtensionContext::complete() is only necessary if you're following
the asynchronous model.
I hope that answers your question.
Best,
Tammo
Christian Fonden wrote:
> Hello ODE Team,
>
> just one simply question:
> Everytime I call the ExtensionContext::complete() method - believing
> what is written in the header comment of that method - to signal the
> scheduler that my extension activity has completed successfully, the
> following row is appearing in the ODE log:
> WARN - Activity has already been completed.
>
> I am not calling this method twice, so i find it very irritating.
> Nothing serious, but perhaps some one can put a bit of clarity into this.
>
>
> Greets
> Chris
--
Tammo van Lessen - http://www.taval.de