Re: What should happen with the original input cas and child cas when a excption occurs
Exactly, my application it hang due to that the cas pool is depleted, and in the uima-as log i see exceptions in the casmultiplier, but i was not sure of wich should be the behaivior. I will check my application and let know if the error is not in my source. thank you 2016-11-22 16:54 GMT-05:00, Jaroslaw Cwiklik: > Nelson, in a scenario where there is a CM failure all child CASes are auto > released back to > a pool and an input CAS is returned with an exception. Are you observing a > hang due to > depleted cas pool on subsequent input CAS? > > Jerry > > On Tue, Nov 22, 2016 at 4:15 PM, nelson rivera > wrote: > >> I have a service aggregate deployed in uima-as, the first annotator in >> the aggregate is a casmultipler y then more primitive annotator in the >> flow. When in the middle of processing (Have been generated various >> child cas from the casmultipler and are being processed in other >> anotators in the flow) occurs an exception in casmultipler's method >> next (Ex NullPointerException), what should happen with the original >> input cas and child cas that were being processed? >> >> In practice when this happens, and i get in the listener associated >> method entityComplete, a status of exception and a reference to the >> original input cas, but, what happen with child cas that were being >> processed?. Are release to the casmultipler's caspool automatically? >> >> I would appreciate the explanation >> >
Re: What should happen with the original input cas and child cas when a excption occurs
Nelson, in a scenario where there is a CM failure all child CASes are auto released back to a pool and an input CAS is returned with an exception. Are you observing a hang due to depleted cas pool on subsequent input CAS? Jerry On Tue, Nov 22, 2016 at 4:15 PM, nelson riverawrote: > I have a service aggregate deployed in uima-as, the first annotator in > the aggregate is a casmultipler y then more primitive annotator in the > flow. When in the middle of processing (Have been generated various > child cas from the casmultipler and are being processed in other > anotators in the flow) occurs an exception in casmultipler's method > next (Ex NullPointerException), what should happen with the original > input cas and child cas that were being processed? > > In practice when this happens, and i get in the listener associated > method entityComplete, a status of exception and a reference to the > original input cas, but, what happen with child cas that were being > processed?. Are release to the casmultipler's caspool automatically? > > I would appreciate the explanation >
What should happen with the original input cas and child cas when a excption occurs
I have a service aggregate deployed in uima-as, the first annotator in the aggregate is a casmultipler y then more primitive annotator in the flow. When in the middle of processing (Have been generated various child cas from the casmultipler and are being processed in other anotators in the flow) occurs an exception in casmultipler's method next (Ex NullPointerException), what should happen with the original input cas and child cas that were being processed? In practice when this happens, and i get in the listener associated method entityComplete, a status of exception and a reference to the original input cas, but, what happen with child cas that were being processed?. Are release to the casmultipler's caspool automatically? I would appreciate the explanation