Hi

I have some more information:
It looks like the CPE is stuck trying to retrieve a CAS from the CAS pool that 
is apparently empty at some point.
My feeling is that when you have an ResourceProcessException thrown in the last 
component of the CPE, the code that is supposed to release the CAS from the CAS 
pool is not properly called...

The scenario that seems to be buggy is:
A CPE with a remote processor (Vinci service) followed by the Cas consumer that 
throws the exception

When I replace the remote processor by an integrated one it works!

I'm quite lost in space...

Olivier

> -----Message d'origine-----
> De : Thilo Goetz [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 2 juillet 2008 16:38
> À : [email protected]
> Objet : Re: collectionProcessComplete() not called
> 
> Olivier Terrier wrote:
> > Hi Thilo
> > 
> > What do you mean by an "error handler" ?
> > Is it something different from the StatusCallbackListener ?
> 
> Right, that's the one, and you're already using that.  Is the 
> aborted() method being called?  I'm just guessing here, not 
> really a CPM expert.
> 
> --Thilo
> 
> > 
> > O.
> > 
> >> -----Message d'origine-----
> >> De : Thilo Goetz [mailto:[EMAIL PROTECTED] Envoyé : mercredi 
> 2 juillet 
> >> 2008 13:56 À : [email protected] Objet : Re: 
> >> collectionProcessComplete() not called
> >>
> >> Off the top of my head, I seem to remember that you need 
> to implement 
> >> and register an error handler that then gets called.  hth.
> >>
> >> Olivier Terrier wrote:
> >>>  
> >>> Hi all,
> >>>
> >>> I have a CPE with a cas consumer that throws a 
> >>> ResourceProcessException in its process() method.
> >>> Surprisingly the collectionProcessComplete() method of my 
> >>> StatusCallbackListener is never called at the end of the 
> collection 
> >>> processing.
> >>>
> >>> Anybody has already experimented such a behaviour? Any hint?
> >>>
> >>> It is quite easy to reproduce with a dummy consumer with this 
> >>> implementation
> >>>  
> >>> public void processCas(CAS aCAS) throws ResourceProcessException {
> >>>   throw new ResourceProcessException(new
> >> FileNotFoundException("file
> >>> not found")); }
> >>>
> >>> Thanks
> >>>
> >>> Olivier
> 

Reply via email to