You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Miguel Alvarez <mi...@gmail.com> on 2016/01/27 08:03:51 UTC

Ruta: destroy method not invoked

Hi,

 

When executing RUTA scripts from within Eclipse, and these scripts invoke
external UIMA engines via the EXEC action, it doesn't seem like the destroy
method is ever invoked for these external engines. The initialize method is
invoked once at the beginning, then the documents in the input folder are
processed, but the destroy method nor the collectionProcessComplete method
are ever executed after the documents are processed. Is this the expected
behaviour? Is there a configuration setting to make sure any of these
methods is invoked when executing this scripts from Eclipse?

 

When we execute these UIMA engines from UIMA-AS or a CPE the destroy method
is always invoked at the end.

 

Thanks in advance.

 

Cheers,

Miguel


Re: Ruta: destroy method not invoked

Posted by Miguel Alvarez <mi...@gmail.com>.
Great! Thanks Peter!
On Jan 27, 2016 00:30, "Peter Klügl" <pe...@averbis.com> wrote:

> Hi,
>
> this is just missing. I will create an issue and fix it.
>
> Thanks for pointing it out.
>
> Best,
>
> Peter
>
> Am 27.01.2016 um 08:03 schrieb Miguel Alvarez:
> > Hi,
> >
> >
> >
> > When executing RUTA scripts from within Eclipse, and these scripts invoke
> > external UIMA engines via the EXEC action, it doesn't seem like the
> destroy
> > method is ever invoked for these external engines. The initialize method
> is
> > invoked once at the beginning, then the documents in the input folder are
> > processed, but the destroy method nor the collectionProcessComplete
> method
> > are ever executed after the documents are processed. Is this the expected
> > behaviour? Is there a configuration setting to make sure any of these
> > methods is invoked when executing this scripts from Eclipse?
> >
> >
> >
> > When we execute these UIMA engines from UIMA-AS or a CPE the destroy
> method
> > is always invoked at the end.
> >
> >
> >
> > Thanks in advance.
> >
> >
> >
> > Cheers,
> >
> > Miguel
> >
> >
>
>

Re: Ruta: destroy method not invoked

Posted by Peter Klügl <pe...@averbis.com>.
Hi,

this is just missing. I will create an issue and fix it.

Thanks for pointing it out.

Best,

Peter

Am 27.01.2016 um 08:03 schrieb Miguel Alvarez:
> Hi,
>
>  
>
> When executing RUTA scripts from within Eclipse, and these scripts invoke
> external UIMA engines via the EXEC action, it doesn't seem like the destroy
> method is ever invoked for these external engines. The initialize method is
> invoked once at the beginning, then the documents in the input folder are
> processed, but the destroy method nor the collectionProcessComplete method
> are ever executed after the documents are processed. Is this the expected
> behaviour? Is there a configuration setting to make sure any of these
> methods is invoked when executing this scripts from Eclipse?
>
>  
>
> When we execute these UIMA engines from UIMA-AS or a CPE the destroy method
> is always invoked at the end.
>
>  
>
> Thanks in advance.
>
>  
>
> Cheers,
>
> Miguel
>
>