You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (JIRA)" <ji...@apache.org> on 2016/06/17 12:01:05 UTC
[jira] [Commented] (DISPATCH-397) Error creating a new connector on
a router with same name but on another router
[ https://issues.apache.org/jira/browse/DISPATCH-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335926#comment-15335926 ]
Ted Ross commented on DISPATCH-397:
-----------------------------------
In case it's not obvious from the description, the create request was evidently directed to router A instead of router B.
> Error creating a new connector on a router with same name but on another router
> -------------------------------------------------------------------------------
>
> Key: DISPATCH-397
> URL: https://issues.apache.org/jira/browse/DISPATCH-397
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Console
> Affects Versions: 0.6.0
> Reporter: Paolo Patierno
> Attachments: Selection_015.png
>
>
> I have a network with three routers A, B and C.
> A is connected to B and a broker with a connector named "BROKER".
> B is connected to C.
> Using the Entities page and selecting router B, I can see the only connector from B to C named "INTER_ROUTER.
> If I try to create a new connector for the router B in order to connect it to the broker as well using the name "BROKER" for the connector, I receive the following error : Duplicate value 'BROKER' for unique attribute 'name'.
> It's true if I create a connector for router A which already has a connector with this name, but not true for router B.
> Attached the screenshot of the error.
> At same time the error on the console on the router A is the following :
> Fri Jun 17 09:54:13 2016 AGENT (error) Error dispatching Message(address='_topo/0/Router.A/$management', properties={'operation': 'CREATE', 'type': 'org.apache.qpid.dispatch.connector', 'name': 'BROKER'}, body={'role': 'normal', 'type': 'org.apache.qpid.dispatch.connector', 'name': 'BROKER', 'port': '5672'}, reply_to='amqp:/_topo/0/Router.A/temp.3lKIzN7YrrNNvms', correlation_id='6363'): org.apache.qpid.dispatch.connector: Duplicate value 'BROKER' for unique attribute 'name'
> Traceback (most recent call last):
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 790, in receive
> status, body = self.handle(request)
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 813, in handle
> return self.create(request)
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 854, in create
> return (CREATED, self._create(attributes).attributes)
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 829, in _create
> self.entities.add_implementation(cimplementation, entity)
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 538, in add_implementation
> self._add_implementation(implementation, adapter=adapter)
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 535, in _add_implementation
> self.add(adapter)
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 524, in add
> self.schema.validate_full(chain(iter([entity]), iter(self.entities)))
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/qdrouter.py", line 59, in validate_full
> super(QdSchema, self).validate_all(entities, **kwargs)
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 597, in validate_all
> check_singleton=check_singleton)
> File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 574, in validate_entity
> check_singleton=check_singleton)
> File "/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org