[jboss-user] [JBoss Messaging] - Failed to send changeRate message

bob_walker99 do-not-reply at jboss.com
Tue Sep 11 07:27:01 EDT 2007


I'm having trouble with MessageListeners becoming unaffiliated with a queue, and one of the errors I'm seeing is this:


  |  [Thread-617] ERROR container.ClientConsumer  - Failed to send changeRate message
  |  org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  |    at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:247)
  |    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:202)
  |    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:157)
  |    at org.jboss.jms.client.delegate.ClientConsumerDelegate.org$jboss$jms$client$delegate$ClientConsumerDelegate$changeRate$aop(ClientConsumerDelegate.java:138)
  |    at org.jboss.jms.client.delegate.ClientConsumerDelegate$changeRate_N952316153687074823.invokeNext(ClientConsumerDelegate$changeRate_N952316153687074823.java)
  |    at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:91)
  |    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  |    at org.jboss.jms.client.delegate.ClientConsumerDelegate$changeRate_N952316153687074823.invokeNext(ClientConsumerDelegate$changeRate_N952316153687074823.java)
  |    at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
  |    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  |    at org.jboss.jms.client.delegate.ClientConsumerDelegate$changeRate_N952316153687074823.invokeNext(ClientConsumerDelegate$changeRate_N952316153687074823.java)
  |    at org.jboss.jms.client.delegate.ClientConsumerDelegate.changeRate(ClientConsumerDelegate.java)
  |    at org.jboss.jms.client.container.ClientConsumer.sendChangeRateMessage(ClientConsumer.java:692)
  |    at org.jboss.jms.client.container.ClientConsumer.checkStart(ClientConsumer.java:678)
  |    at org.jboss.jms.client.container.ClientConsumer.access$1600(ClientConsumer.java:54)
  |    at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:974)
  |    at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
  |    at java.lang.Thread.run(Thread.java:619)
  |  Caused by: java.lang.IllegalStateException: Cannot find object in dispatcher with id hl8-68deag6f-1-sv88te6f-e0noyu-f20a
  |    at org.jboss.jms.wireformat.ConsumerChangeRateRequest.serverInvoke(ConsumerChangeRateRequest.java:71)
  |    at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:144)
  |    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
  |    at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
  |    at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
  |    at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
  |    at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
  |    at org.jboss.remoting.Client.invoke(Client.java:1634)
  |    at org.jboss.remoting.Client.invoke(Client.java:548)
  |    at org.jboss.remoting.Client.invoke(Client.java:536)
  |    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:186)
  |    ... 16 more
  | 
  | 

I see this mentions the "Cannot find object in dispatcher with id" problem, but reports it as fixed:

http://jira.jboss.com/jira/browse/JBMESSAGING-812

Is this a separate issue? I'm also seeing the "Cannot find object in dispatcher with id" message in my client sending code: this code runs repeatedly, reusing the same connection, just calling start() and stop() on it as and when it needs. I can work round it in my client code because I can trap the JMSException and dispose the connection. However, in my listener code, despite having an ExceptionListener set and a catch block in onMessage, the exception never reaches my code, I only see it in the console logs.

I'm using 4.2.0GA/1.4.0.CR2, let me know if you need more info.

Best regards,

Bob

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082961#4082961

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082961



More information about the jboss-user mailing list