[
https://issues.apache.org/jira/browse/ARTEMIS-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17319720#comment-17319720
]
Erwin Dondorp commented on ARTEMIS-3159:
----------------------------------------
the stack trace:
{noformat}
WARN [org.apache.activemq.artemis.core.server] AMQ222145: Error expiring
reference Reference[2147483830]:RELIABLE:AMQPStandardMessage( [durable=true,
messageID=2147483830, address=a1, size=179, applicationProperties={},
properties=Properties\{messageId=c3a52bf0-6ff8-49cb-8fe8-1859e82d8668,
userId=null, to='a1', subject='null', replyTo='null', correlationId=null,
contentType=null, contentEncoding=null, absoluteExpiryTime=Mon Apr 12 20:55:47
UTC 2021, creationTime=Mon Apr 12 20:54:47 UTC 2021, groupId='null',
groupSequence=null, replyToGroupId='null'}, extraProperties = null] 0n queue:
ActiveMQQueueExistsException[errorType=QUEUE_EXISTS message=AMQ229018: Binding
already exists LocalQueueBinding [address=ExpiryQueue,
queue=QueueImpl[name=EXP.a1, postOffice=PostOfficeImpl
[server=ActiveMQServerImpl::serverUUID=bd19db04-9b96-11eb-93f8-0242ac1f0003],
temp=false]@696fdf2a, filter=FilterImpl [sfilterString=_AMQ_ORIG_ADDRESS =
'a1'], name=EXP.a1, clusterName=EXP.a1bd19db04-9b96-11eb-93f8-0242ac1f0003]]
at
org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.addBinding(SimpleAddressManager.java:91)
[artemis-server-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.core.postoffice.impl.WildcardAddressManager.addBinding(WildcardAddressManager.java:95)
[artemis-server-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.addBinding(PostOfficeImpl.java:873)
[artemis-server-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(ActiveMQServerImpl.java:3771)
[artemis-server-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.createExpiryResources(QueueImpl.java:3610)
[artemis-server-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.expire(QueueImpl.java:3496)
[artemis-server-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.access$900(QueueImpl.java:126)
[artemis-server-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl$ExpiryScanner.run(QueueImpl.java:2469)
[artemis-server-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
[artemis-commons-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
[artemis-commons-2.17.0.jar:2.17.0]
at
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
[artemis-commons-2.17.0.jar:2.17.0]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_282]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_282]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
[artemis-commons-2.17.0.jar:2.17.0]
{noformat}
For the example with the 3 queues under one address, the exception appears 2
times.
> AMQ222145: Error expiring reference Reference
> ---------------------------------------------
>
> Key: ARTEMIS-3159
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3159
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.17.0
> Reporter: Erwin Dondorp
> Priority: Critical
>
> setup: one multicast address with 3 predefined queues, no consumers
> action: send 3 messages to the address
> see: all queues have 3 messages (ok so far)
> then the message expiry kicks in and produces: AMQ222145: Error expiring
> reference Reference
> the message count administration is now also corrupt. 2 of the queues say
> they have 2 messages; the 3rd queue says 0 messages. but browsing the
> messages shows no message in any of the 3 queues. The expiryqueue shows 7
> messages.
> the message is (sensitive info removed):
> {code:java}
> WARN [org.apache.activemq.artemis.core.server] AMQ222145: Error expiring
> reference Reference[20]:RELIABLE:AMQPStandardMessage( [durable=true,
> messageID=20, address=xyzaddress, size=131, applicationProperties={},
> properties=Properties{messageId=4de4cff7-1ef1-45fd-8edd-3dc241397986,
> userId=null, to='xyzaddress', subject='null', replyTo='null',
> correlationId=null, contentType=null, contentEncoding=null,
> absoluteExpiryTime=Thu Mar 04 11:00:41 UTC 2021, creationTime=Thu Mar 04
> 10:59:41 UTC 2021, groupId='null', groupSequence=null,
> replyToGroupId='null'}, extraProperties = null] 0n queue:
> ActiveMQQueueExistsException[errorType=QUEUE_EXISTS message=AMQ229018:
> Binding already exists LocalQueueBinding [address=ExpiryQueue,
> queue=QueueImpl[name=EXP.xyzaddress, postOffice=PostOfficeImpl
> [server=ActiveMQServerImpl::serverUUID=a197eb68-7cd8-11eb-ad61-0242c0a83002],
> temp=false]@41478b82, filter=FilterImpl [sfilterString=_AMQ_ORIG_ADDRESS =
> 'xyzaddress'], name=EXP.xyzaddress,
> clusterName=EXP.xyzaddressa197eb68-7cd8-11eb-ad61-0242c0a83002]]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)