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) <dev@uima.apache.org> wrote: > > [ https://issues.apache.org/jira/browse/UIMA-5562?page= > com.atlassian.jira.plugin.system.issuetabpanels:comment- > tabpanel&focusedCommentId=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) >