-
1. Re: SecurityException raised when broker tries to move expired message to DLQ
joe.luo Nov 26, 2009 7:19 AM (in response to concombremasqué)I guess what was happening was that you sent a message to a queue successfully and the message expired after a while on the queue. A cleanup thread woke up and tried to find those expired messages then move them to DLQ queue but failed because either the DLQ queue was not properly authorized with the user or the cleanup thread somehow did not have right securityContext.
You might want to explicitely to add DLQ queue into "authorizationEntry" instead of ">" wildcard to see if it works.
If not, then it looks like a bug to me since the cleanup thread somehow did not have right securityContext. In this case, you might want to raise an ActiveMQ JIRA at Apache with a reproducible test case.
Just my 2c.
/Joe
-
2. Re: SecurityException raised when broker tries to move expired message to D
concombremasqué Nov 26, 2009 8:15 AM (in response to joe.luo)Hi Joe,
You have perfectly understood my issue. I tried what you suggested (explicit declaration of my DLQ queue in the authorizationEntry section) but I still end up with the same security exception.
So maybe it could be a bug. I will try to gather all the needed stuff to easily reproduce that and fill a JIRA.
Thanks.
-
3. Re: SecurityException raised when broker tries to move expired message to D
concombremasqué Nov 27, 2009 3:49 AM (in response to joe.luo)I've just opened a JIRA:
https://issues.apache.org/activemq/browse/AMQ-2516
Edit:
This issue has been confirmed to be a bug. It will be fixed in ActiveMQ 5.3.1/5.4.0 (refer to JIRA details).
Edited by: concombre masqué on Nov 27, 2009 8:45 AM
-
4. Re: SecurityException raised when broker tries to move expired message to D
selikoff Dec 23, 2009 7:03 PM (in response to concombremasqué)Did you happen to find a work-around for 5.3.0? Since 5.3.1 for fuse is not out, it would be helpful if I had a way to move messages to the DLQ without this error occurring.
-
5. Re: SecurityException raised when broker tries to move expired message to D
joe.luo Jan 4, 2010 5:17 AM (in response to selikoff)It was just one line fix, so I guess you could just build your own version with the fix to work around the issue. for more details, please have a look at the AMQ-2516.
-
6. Re: SecurityException raised when broker tries to move expired message to D
concombremasqué Jan 4, 2010 6:50 AM (in response to selikoff)FYI, the fix for this issue is included in FUSE Message Broker 5.3.0-psc-01-00RC1 (see release notes here: http://fusesource.com/wiki/display/ProdInfo/FUSE+Message+Broker+v5.3.0-psc-01+Release+Notes).
Moreover this release of FUSE Message Broker is provided with the latest FUSE ESB release (FUSE ESB 4.1.0-psc-01-00RC1).
-
7. Re: SecurityException raised when broker tries to move expired message to D
selikoff Jan 4, 2010 10:52 AM (in response to concombremasqué)Great, now if they just add a fix for AMQ-1112 I'll be all set. Thanks!