John created UIMA-5562:
--------------------------

             Summary: 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


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)

Reply via email to