2 Replies Latest reply on Aug 19, 2004 2:09 PM by wolfj

    [b]Not authorized to add messages to DLQ[/b]

    Edgar Maistry Newbie

      Hi there!

      I am using jboss3.0.4 and cannot add any messages to the DLQ. Jboss throws an exception while trying to add message to DLQ. Please advise!

      Output:

      14:43:35,701 WARN [DLQHandler] Message resent too many times; sending it to DLQ
      . Id: ID:5-10419513295842
      14:43:35,701 ERROR [DLQHandler] Could not send message to Dead Letter Queue
      javax.jms.JMSSecurityException: Connection not autorized to addMessages to dest
      nation: DLQ
      at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSec
      rityInterceptor.java:153)
      at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor
      java:209)
      at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.jav
      :137)
      at org.jboss.mq.il.jvm.JVMServerIL.addMessage(JVMServerIL.java:137)
      at org.jboss.mq.Connection.sendToServer(Connection.java:1119)
      at org.jboss.mq.SpySession.sendMessage(SpySession.java:654)
      at org.jboss.mq.SpyQueueSender.internalSend(SpyQueueSender.java:118)
      at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:76)
      at org.jboss.ejb.plugins.jms.DLQHandler.sendMessage(DLQHandler.java:246

      at org.jboss.ejb.plugins.jms.DLQHandler.handleRedeliveredMessage(DLQHan
      ler.java:176)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.on
      essage(JMSContainerInvoker.java:1028)
      at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:2
      3)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMes
      ageConsumer.java:603)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:4
      7)
      at org.jboss.mq.SpySession.run(SpySession.java:296)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:178)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExe
      utor.java:655)
      at java.lang.Thread.run(Thread.java:536)