[ https://issues.apache.org/jira/browse/DISPATCH-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950976#comment-15950976 ]
ASF subversion and git services commented on DISPATCH-735: ---------------------------------------------------------- Commit 886d3cbca95db8c3e46f91d8c3e3924f428d3e09 in qpid-dispatch's branch refs/heads/master from [~ganeshmurthy] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=886d3cb ] DISPATCH-735 - Parsing JSON config files did not transform linkRoute, autoLink and address. Fixed this > Crash on startup parsing JSON conf file with "address" entity > ------------------------------------------------------------- > > Key: DISPATCH-735 > URL: https://issues.apache.org/jira/browse/DISPATCH-735 > Project: Qpid Dispatch > Issue Type: Bug > Affects Versions: 0.7.0 > Reporter: Paolo Patierno > > Hi, > using a router configuration file in the JSON format with something like this > : > {noformat} > ["address", { > "prefix": "telemetry/", > "distribution": "multicast" > }], > ["address", { > "prefix": "event/", > "distribution": "multicast" > }], > {noformat} > the router crashes on startup with following error : > [root@512788e6bda1 /]# qdrouterd -c /etc/hono/qdrouter/qdrouterd.json > Fri Mar 31 08:51:48 2017 ERROR (error) Python: Exception: Cannot load > configuration file /etc/hono/qdrouter/qdrouterd.json: No such entity type > 'org.apache.qpid.dispatch.address' > Fri Mar 31 08:51:48 2017 ERROR (error) Traceback (most recent call last): > File > "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", > line 128, in configure_dispatch > config = Config(filename) > File > "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", > line 41, in __init__ > self.load(filename, raw_json) > File > "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", > line 98, in load > self.load(f, raw_json) > File > "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", > line 106, in load > self.schema.validate_all(entities) > File > "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", > line 584, in validate_all > check_singleton=check_singleton) > File > "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", > line 555, in validate_entity > entity_type = self.entity_type(attributes['type']) > File > "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", > line 541, 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 537, in _lookup > raise ValidationError(message % name) > Exception: Cannot load configuration file /etc/hono/qdrouter/qdrouterd.json: > No such entity type 'org.apache.qpid.dispatch.address' > It doesn't happen using the deprecated "fixedAddress" entity. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org