Re: [jira] [Commented] (UIMA-5562) UIMA AS fails with HttpConnector
I plan to include the new AMQ in the next UIMA-AS release. Have not reviewed impact of that change yet. Jerry On Mon, Oct 16, 2017 at 10:04 AM, John (JIRA)wrote: > > [ https://issues.apache.org/jira/browse/UIMA-5562?page= > com.atlassian.jira.plugin.system.issuetabpanels:comment- > tabpanel=16205952#comment-16205952 ] > > John commented on UIMA-5562: > > > [~cwiklik], as AMQ 5.15.1 is released now and UIMA AS contains an adapted > version of AMQ, are there any plans for a bugfix release of UIMA AS or is > waiting for UIMA AS 2.10 the way to go? > > > UIMA AS fails with HttpConnector > > > > > > Key: UIMA-5562 > > URL: https://issues.apache.org/jira/browse/UIMA-5562 > > Project: UIMA > > Issue Type: Bug > > Components: Async Scaleout > >Affects Versions: 2.9.0AS > > Environment: Windows 7 and Linux > >Reporter: John > >Priority: Blocker > > Attachments: myTestScenario.bat > > > > > > Hi, > > if I try to use UIMA AS with ActiveMQ http-connector, which is provided > in default configuration, I do get a timeout. > > Steps to reproduce: > > # Unzip http://www-eu.apache.org/dist/uima/uima-as-2.9.0/uima-as-2. > 9.0-bin.zip > > # Set InputDirectory in {{apache-uima-2.9.0/examples/ > descriptors/collection_reader/FileSystemCollectionReader.xml}} to correct > absolute path > > # Copy attached Batch-File into directory > > # Start it, wait and press 3 times Enter > > If I set BROKER_URL to tcp://localhost:61616 in the Batch-Script, the > documents are processed successfully. > > With value http://localhost:8080 I get the following exception. > > {code} > > Error on getMeta call to remote service: > > org.apache.uima.aae.error.UimaASMetaRequestTimeout: UIMA AS Client > Timed Out Waiting For GetMeta Reply From a Service On > Queue:MeetingDetectorTaeQueue > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout( > BaseUIMAAsynchronousEngineCommon_impl.java:2350) > > at org.apache.uima.adapter.jms.client.ClientServiceDelegate. > handleError(ClientServiceDelegate.java:192) > > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java: > 839) > > at java.util.TimerThread.mainLoop(Timer.java:555) > > at java.util.TimerThread.run(Timer.java:505) > > Terminating Client... > > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop() > - Stop > > ping UIMA-AS Client > > javax.jms.JMSException: A consumer is consuming from the temporary > destination > > at org.apache.activemq.ActiveMQConnection.deleteTempDestination( > ActiveMQConnection.java:2061) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_ > impl.java:324) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_ > impl.java:345) > > at org.apache.uima.examples.as.RunRemoteAsyncAE$ > StatusCallbackListenerImpl.stop(RunRemoteAsyncAE.java:367) > > at org.apache.uima.examples.as.RunRemoteAsyncAE$ > StatusCallbackListenerImpl.initializationComplete( > RunRemoteAsyncAE.java:360) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyListeners( > BaseUIMAAsynchronousEngineCommon_impl.java:1220) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout( > BaseUIMAAsynchronousEngineCommon_impl.java:2351) > > at org.apache.uima.adapter.jms.client.ClientServiceDelegate. > handleError(ClientServiceDelegate.java:192) > > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java: > 839) > > at java.util.TimerThread.mainLoop(Timer.java:555) > > at java.util.TimerThread.run(Timer.java:505) > > {code} > > > > -- > This message was sent by Atlassian JIRA > (v6.4.14#64029) >
[jira] [Commented] (UIMA-5562) UIMA AS fails with HttpConnector
[ https://issues.apache.org/jira/browse/UIMA-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16205952#comment-16205952 ] John commented on UIMA-5562: [~cwiklik], as AMQ 5.15.1 is released now and UIMA AS contains an adapted version of AMQ, are there any plans for a bugfix release of UIMA AS or is waiting for UIMA AS 2.10 the way to go? > UIMA AS fails with HttpConnector > > > Key: UIMA-5562 > URL: https://issues.apache.org/jira/browse/UIMA-5562 > Project: UIMA > Issue Type: Bug > Components: Async Scaleout >Affects Versions: 2.9.0AS > Environment: Windows 7 and Linux >Reporter: John >Priority: Blocker > Attachments: myTestScenario.bat > > > Hi, > if I try to use UIMA AS with ActiveMQ http-connector, which is provided in > default configuration, I do get a timeout. > Steps to reproduce: > # Unzip http://www-eu.apache.org/dist/uima/uima-as-2.9.0/uima-as-2.9.0-bin.zip > # Set InputDirectory in > {{apache-uima-2.9.0/examples/descriptors/collection_reader/FileSystemCollectionReader.xml}} > to correct absolute path > # Copy attached Batch-File into directory > # Start it, wait and press 3 times Enter > If I set BROKER_URL to tcp://localhost:61616 in the Batch-Script, the > documents are processed successfully. > With value http://localhost:8080 I get the following exception. > {code} > Error on getMeta call to remote service: > org.apache.uima.aae.error.UimaASMetaRequestTimeout: UIMA AS Client Timed Out > Waiting For GetMeta Reply From a Service On Queue:MeetingDetectorTaeQueue > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2350) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > Terminating Client... > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop() - > Stop > ping UIMA-AS Client > javax.jms.JMSException: A consumer is consuming from the temporary destination > at > org.apache.activemq.ActiveMQConnection.deleteTempDestination(ActiveMQConnection.java:2061) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_impl.java:324) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_impl.java:345) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.stop(RunRemoteAsyncAE.java:367) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.initializationComplete(RunRemoteAsyncAE.java:360) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyListeners(BaseUIMAAsynchronousEngineCommon_impl.java:1220) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2351) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (UIMA-5562) UIMA AS fails with HttpConnector
[ https://issues.apache.org/jira/browse/UIMA-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16200947#comment-16200947 ] Jerry Cwiklik commented on UIMA-5562: - John, I was able to reproduce the problem. The workaround for now is prefetch=1. Since this is an AMQ problem the fix is to upgrade UIMA-AS to AMQ 5.15.1 or newer. > UIMA AS fails with HttpConnector > > > Key: UIMA-5562 > URL: https://issues.apache.org/jira/browse/UIMA-5562 > Project: UIMA > Issue Type: Bug > Components: Async Scaleout >Affects Versions: 2.9.0AS > Environment: Windows 7 and Linux >Reporter: John >Priority: Blocker > Attachments: myTestScenario.bat > > > Hi, > if I try to use UIMA AS with ActiveMQ http-connector, which is provided in > default configuration, I do get a timeout. > Steps to reproduce: > # Unzip http://www-eu.apache.org/dist/uima/uima-as-2.9.0/uima-as-2.9.0-bin.zip > # Set InputDirectory in > {{apache-uima-2.9.0/examples/descriptors/collection_reader/FileSystemCollectionReader.xml}} > to correct absolute path > # Copy attached Batch-File into directory > # Start it, wait and press 3 times Enter > If I set BROKER_URL to tcp://localhost:61616 in the Batch-Script, the > documents are processed successfully. > With value http://localhost:8080 I get the following exception. > {code} > Error on getMeta call to remote service: > org.apache.uima.aae.error.UimaASMetaRequestTimeout: UIMA AS Client Timed Out > Waiting For GetMeta Reply From a Service On Queue:MeetingDetectorTaeQueue > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2350) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > Terminating Client... > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop() - > Stop > ping UIMA-AS Client > javax.jms.JMSException: A consumer is consuming from the temporary destination > at > org.apache.activemq.ActiveMQConnection.deleteTempDestination(ActiveMQConnection.java:2061) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_impl.java:324) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_impl.java:345) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.stop(RunRemoteAsyncAE.java:367) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.initializationComplete(RunRemoteAsyncAE.java:360) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyListeners(BaseUIMAAsynchronousEngineCommon_impl.java:1220) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2351) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
Re: [jira] [Commented] (UIMA-5562) UIMA AS fails with HttpConnector
John, can you provide a link to the AMQ JIRA? I am still not following how this is their problem. If this is in fact AMQ problem, than UIMA JIRA should be closed. Thanks Jerry On Tue, Sep 26, 2017 at 5:37 AM, John (JIRA)wrote: > > [ https://issues.apache.org/jira/browse/UIMA-5562?page= > com.atlassian.jira.plugin.system.issuetabpanels:comment- > tabpanel=16180539#comment-16180539 ] > > John commented on UIMA-5562: > > > Problem is caused by this bug in AMQ. As this is fixed in master it will > be part of AMQ 5.16. > > > UIMA AS fails with HttpConnector > > > > > > Key: UIMA-5562 > > URL: https://issues.apache.org/jira/browse/UIMA-5562 > > Project: UIMA > > Issue Type: Bug > > Components: Async Scaleout > >Affects Versions: 2.9.0AS > > Environment: Windows 7 and Linux > >Reporter: John > >Priority: Blocker > > Attachments: myTestScenario.bat > > > > > > Hi, > > if I try to use UIMA AS with ActiveMQ http-connector, which is provided > in default configuration, I do get a timeout. > > Steps to reproduce: > > # Unzip http://www-eu.apache.org/dist/uima/uima-as-2.9.0/uima-as-2. > 9.0-bin.zip > > # Set InputDirectory in {{apache-uima-2.9.0/examples/ > descriptors/collection_reader/FileSystemCollectionReader.xml}} to correct > absolute path > > # Copy attached Batch-File into directory > > # Start it, wait and press 3 times Enter > > If I set BROKER_URL to tcp://localhost:61616 in the Batch-Script, the > documents are processed successfully. > > With value http://localhost:8080 I get the following exception. > > {code} > > Error on getMeta call to remote service: > > org.apache.uima.aae.error.UimaASMetaRequestTimeout: UIMA AS Client > Timed Out Waiting For GetMeta Reply From a Service On > Queue:MeetingDetectorTaeQueue > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout( > BaseUIMAAsynchronousEngineCommon_impl.java:2350) > > at org.apache.uima.adapter.jms.client.ClientServiceDelegate. > handleError(ClientServiceDelegate.java:192) > > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java: > 839) > > at java.util.TimerThread.mainLoop(Timer.java:555) > > at java.util.TimerThread.run(Timer.java:505) > > Terminating Client... > > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop() > - Stop > > ping UIMA-AS Client > > javax.jms.JMSException: A consumer is consuming from the temporary > destination > > at org.apache.activemq.ActiveMQConnection.deleteTempDestination( > ActiveMQConnection.java:2061) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_ > impl.java:324) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_ > impl.java:345) > > at org.apache.uima.examples.as.RunRemoteAsyncAE$ > StatusCallbackListenerImpl.stop(RunRemoteAsyncAE.java:367) > > at org.apache.uima.examples.as.RunRemoteAsyncAE$ > StatusCallbackListenerImpl.initializationComplete( > RunRemoteAsyncAE.java:360) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyListeners( > BaseUIMAAsynchronousEngineCommon_impl.java:1220) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout( > BaseUIMAAsynchronousEngineCommon_impl.java:2351) > > at org.apache.uima.adapter.jms.client.ClientServiceDelegate. > handleError(ClientServiceDelegate.java:192) > > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java: > 839) > > at java.util.TimerThread.mainLoop(Timer.java:555) > > at java.util.TimerThread.run(Timer.java:505) > > {code} > > > > -- > This message was sent by Atlassian JIRA > (v6.4.14#64029) >
[jira] [Commented] (UIMA-5562) UIMA AS fails with HttpConnector
[ https://issues.apache.org/jira/browse/UIMA-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16180539#comment-16180539 ] John commented on UIMA-5562: Problem is caused by this bug in AMQ. As this is fixed in master it will be part of AMQ 5.16. > UIMA AS fails with HttpConnector > > > Key: UIMA-5562 > URL: https://issues.apache.org/jira/browse/UIMA-5562 > Project: UIMA > Issue Type: Bug > Components: Async Scaleout >Affects Versions: 2.9.0AS > Environment: Windows 7 and Linux >Reporter: John >Priority: Blocker > Attachments: myTestScenario.bat > > > Hi, > if I try to use UIMA AS with ActiveMQ http-connector, which is provided in > default configuration, I do get a timeout. > Steps to reproduce: > # Unzip http://www-eu.apache.org/dist/uima/uima-as-2.9.0/uima-as-2.9.0-bin.zip > # Set InputDirectory in > {{apache-uima-2.9.0/examples/descriptors/collection_reader/FileSystemCollectionReader.xml}} > to correct absolute path > # Copy attached Batch-File into directory > # Start it, wait and press 3 times Enter > If I set BROKER_URL to tcp://localhost:61616 in the Batch-Script, the > documents are processed successfully. > With value http://localhost:8080 I get the following exception. > {code} > Error on getMeta call to remote service: > org.apache.uima.aae.error.UimaASMetaRequestTimeout: UIMA AS Client Timed Out > Waiting For GetMeta Reply From a Service On Queue:MeetingDetectorTaeQueue > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2350) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > Terminating Client... > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop() - > Stop > ping UIMA-AS Client > javax.jms.JMSException: A consumer is consuming from the temporary destination > at > org.apache.activemq.ActiveMQConnection.deleteTempDestination(ActiveMQConnection.java:2061) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_impl.java:324) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_impl.java:345) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.stop(RunRemoteAsyncAE.java:367) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.initializationComplete(RunRemoteAsyncAE.java:360) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyListeners(BaseUIMAAsynchronousEngineCommon_impl.java:1220) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2351) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
Re: [jira] [Commented] (UIMA-5562) UIMA AS fails with HttpConnector
Let me review: 1) With tcp based broker specification ( tcp://broker:port ) and prefetch property omitted the deployment works. 2) With http based broker specification ( http://broker:port ) and prefetch property omitted the deployment fails. To fix case#2 you add prefetch property and that fixes the problem. Seems like a bug if true. Jerry On Mon, Sep 25, 2017 at 8:26 AM, John (JIRA)wrote: > > [ https://issues.apache.org/jira/browse/UIMA-5562?page= > com.atlassian.jira.plugin.system.issuetabpanels:comment- > tabpanel=16178942#comment-16178942 ] > > John commented on UIMA-5562: > > > A workaround is setting the attribute {{prefetch}} in element > {{inputQueue}} in AE descriptor > {{examples/deploy/as/Deploy_MeetingDetectorTAE.xml}} > from {{0}} to {{1}}. Then all documents get processed, just like with > tcp-connector. > It has a drawback though. See Warning at http://uima.apache.org/d/uima- > as-2.9.0/uima_async_scaleout.html#ugr.ref.async.deploy. > descriptor.input_queue > > {code} > > >brokerURL="${defaultBrokerURL}" prefetch="1"/> > > > > > {code} > > > UIMA AS fails with HttpConnector > > > > > > Key: UIMA-5562 > > URL: https://issues.apache.org/jira/browse/UIMA-5562 > > Project: UIMA > > Issue Type: Bug > > Components: Async Scaleout > >Affects Versions: 2.9.0AS > > Environment: Windows 7 and Linux > >Reporter: John > >Priority: Blocker > > Attachments: myTestScenario.bat > > > > > > Hi, > > if I try to use UIMA AS with ActiveMQ http-connector, which is provided > in default configuration, I do get a timeout. > > Steps to reproduce: > > # Unzip http://www-eu.apache.org/dist/uima/uima-as-2.9.0/uima-as-2. > 9.0-bin.zip > > # Set InputDirectory in {{apache-uima-2.9.0/examples/ > descriptors/collection_reader/FileSystemCollectionReader.xml}} to correct > absolute path > > # Copy attached Batch-File into directory > > # Start it, wait and press 3 times Enter > > If I set BROKER_URL to tcp://localhost:61616 in the Batch-Script, the > documents are processed successfully. > > With value http://localhost:8080 I get the following exception. > > {code} > > Error on getMeta call to remote service: > > org.apache.uima.aae.error.UimaASMetaRequestTimeout: UIMA AS Client > Timed Out Waiting For GetMeta Reply From a Service On > Queue:MeetingDetectorTaeQueue > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout( > BaseUIMAAsynchronousEngineCommon_impl.java:2350) > > at org.apache.uima.adapter.jms.client.ClientServiceDelegate. > handleError(ClientServiceDelegate.java:192) > > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java: > 839) > > at java.util.TimerThread.mainLoop(Timer.java:555) > > at java.util.TimerThread.run(Timer.java:505) > > Terminating Client... > > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop() > - Stop > > ping UIMA-AS Client > > javax.jms.JMSException: A consumer is consuming from the temporary > destination > > at org.apache.activemq.ActiveMQConnection.deleteTempDestination( > ActiveMQConnection.java:2061) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_ > impl.java:324) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_ > impl.java:345) > > at org.apache.uima.examples.as.RunRemoteAsyncAE$ > StatusCallbackListenerImpl.stop(RunRemoteAsyncAE.java:367) > > at org.apache.uima.examples.as.RunRemoteAsyncAE$ > StatusCallbackListenerImpl.initializationComplete( > RunRemoteAsyncAE.java:360) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyListeners( > BaseUIMAAsynchronousEngineCommon_impl.java:1220) > > at org.apache.uima.adapter.jms.client. > BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout( > BaseUIMAAsynchronousEngineCommon_impl.java:2351) > > at org.apache.uima.adapter.jms.client.ClientServiceDelegate. > handleError(ClientServiceDelegate.java:192) > > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java: > 839) > > at java.util.TimerThread.mainLoop(Timer.java:555) > > at java.util.TimerThread.run(Timer.java:505) > > {code} > > > > -- > This message was sent by Atlassian JIRA > (v6.4.14#64029) >
[jira] [Commented] (UIMA-5562) UIMA AS fails with HttpConnector
[ https://issues.apache.org/jira/browse/UIMA-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16178942#comment-16178942 ] John commented on UIMA-5562: A workaround is setting the attribute {{prefetch}} in element {{inputQueue}} in AE descriptor {{examples/deploy/as/Deploy_MeetingDetectorTAE.xml}} from {{0}} to {{1}}. Then all documents get processed, just like with tcp-connector. It has a drawback though. See Warning at http://uima.apache.org/d/uima-as-2.9.0/uima_async_scaleout.html#ugr.ref.async.deploy.descriptor.input_queue {code} {code} > UIMA AS fails with HttpConnector > > > Key: UIMA-5562 > URL: https://issues.apache.org/jira/browse/UIMA-5562 > Project: UIMA > Issue Type: Bug > Components: Async Scaleout >Affects Versions: 2.9.0AS > Environment: Windows 7 and Linux >Reporter: John >Priority: Blocker > Attachments: myTestScenario.bat > > > Hi, > if I try to use UIMA AS with ActiveMQ http-connector, which is provided in > default configuration, I do get a timeout. > Steps to reproduce: > # Unzip http://www-eu.apache.org/dist/uima/uima-as-2.9.0/uima-as-2.9.0-bin.zip > # Set InputDirectory in > {{apache-uima-2.9.0/examples/descriptors/collection_reader/FileSystemCollectionReader.xml}} > to correct absolute path > # Copy attached Batch-File into directory > # Start it, wait and press 3 times Enter > If I set BROKER_URL to tcp://localhost:61616 in the Batch-Script, the > documents are processed successfully. > With value http://localhost:8080 I get the following exception. > {code} > Error on getMeta call to remote service: > org.apache.uima.aae.error.UimaASMetaRequestTimeout: UIMA AS Client Timed Out > Waiting For GetMeta Reply From a Service On Queue:MeetingDetectorTaeQueue > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2350) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > Terminating Client... > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop() - > Stop > ping UIMA-AS Client > javax.jms.JMSException: A consumer is consuming from the temporary destination > at > org.apache.activemq.ActiveMQConnection.deleteTempDestination(ActiveMQConnection.java:2061) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_impl.java:324) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_impl.java:345) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.stop(RunRemoteAsyncAE.java:367) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.initializationComplete(RunRemoteAsyncAE.java:360) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyListeners(BaseUIMAAsynchronousEngineCommon_impl.java:1220) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2351) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (UIMA-5562) UIMA AS fails with HttpConnector
[ https://issues.apache.org/jira/browse/UIMA-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16165022#comment-16165022 ] John commented on UIMA-5562: It works if TCP connector is used on consumer/deploy side. > UIMA AS fails with HttpConnector > > > Key: UIMA-5562 > URL: https://issues.apache.org/jira/browse/UIMA-5562 > Project: UIMA > Issue Type: Bug > Components: Async Scaleout >Affects Versions: 2.9.0AS > Environment: Windows 7 and Linux >Reporter: John >Priority: Blocker > Attachments: myTestScenario.bat > > > Hi, > if I try to use UIMA AS with ActiveMQ http-connector, which is provided in > default configuration, I do get a timeout. > Steps to reproduce: > # Unzip http://www-eu.apache.org/dist/uima/uima-as-2.9.0/uima-as-2.9.0-bin.zip > # Set InputDirectory in > {{apache-uima-2.9.0/examples/descriptors/collection_reader/FileSystemCollectionReader.xml}} > to correct absolute path > # Copy attached Batch-File into directory > # Start it, wait and press 3 times Enter > If I set BROKER_URL to tcp://localhost:61616 in the Batch-Script, the > documents are processed successfully. > With value http://localhost:8080 I get the following exception. > {code} > Error on getMeta call to remote service: > org.apache.uima.aae.error.UimaASMetaRequestTimeout: UIMA AS Client Timed Out > Waiting For GetMeta Reply From a Service On Queue:MeetingDetectorTaeQueue > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2350) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > Terminating Client... > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop() - > Stop > ping UIMA-AS Client > javax.jms.JMSException: A consumer is consuming from the temporary destination > at > org.apache.activemq.ActiveMQConnection.deleteTempDestination(ActiveMQConnection.java:2061) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_impl.java:324) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_impl.java:345) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.stop(RunRemoteAsyncAE.java:367) > at > org.apache.uima.examples.as.RunRemoteAsyncAE$StatusCallbackListenerImpl.initializationComplete(RunRemoteAsyncAE.java:360) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyListeners(BaseUIMAAsynchronousEngineCommon_impl.java:1220) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.notifyOnTimout(BaseUIMAAsynchronousEngineCommon_impl.java:2351) > at > org.apache.uima.adapter.jms.client.ClientServiceDelegate.handleError(ClientServiceDelegate.java:192) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:839) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)