Fernando Giorgetti created DISPATCH-1037:
--------------------------------------------
Summary: Listeners with http enabled are not being shutdown after
they are deleted
Key: DISPATCH-1037
URL: https://issues.apache.org/jira/browse/DISPATCH-1037
Project: Qpid Dispatch
Issue Type: Bug
Components: Routing Engine
Reporter: Fernando Giorgetti
When an http enabled listener is deleted through the console, or via qdmanage
($management), it is being removed from the list of listeners (qdmanage query)
but the router still listens to the related TCP port.
In the example below I had a router with an http listener on port 5674 and a
non-http listener at 5672.
Here are the steps to demonstrate it:
* Start the router and query listeners
{code:java}
$ qdmanage query --type listener | egrep 'name'
"name": "listener/0.0.0.0:5672",
"name": "listener/0.0.0.0:5674",
{code}
* Verify TCP ports being listened
{code:java}
$ netstat -anp | egrep tcp.*LISTEN.*qdrouterd
tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 2887/qdrouterd
tcp 0 0 0.0.0.0:5674 0.0.0.0:* LISTEN 2887/qdrouterd
{code}
* Delete HTTP listener on port 5674
{code:java}
$ qdmanage delete --type listener --name 'listener/0.0.0.0:5674'
{code}
* Query listeners
{code:java}
$ qdmanage query --type listener | egrep 'name'
"name": "listener/0.0.0.0:5672",
{code}
* Verify TCP ports being listened
{code:java}
$ netstat -anp | egrep tcp.*LISTEN.*qdrouterd
tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 2887/qdrouterd
tcp 0 0 0.0.0.0:5674 0.0.0.0:* LISTEN 2887/qdrouterd
{code}
Note: This is only happening with http enabled listeners. Regular listeners are
being shutdown properly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]