You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Sami Nieminen (JIRA)" <ji...@apache.org> on 2019/04/02 12:28:00 UTC
[jira] [Commented] (ARTEMIS-2279) IllegalStateException: Cannot
find binding
[ https://issues.apache.org/jira/browse/ARTEMIS-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807711#comment-16807711 ]
Sami Nieminen commented on ARTEMIS-2279:
----------------------------------------
Solved this problem with the following kind of addition to broker configuration:
{code}
<address-setting match="topic.name">
<auto-create-addresses>true</auto-create-addresses>
<auto-delete-addresses>true</auto-delete-addresses>
<default-address-routing-type>MULTICAST</default-address-routing-type>
<default-purge-on-no-consumers>true</default-purge-on-no-consumers>
</address-setting>
{code}
No more binding errors after this.
> IllegalStateException: Cannot find binding
> ------------------------------------------
>
> Key: ARTEMIS-2279
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2279
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.6.4
> Reporter: Sami Nieminen
> Priority: Major
>
> We have artemis master/slave configuration on production, currently version 2.6.4. We regularly experience the following errors:
> {code}
> 2019-03-15 22:50:45,970 WARN [org.apache.activemq.artemis.core.server] AMQ222225: Sending unexpected exception to the client: java.lang.IllegalStateException: Cannot find binding f32e2087-8a3a-463f-972c-6bc3344a9fc3
> at org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.removeMapping(SimpleAddressManager.java:221) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.removeBindingInternal(SimpleAddressManager.java:202) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.removeBinding(SimpleAddressManager.java:103) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.postoffice.impl.WildcardAddressManager.removeBinding(WildcardAddressManager.java:138) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.removeBinding(PostOfficeImpl.java:662) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.server.impl.QueueImpl.deleteQueue(QueueImpl.java:1674) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.destroyQueue(ActiveMQServerImpl.java:1890) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.destroyQueue(ActiveMQServerImpl.java:1847) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.destroyQueue(ActiveMQServerImpl.java:1827) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.deleteQueue(ServerSessionImpl.java:836) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.slowPacketHandler(ServerSessionPacketHandler.java:395) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:287) [artemis-server-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33) [artemis-commons-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.6.4.jar:2.6.4]
> at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.6.4.jar:2.6.4]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_162]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_162]
> at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.6.4.jar:2.6.4]
> {code}
> I didn't see these errors on single-server configuration. What could cause this error?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)