From dev-return-17998-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Thu Nov 26 14:14:16 2009 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 98284 invoked from network); 26 Nov 2009 14:14:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Nov 2009 14:14:16 -0000 Received: (qmail 42532 invoked by uid 500); 26 Nov 2009 14:14:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 42481 invoked by uid 500); 26 Nov 2009 14:14:15 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 42467 invoked by uid 99); 26 Nov 2009 14:14:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 14:14:15 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 14:14:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AD85F234C052 for ; Thu, 26 Nov 2009 06:13:52 -0800 (PST) Message-ID: <1719532464.1259244832704.JavaMail.jira@brutus> Date: Thu, 26 Nov 2009 06:13:52 -0800 (PST) From: =?UTF-8?Q?Concombre_Masqu=C3=A9_=28JIRA=29?= To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2516) SecurityException raised when broker tries to move expired message to DLQ In-Reply-To: <2039749931.1259244712700.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2516?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Concombre Masqu=C3=A9 updated AMQ-2516: ---------------------------------- Attachment: jmsproducer_sample.zip activemq_configuration.zip activemq.log Find attached the ActiveMQ configuration, the log showing the security exce= ption and a JMS sample to send a message with TTL into the queue. > SecurityException raised when broker tries to move expired message to DLQ > ------------------------------------------------------------------------- > > Key: AMQ-2516 > URL: https://issues.apache.org/activemq/browse/AMQ-2516 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.0 > Environment: Windows XP SP2 > Java JRE 1.6 > Reporter: Concombre Masqu=C3=A9 > Attachments: activemq.log, activemq_configuration.zip, jmsproduce= r_sample.zip > > > I have enabled authentication + authorization in my broker configuration = file as follows: > > > > > > " read=3D"users" write=3D"users" admin=3D"u= sers"/> > " read=3D"users" write=3D= "users" admin=3D"users"/> > > > > > If I send a message with a TTL into the queue (using a client configured = with the right username and password) and then try to look after the messag= e in the queue after it has expired using the Web Console, I got the follow= ing exception: > "Caught an exception sending to DLQ: Message ID:PC198829-1539-12591681488= 38-0:1:1:1:1 dropped=3Dfalse locked=3Dfalse > java.lang.SecurityException: User is not authenticated." > This only occurs when the broker has to deal with the DLQ. I can successf= ully read/write in any queue from either my client or the ActiveMQ Web Cons= ole. > It seems that the thread responsible for moving the message into the DLQ = doesn't have the right to perform this action. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.