Hi,

I can see an MessageTimeoutException in the log when calling BaseUIMAAsynchronousEngine_impl.deploy():


org.apache.uima.aae.error.MessageTimeoutException: Delegate Service:ServiceName Has Timed Out While Processing CAS:null
        at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:827)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)


The timeout is actually expected because the service is not running, but I can only catch an exception like this, without the details:


org.apache.uima.resource.ResourceInitializationException
at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.waitForServiceNotification(SpringContainerDeployer.java:530) at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeContainer(SpringContainerDeployer.java:314) at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy(SpringContainerDeployer.java:434) at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.deploy(BaseUIMAAsynchronousEngine_impl.java:916)
...
Caused by: org.apache.uima.resource.ResourceInitializationException
at org.apache.uima.aae.controller.BaseAnalysisEngineController.stop(BaseAnalysisEngineController.java:2001) at org.apache.uima.aae.controller.BaseAnalysisEngineController.stop(BaseAnalysisEngineController.java:1898) at org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stop(AggregateAnalysisEngineController_impl.java:3272) at org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:2184) at org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:2150) at org.apache.uima.aae.error.handler.GetMetaErrorHandler.handleError(GetMetaErrorHandler.java:104) at org.apache.uima.aae.error.ErrorHandlerChain.handle(ErrorHandlerChain.java:57) at org.apache.uima.aae.delegate.ControllerDelegate.handleError(ControllerDelegate.java:61)
        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)


I tried to use the callback listeners, but they do not seem to get called, am I doing something wrong here? Or is there another way to get the MessageTimeoutException object during deploy?

Thanks,
Daniel

Reply via email to