If possible can you download AMQ 5.14.0 (latest) and use that broker instead of the one the uima-as 2.8.1 ships with? There was a nasty bug in AMQ related to keep-alive protocol not working. I am not sure if this is the cause but worth trying.
You can download AMQ from here: http://activemq.apache.org/download.html -Jerry On Wed, Sep 21, 2016 at 4:52 PM, Jaroslaw Cwiklik <[email protected]> wrote: > Not sure what is causing this. I need to stage this with UIMA-AS 2.8.1. I > am currently testing with trunk (latest) code. The most current code does > have newer broker. > > I've started a broker and a sample service: > > $UIMA_HOME/bin/deployAsyncService.sh $UIMA_HOME/examples/deploy/as/ > Deploy_MeetingDetectorTAE.xml > > After the service started, I stopped the broker, waited a bit, and > restarted the broker. > > With UIMA-AS from trunk I see the following in the log: > > 04:21:35.496 - 1: org.apache.uima.adapter.jms.activemq. > SpringContainerDeployer.doStartListeners: INFO: Controller: Meeting > Detector TAE Trying to Start Listener on Endpoint: > queue://MeetingDetectorTaeQueue > Selector: Command=2000 OR Command=2002 Broker: tcp://localhost:61616 > 04:21:35.873 - 1: org.apache.uima.adapter.jms.activemq. > SpringContainerDeployer.doStartListeners: INFO: Controller: Meeting > Detector TAE Trying to Start Listener on Endpoint: > queue://MeetingDetectorTaeQueue > Selector: Command=2001 Broker: tcp://localhost:61616 > 04:21:45.621 - 22: org.apache.uima.adapter.jms.activemq. > UimaDefaultMessageListenerContainer.onException: WARNING: Service: > Meeting Detector TAE Runtime Exception > 04:21:45.622 - 22: org.apache.uima.adapter.jms.activemq. > UimaDefaultMessageListenerContainer.onException: WARNING: Jms Listener > Failed. Endpoint: MeetingDetectorTaeQueue Managed By: tcp://localhost:61616 > Reason: javax.jms.JMSException: java.io.EOFException > 04:21:45.622 - 22: org.apache.uima.adapter.jms.activemq. > UimaDefaultMessageListenerContainer.handleListenerSetupFailure: WARNING: > Uima AS Service:Meeting Detector TAE Listener Unable To Connect To Broker: > tcp://localhost:61616 Retrying Until Successful ... > 04:21:45.638 - 27: org.apache.uima.adapter.jms.activemq. > UimaDefaultMessageListenerContainer.onException: WARNING: Service: > Meeting Detector TAE Runtime Exception > 04:21:45.639 - 27: org.apache.uima.adapter.jms.activemq. > UimaDefaultMessageListenerContainer.onException: WARNING: Jms Listener > Failed. Endpoint: MeetingDetectorTaeQueue Managed By: tcp://localhost:61616 > Reason: javax.jms.JMSException: java.io.EOFException > 04:21:45.639 - 27: org.apache.uima.adapter.jms.activemq. > UimaDefaultMessageListenerContainer.handleListenerSetupFailure: WARNING: > Uima AS Service:Meeting Detector TAE Listener Unable To Connect To Broker: > tcp://localhost:61616 Retrying Until Successful ... > 04:22:07.439 - 22: org.apache.uima.adapter.jms.activemq. > UimaDefaultMessageListenerContainer.handleListenerSetupFailure: WARNING: > Uima AS Service:Meeting Detector TAE Listener Recovered Connection to > Broker: tcp://localhost:61616 - Ready to Process Again > 04:22:07.454 - 27: org.apache.uima.adapter.jms.activemq. > UimaDefaultMessageListenerContainer.handleListenerSetupFailure: WARNING: > Uima AS Service:Meeting Detector TAE Listener Recovered Connection to > Broker: tcp://localhost:61616 - Ready to Process Again > > > I will repeat the above test with v 2.8.1 > > -Jerry > > > On Wed, Sep 21, 2016 at 4:34 PM, nelson rivera <[email protected]> > wrote: > >> I'm using UIMA-AS 2.8.1, any idea that what happen? >> >> 2016-09-21 16:09 GMT-04:00, Jaroslaw Cwiklik <[email protected]>: >> > Which version of UIMA-AS are you using? >> > >> > -Jerry >> > >> > On Wed, Sep 21, 2016 at 3:42 PM, nelson rivera < >> [email protected]> >> > wrote: >> > >> >> When start ActiveMQ and deploys an annotator as service, processing is >> >> executed correctly, but when the broker is stopped and subsequently >> >> restarted. UIMA-AS log show the lines below and after this the api >> >> client uima-as is not notified in the listener when a cas is >> >> processed, any more. >> >> can help me?: >> >> >> >> 02:08:25.570 - 14: >> >> org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerCont >> >> ainer.onException: >> >> ADVERTENCIA: Service: Aggregate Cluster Analyzer Runtime Exception >> >> 02:08:25.570 - 14: >> >> org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerCont >> >> ainer.onException: >> >> ADVERTENCIA: Jms Listener Failed. Endpoint: XClusterAnalyzerAggregate >> >> Managed By: tcp://localhost:61616 Reason: javax.jms.JMSException: >> >> java.io.EOFException >> >> 02:08:25.570 - 14: >> >> org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListe >> nerContainer. >> >> handleListenerSetupFailure: >> >> ADVERTENCIA: Uima AS Service:Aggregate Cluster Analyzer Listener >> >> Unable To Connect To Broker: tcp://localhost:61616 Retrying ... >> >> QueueFailure: ADVERTENCIA: Jms Listener Failed. Endpoint: >> >> temp-queue://ID:localhost-H81-M1-33610-1474481197190-1:1:1 Managed By: >> >> tcp://localhost:61616 Reason: javax.jms.JMSException: >> >> java.io.EOFException >> >> 02:09:02.222 - 14: >> >> org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListe >> nerContainer. >> >> handleListenerSetupFailure: >> >> ADVERTENCIA: Uima AS Service:Aggregate Cluster Analyzer Listener >> >> Established Connection to Broker: tcp://localhost:61616 >> >> >> >> 02:09:02.317 - 14: >> >> org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerCont >> >> ainer.onException: >> >> ADVERTENCIA: Service: Aggregate Cluster Analyzer Runtime Exception >> >> 02:09:02.317 - 14: >> >> org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerCont >> >> ainer.onException: >> >> ADVERTENCIA: Jms Listener Failed. Endpoint: XClusterAnalyzerAggregate >> >> Managed By: tcp://localhost:61616 Reason: >> >> org.apache.activemq.ConnectionClosedException: The connection is >> >> already closed02:09:02.356 - 15: >> >> org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerCont >> >> ainer.onException: >> >> ADVERTENCIA: Service: Aggregate Cluster Analyzer Runtime Exception >> >> 02:09:02.357 - 15: >> >> org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerCont >> >> ainer.onException: >> >> ADVERTENCIA: Jms Listener Failed. Endpoint: XClusterAnalyzerAggregate >> >> Managed By: tcp://localhost:61616 Reason: >> >> javax.jms.IllegalStateException: The Consumer is closed. >> >> >> > >> > >
