[
https://issues.apache.org/jira/browse/DISPATCH-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370938#comment-15370938
]
ASF GitHub Bot commented on DISPATCH-223:
-----------------------------------------
Github user ganeshmurthy commented on the issue:
https://github.com/apache/qpid-dispatch/pull/48
Hi @scholzj , @ted-ross merged your pull request into the master branch
a few months back. Can you please close this pull request? Thanks.
> 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.0
> Reporter: Jakub Scholz
> Assignee: Ted Ross
> Priority: Minor
> Fix For: 0.6.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]