Not sure I fully understand the scenario. Quiesce and stop waits until all CASes are processed and only then it proceeds to stop the service. Perhaps the scenario you are describing exposes a bug in the UIMA AS. Can you describe the scenario in more detail? Are you sending CASes to the service while trying to quit the service? Is the Cas Multiplier producing CASes while the service is being stopped?
JC On Tue, Mar 1, 2011 at 11:39 AM, Jörn Kottmann <[email protected]> wrote: > On 3/1/11 5:29 PM, Jaroslaw Cwiklik wrote: > >> Well, I would like to wait a little while longer to give others a chance >> to >> comment on RC5. Go ahead with the PID modification. As I recall this is >> about formatting only. Seems like a tough one :) >> > > I might found one more problem related to this issue with RC5. > > I noticed that a simple kill does not work when an AE is constantly > throwing a RuntimeException > for many of its processed CASes. As far as I understand the kill triggers > the shutdown hook which > does the quiesce. So even when there are exceptions from the process method > it should be > possible to quiesce the service. > > I will investigate that tomorrow with my now deployed snapshot version. > > Jörn >
