You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jakub Scholz (JIRA)" <ji...@apache.org> on 2016/02/22 23:35:18 UTC
[jira] [Created] (DISPATCH-223) Unknown connector name is not
properly printed in error messages
Jakub Scholz created DISPATCH-223:
-------------------------------------
Summary: Unknown connector name is not properly printed in error messages
Key: DISPATCH-223
URL: https://issues.apache.org/jira/browse/DISPATCH-223
Project: Qpid Dispatch
Issue Type: Bug
Affects Versions: 0.6
Reporter: Jakub Scholz
Priority: Minor
When I try to start dispatch router with a link route configured for unknown connector (or a connector with a wrong type), the error message contains memory garbage instead of the container name, because the container name has been already freed before formatting the message.
Mon Feb 22 17:24:46 2016 SERVER (info) Container Name: Qpid.Dispatch.Router.A
Mon Feb 22 17:24:46 2016 ROUTER (info) Router started in Standalone mode
Mon Feb 22 17:24:46 2016 AGENT (info) Activating management agent on $management
Mon Feb 22 17:24:46 2016 ROUTER (info) In-Process Address Registered: $management
Mon Feb 22 17:24:46 2016 ROUTER (info) In-Process Address Registered: $management
Mon Feb 22 17:24:46 2016 CONN_MGR (info) Configured Listener: 0.0.0.0:amqp proto=any role=normal
Mon Feb 22 17:24:46 2016 CONN_MGR (info) Configured Listener: 0.0.0.0:5671 proto=any role=normal
Mon Feb 22 17:24:46 2016 CONN_MGR (info) Configured on-demand connector: 10.0.2.2:11234 name=user1Connector
Mon Feb 22 17:24:46 2016 CONN_MGR (info) Configured Connector: gw:11234 proto=any role=normal
Mon Feb 22 17:24:46 2016 ERROR (error) Configuration: Link-route-pattern configured with unknown connector: �
Mon Feb 22 17:24:46 2016 ERROR (error) Python: CError: Configuration: Link-route-pattern configured with unknown connector: �
Mon Feb 22 17:24:46 2016 ERROR (error) Traceback (most recent call last):
File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 153, in configure_dispatch
for a in config.by_type(t): configure(a)
File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 134, in configure
agent.configure(attributes)
File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 770, in configure
self._create(attributes)
File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 743, in _create
entity.create()
File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 329, in create
self._qd.qd_dispatch_configure_lrp(self._dispatch, self)
File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/dispatch.py", line 83, in _errcheck
raise CError(self.qd_error_message())
CError: Configuration: Link-route-pattern configured with unknown connector: �
Mon Feb 22 17:24:46 2016 MAIN (critical) Router start-up failed: Python: CError: Configuration: Link-route-pattern configured with unknown connector: �
qdrouterd: Python: CError: Configuration: Link-route-pattern configured with unknown connector: �
--
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