Re: TERMINATE Action with org.xml.sax.SAXParseException in deserializeCasFromXmi function
Hi, looks like a bug. Will take a look on Monday. Thanks Jerry On Fri, Nov 18, 2016 at 11:12 AM, nelson riverawrote: > I have a service aggregate deploys in uima-as. When i send a input cas > with a text that contains apparently invalid character, occurs an > error deserializing the cas and the framework stops the aggregate > service > > this is the complete stacktrace: > > 09:54:38.24 - 1: > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer. > doStartListeners: > INFO: Controller: XTokenizerAggregate Trying to Start Listener on > Endpoint: queue://XTokenizerAggregate Selector: Command=2000 OR > Command=2002 Broker: tcp://localhost:61616 > 09:54:38.193 - 1: > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer. > doStartListeners: > INFO: Controller: XTokenizerAggregate Trying to Start Listener on > Endpoint: queue://XTokenizerAggregate Selector: Command=2001 Broker: > tcp://localhost:61616 > 09:55:11.411 - 16: > org.apache.uima.aae.handler.input.ProcessRequestHandler_impl. > handleProcessRequestFromRemoteClient: > WARNING: Service: XTokenizerAggregate Runtime Exception > 09:55:11.411 - 16: > org.apache.uima.aae.handler.input.ProcessRequestHandler_impl. > handleProcessRequestFromRemoteClient: > WARNING: > org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 585; > Character reference "
TERMINATE Action with org.xml.sax.SAXParseException in deserializeCasFromXmi function
I have a service aggregate deploys in uima-as. When i send a input cas with a text that contains apparently invalid character, occurs an error deserializing the cas and the framework stops the aggregate service this is the complete stacktrace: 09:54:38.24 - 1: org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.doStartListeners: INFO: Controller: XTokenizerAggregate Trying to Start Listener on Endpoint: queue://XTokenizerAggregate Selector: Command=2000 OR Command=2002 Broker: tcp://localhost:61616 09:54:38.193 - 1: org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.doStartListeners: INFO: Controller: XTokenizerAggregate Trying to Start Listener on Endpoint: queue://XTokenizerAggregate Selector: Command=2001 Broker: tcp://localhost:61616 09:55:11.411 - 16: org.apache.uima.aae.handler.input.ProcessRequestHandler_impl.handleProcessRequestFromRemoteClient: WARNING: Service: XTokenizerAggregate Runtime Exception 09:55:11.411 - 16: org.apache.uima.aae.handler.input.ProcessRequestHandler_impl.handleProcessRequestFromRemoteClient: WARNING: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 585; Character reference "
Re: Free instance of agreggate with cas multiplier in MultiprocessingAnalysisEngine
yes I will do that with pleasure of cooperate with this great project 2016-11-09 16:18 GMT-05:00, Eddie Epstein: > Sounds like a bug in MultiprocessingAnalysisEngine_impl. Any chance you > could simplify your scenario and attach it to a Jira issue against UIMA? > > On Wed, Nov 9, 2016 at 1:24 PM, nelson rivera > wrote: > >> Not, for only one instance, the behavior is correct, and generate all >> child cas required. >> >> 2016-11-09 9:40 GMT-05:00, Eddie Epstein : >> > Is behavior the same for single-threaded AnalysisEngine instantiation? >> > >> > On Tue, Nov 8, 2016 at 10:00 AM, nelson rivera >> > > > >> > wrote: >> > >> >> I have a aggregate analysis engine that contains a casmultiplier >> >> annotator. I instantiate this aggregate with the interface >> >> UIMAFramework.produceAnalysisEngine(specifier, 1, 0) for multithreaded >> >> processing. The casmultiplier generate more than one cas for each >> >> input CAS. The issue is that after first cas child, that i get with >> >> >> >> JCasIterator casIterator = >> >> analysisEngine.processAndOutputNewCASes(jcas); >> >> while (casIterator.hasNext()) { >> >>JCas outCas = casIterator.next(); >> >>... >> >> outCas.release(); >> >> } >> >> >> >> after this first cas child, the MultiprocessingAnalysisEngine_impl >> >> assumes that the instance of >> >> AggregateAnalysisEngine that processes the request has ended, Y >> >> entonces esta instancia es libre para procesar otra solicitud de otro >> >> hilo, and it is not true, because missing child cas, producing >> >> concurrency errors. >> >> >> >> What is the condition of a instance of MultiprocessingAnalysisEngine >> >> that contains cas multiplier that generate many cas child for each >> >> input Cas, for determine that it finish and is free? >> >> >> > >> >