uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaroslaw Cwiklik <cwik...@apache.org>
Subject Re: Broken conections after ACTIVEMQ restart with service uima-as CasMultiplier and delegate remote
Date Wed, 05 Jul 2017 14:32:43 GMT
Hi, the above problem is a different issue from the Session Closed reported
earlier which occurs in the uima-as client. Please provide a stack trace
for that.

The issue you are reporting above is an expected behavior. The remote is
trying to deliver msgs to a temp reply queue which no longer exists due to
a broker restart. JMS temp queues are transient and not recoverable. If a
broker is restarted while uima-as service is processing a CAS, that service
will not be able to reply. Any new CASes (sent after broker restart) will
have a valid temp queue and replies will succeed.

Jerry

On Wed, Jul 5, 2017 at 9:55 AM, nelson rivera <nelsonrivera12@gmail.com>
wrote:

> i have a aggregate service uima-as that it contains a CasMultiplier,
> after this casmultiplier in the flow one of the delegates is remote.
> The delegate remote is a primitive annotator implented in c++,but is
> deployed with de deployAsyncService.sh de uima-as directly.
>
> With these step i get the error that shows
>
> 1- Start all components (broker , agregate service, remote service).
> 2- First request, process ok
> 3- Restart broker (without restart services uima-as). //Logs shows
> Ready to Process Again
> 4- Second request, process ok
> 5- Restart broker, second (without restart services uima-as). //Logs
> show Ready to Process Again
> 6- I get a error, shows following lines in the log of the delegate
> sevice uima-as remote.
> Attachs images of the queues created at all time in case it is of
> help. The remote service delegate is XLangdetector and service
> agregate casmultiplier is XClusterAnalyzerAggregate.
>
> Errors Lines:
> Recovered Connection to Broker: tcp://127.0.0.1:61616 - Ready to Process
> Again
> 09:27:19.705 - 18:
> org.apache.uima.uimacpp.UimacppAnalysisComponent.log(396): INFO: :
> Begin -> XLangDetector::process --- OK
> 09:27:19.707 - 18:
> org.apache.uima.uimacpp.UimacppAnalysisComponent.log(396): INFO: : End
> -> XLangDetector::process --- OK
> 09:27:19.710 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.send:
> WARNING: Controller: XLangDetector Failed To Send Message to Delegates
>  Queue: null
> 09:27:19.721 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.
> UimaAsAsyncCallbackListener.onException():
> INFO: Service:XLangDetector JMS unable to Deliver
> CAS:-4f7adbed:15d12e82d61:-7fc7 -
> Error:temp-queue://ID:nelson-XPS-8700-46518-1499260793324-13:1:1
> 09:27:19.721 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.
> UimaAsAsyncCallbackListener.onException():
> INFO: Controller: XLangDetector Handling Release CAS Request.
> Releasing CAS Reference Id: -4f7adbed:15d12e82d61:-7fc7
> 09:27:19.722 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.send:
> WARNING: Controller: XLangDetector Failed To Send Message to Delegates
>  Queue: null
> 09:27:19.722 - 19:
> org.apache.uima.uimacpp.UimacppAnalysisComponent.log(396): INFO: :
> Begin -> XLangDetector::process --- OK
> 09:27:19.723 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.send:
> WARNING: Controller: XLangDetector Failed To Send Message to Delegates
>  Queue: null
> 09:27:19.724 - 17:
> org.apache.uima.uimacpp.UimacppAnalysisComponent.log(396): INFO: :
> Begin -> XLangDetector::process --- OK
> 09:27:19.725 - 17:
> org.apache.uima.uimacpp.UimacppAnalysisComponent.log(396): INFO: : End
> -> XLangDetector::process --- OK
> 09:27:19.727 - 19:
> org.apache.uima.uimacpp.UimacppAnalysisComponent.log(396): INFO: : End
> -> XLangDetector::process --- OK
> 09:27:19.732 - 20:
> org.apache.uima.uimacpp.UimacppAnalysisComponent.log(396): INFO: :
> Begin -> XLangDetector::process --- OK
> 09:27:19.734 - 20:
> org.apache.uima.uimacpp.UimacppAnalysisComponent.log(396): INFO: : End
> -> XLangDetector::process --- OK
> 09:27:19.737 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.send:
> WARNING: Controller: XLangDetector Failed To Send Message to Delegates
>  Queue: null
> 09:27:19.738 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.
> UimaAsAsyncCallbackListener.onException():
> INFO: Service:XLangDetector JMS unable to Deliver
> CAS:-4f7adbed:15d12e82d61:-7fc8 -
> Error:temp-queue://ID:nelson-XPS-8700-46518-1499260793324-13:1:1
> 09:27:19.738 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.
> UimaAsAsyncCallbackListener.onException():
> INFO: Controller: XLangDetector Handling Release CAS Request.
> Releasing CAS Reference Id: -4f7adbed:15d12e82d61:-7fc8
> 09:27:19.738 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.
> UimaAsAsyncCallbackListener.onException():
> INFO: Service:XLangDetector JMS unable to Deliver
> CAS:-4f7adbed:15d12e82d61:-7fc5 -
> Error:temp-queue://ID:nelson-XPS-8700-46518-1499260793324-13:1:1
> 09:27:19.739 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.
> UimaAsAsyncCallbackListener.onException():
> INFO: Controller: XLangDetector Handling Release CAS Request.
> Releasing CAS Reference Id: -4f7adbed:15d12e82d61:-7fc5
> 09:27:19.739 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.
> UimaAsAsyncCallbackListener.onException():
> INFO: Service:XLangDetector JMS unable to Deliver
> CAS:-4f7adbed:15d12e82d61:-7fc6 -
> Error:temp-queue://ID:nelson-XPS-8700-46518-1499260793324-13:1:1
> 09:27:19.739 - 3645:
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.
> UimaAsAsyncCallbackListener.onException():
> INFO: Controller: XLangDetector Handling Release CAS Request.
> Releasing CAS Reference Id: -4f7adbed:15d12e82d61:-7fc6.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message