[jboss-user] [JBoss Messaging] - MessageConsumer.close hangs forever

Kevin Lohmann do-not-reply at jboss.com
Thu Sep 9 07:35:56 EDT 2010


Kevin Lohmann [http://community.jboss.org/people/kevin.lohmann] created the discussion

"MessageConsumer.close hangs forever"

To view the discussion, visit: http://community.jboss.org/message/560826#560826

--------------------------------------------------------------
Hi *,

I'm using JBoss-EAP-5.0.1 and therefore jboss-messaging-client-1.4.6.GA! Last night I saw the following warning in my client log:

07.09.2010 23:27:12.552 WARNING Thread interrupted: java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at org.jboss.messaging.util.Future.getResult(Future.java:51)
    at org.jboss.jms.client.container.ClientConsumer.waitForOnMessageToComplete(ClientConsumer.java:779)
    at org.jboss.jms.client.container.ClientConsumer.close(ClientConsumer.java:442)
    at org.jboss.jms.client.container.ConsumerAspect.handleClosing(ConsumerAspect.java:180)
    at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect_z_handleClosing_28110456.invoke(ConsumerAspect_z_handleClosing_28110456.java)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.client.delegate.ClientConsumerDelegate.closing(ClientConsumerDelegate.java)
    at org.jboss.jms.client.JBossMessageConsumer.close(JBossMessageConsumer.java:96)
    [...]


The server.log contains no information for this time.

My client hangs since then on MessageConsumer.close(). I know, closing the consumer will wait for its listener to proceed received messages. Thats not the case here, no messages arrive the listener.

I guess its some kind of a bug to wait forever for the listener to proceed.

Thanks for your responses,
 Kevin
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/560826#560826]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100909/d43e457e/attachment.html 


More information about the jboss-user mailing list