uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-3646) UIMA-AS client throws javax.jms.JMSException: A consumer is consuming from the temporary destination
Date Thu, 06 Mar 2014 14:50:43 GMT

     [ https://issues.apache.org/jira/browse/UIMA-3646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jerry Cwiklik closed UIMA-3646.
-------------------------------

    Resolution: Fixed

> UIMA-AS client throws javax.jms.JMSException: A consumer is consuming from the temporary
destination
> ----------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-3646
>                 URL: https://issues.apache.org/jira/browse/UIMA-3646
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.4.2AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>
> Looks like some kind of a race during a shutdown of uima-as client. The client log at
the end of stop shows:
> 04:08:52.710 - 1: org.apache.uima.adapter.jms.activemq.JmsInputChannel.stopChannel: INFO:
Controller: ducc.jd.queue.133864 Stopped Listener on Endpoint: queue://ducc.jd.queue.133864
Selector: Selector:Command=2000 OR Command=2002. 
> 04:08:52.710 - 1: org.apache.uima.adapter.jms.activemq.JmsInputChannel.stopChannel: INFO:
Stopping Service JMS Transport. Service: ducc.jd.queue.133864 ShutdownNow true
> 04:08:52.710 - 1: org.apache.uima.adapter.jms.activemq.JmsInputChannel.stopChannel: INFO:
Controller: ducc.jd.queue.133864 Stopped Listener on Endpoint: queue://ducc.jd.queue.133864
Selector: Selector:Command=2001. 
> 04:08:52.710 - 1: org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.stop:
INFO: Stopping Controller: ducc.jd.queue.133864
> 04:08:52.711 - 1: org.apache.uima.adapter.jms.activemq.JmsOutputChannel.stop: INFO: Controller:
ducc.jd.queue.133864 Output Channel Shutdown Completed
> 04:08:52.711 - 133: org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer$3.destroy:
WARNING: 
> org.springframework.jms.listener.AbstractJmsListeningContainer$SharedConnectionNotInitializedException:
This listener container's shared Connection has not been initialized yet
> at org.springframework.jms.listener.AbstractJmsListeningContainer.getSharedConnection(AbstractJmsListeningContainer.java:483)
> at org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer.access$2000(UimaDefaultMessageListenerContainer.java:69)
> at org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer$3.run(UimaDefaultMessageListenerContainer.java:1025)
> 04:08:52.726 - 1: org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.stop:
INFO: Controller: ducc.jd.queue.133864 has stopped
> 04:08:52.727 - 106: org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.stop:
INFO: Stopping Asynchronous Client.
> 04:08:52.727 - 106: org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl.stop:
INFO: Asynchronous Client Has Stopped.
> javax.jms.JMSException: A consumer is consuming from the temporary destination
> at org.apache.activemq.ActiveMQConnection.deleteTempDestination(ActiveMQConnection.java:2041)
> at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_impl.java:235)
> at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_impl.java:280)
> at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl$UimaASShutdownHook.run(BaseUIMAAsynchronousEngineCommon_impl.java:3195)
> at java.lang.Thread.run(Thread.java:780)
> ... AbstractManagedService - Stopping Service Adapter
> ... AbstractManagedService - Calling super.stop() 
> ----------stop() called
> Stopping Camel Routes
> Stopping Camel Context
> Camel Context Stopped
> Component cleanup completed - terminating process
> From AMQ source code: http://www.docjar.com/html/api/org/apache/activemq/ActiveMQConnection.java.html

> it looks like there is an attempt to delete a temp queue with an active session. Check
the shutdown sequence to see if the uima-as client first closes its session before deleting
a temp queue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message