You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/16 14:16:05 UTC

[jira] [Commented] (DISPATCH-392) "attributeName is undefined error" when showing "address", "linkRoute" and "autoLink"

    [ https://issues.apache.org/jira/browse/DISPATCH-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333867#comment-15333867 ] 

ASF subversion and git services commented on DISPATCH-392:
----------------------------------------------------------

Commit 0a1ae2b935002e19bbc4e29487e37f439e0203d8 in qpid-dispatch's branch refs/heads/master from [~eallen]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=0a1ae2b ]

DISPATCH-392: Add router.config to the type for address, autoLink, and linkRoute


> "attributeName is undefined error" when showing "address", "linkRoute" and "autoLink"
> -------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-392
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-392
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Console
>    Affects Versions: 0.6.0
>            Reporter: Paolo Patierno
>         Attachments: Selection_015.png
>
>
> I'm using the Ernie Allen docker image in order to run the web console.
> https://hub.docker.com/r/ernieallen/dispatch-console/
> I have set up my router network and websocket proxy. All works fine but ...
> When I open Entities page and click on "address" for example, a pop up shows me an "attributeName is undefined error" (attached the screenshot) and the AGENT module on the router shows :
> Thu Jun 16 14:00:01 2016 AGENT (error) Error dispatching Message(address='_topo/0/Router.A/$management', properties={'operation': 'QUERY', 'entityType': 'org.apache.qpid.dispatch.address', 'type': 'org.amqp.management', 'name': 'self'}, body={'attributeNames': []}, reply_to='amqp:/_topo/0/Router.A/temp.Jt5OG0zIxI6o72E', correlation_id='858'): No such entity type 'org.apache.qpid.dispatch.address'
> 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 821, in handle
>     return method(request)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 611, in query
>     entity_type = self.requested_type(request)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 606, in requested_type
>     if type: return self._schema.entity_type(type)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 551, in entity_type
>     return self._lookup(self.entity_types, name, "No such entity type '%s'", error)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 547, in _lookup
>     raise ValidationError(message % name)
> ValidationError: No such entity type 'org.apache.qpid.dispatch.address'
> It should be something in the query, because if I executes :
> qdmanage -b localhost:6000 query --type address
> I receive a good result :
> [
>   {
>     "egressPhase": 0, 
>     "ingressPhase": 0, 
>     "prefix": "my_address", 
>     "waypoint": false, 
>     "distribution": "closest", 
>     "type": "org.apache.qpid.dispatch.router.config.address", 
>     "identity": "1"
>   }, 
>   {
>     "egressPhase": 1, 
>     "ingressPhase": 0, 
>     "prefix": "my_queue_wp", 
>     "waypoint": true, 
>     "distribution": "balanced", 
>     "type": "org.apache.qpid.dispatch.router.config.address", 
>     "identity": "2"
>   }
> ]
> I can see the same problem with "linkRoute" and "autoLink".



--
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