You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2008/10/03 14:47:52 UTC

[jira] Created: (AMQ-1967) TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE)

TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE) 
--------------------------------------------------------------------------------

                 Key: AMQ-1967
                 URL: https://issues.apache.org/activemq/browse/AMQ-1967
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Transport
    Affects Versions: 5.2.0
            Reporter: Gary Tully
            Assignee: Gary Tully


for tests that restart brokers or for apps that require fast restarts, using reuseAddress for server sockets makes sense.
The default should be true, with the option to control it through transport Options.

This will help the robustness of DuplexNetworkMBeanTest which does a bunch of broker restarts to check for leaked MBeans

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-1967) TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE)

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-1967.
-----------------------------

    Resolution: Fixed

transport.reuseAddress=true is now respected by TcpTransportServer

> TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE) 
> --------------------------------------------------------------------------------
>
>                 Key: AMQ-1967
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1967
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Transport
>    Affects Versions: 5.3.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>
> for tests that restart brokers or for apps that require fast restarts, using reuseAddress for server sockets makes sense.
> The default should be true, with the option to control it through transport Options.
> This will help the robustness of DuplexNetworkMBeanTest which does a bunch of broker restarts to check for leaked MBeans

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQ-1967) TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE)

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully updated AMQ-1967:
----------------------------

        Fix Version/s: 5.2.0
    Affects Version/s: 5.1.0
                           (was: 5.3.0)

> TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE) 
> --------------------------------------------------------------------------------
>
>                 Key: AMQ-1967
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1967
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Transport
>    Affects Versions: 5.1.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.2.0
>
>
> for tests that restart brokers or for apps that require fast restarts, using reuseAddress for server sockets makes sense.
> The default should be true, with the option to control it through transport Options.
> This will help the robustness of DuplexNetworkMBeanTest which does a bunch of broker restarts to check for leaked MBeans

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQ-1967) TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE)

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully updated AMQ-1967:
----------------------------

    Affects Version/s: 5.3.0
                           (was: 5.2.0)

> TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE) 
> --------------------------------------------------------------------------------
>
>                 Key: AMQ-1967
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1967
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Transport
>    Affects Versions: 5.3.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>
> for tests that restart brokers or for apps that require fast restarts, using reuseAddress for server sockets makes sense.
> The default should be true, with the option to control it through transport Options.
> This will help the robustness of DuplexNetworkMBeanTest which does a bunch of broker restarts to check for leaked MBeans

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.