You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2016/03/30 23:00:28 UTC

[jira] [Comment Edited] (DISPATCH-246) Router crash when creating connector with same port as existing listener

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

Ganesh Murthy edited comment on DISPATCH-246 at 3/30/16 9:00 PM:
-----------------------------------------------------------------

This issue could be reproduced with any port number, not necessary that it has to match the port of the listener. The problem is that the connector name was not supplied by the qdmanage CREATE command and the code was assuming that there would always be a name


was (Author: ganeshmurthy):
This issue could be reproduced with any port number, not necessary that it has to match the port of the listener. The problem is that the connector name was not supplied by the qdmanage CREATE command.  

> Router crash when creating connector with same port as existing listener
> ------------------------------------------------------------------------
>
>                 Key: DISPATCH-246
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-246
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 0.6
>            Reporter: Ernest Allen
>            Assignee: Ganesh Murthy
>
> - Start a router with a listener on a port. The listener's role doesn't seem to matter.
> - After the router is running, attempt to call the CREATE method using the same port on which the router is listening.
> I'm getting an immediate crash 100% of the time.
> Here is the json passed to the method call:
> {
>   "body": {
>     "type": "connector",
>     "port": "20102",
>     "role": "normal"
>   },
>   "properties": {
>     "to": "_topo/0/QDR.A/$management",
>     "reply_to": "amqp:/_topo/0/QDR.A/temp.ezDGhBZEEg+4LMn",
>     "correlation_id": "16"
>   },
>   "application_properties": {
>     "operation": "CREATE",
>     "type": "connector"
>   }
> } 
> This was done through the console. I'm not sure the syntax to do the same thing through qdmanage.



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