You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Andy Gumbrecht (JIRA)" <ji...@apache.org> on 2012/06/13 10:42:42 UTC

[jira] [Resolved] (OPENEJB-1839) Configrable TCP Socket connect timeout for ejbd and ejbds

     [ https://issues.apache.org/jira/browse/OPENEJB-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Gumbrecht resolved OPENEJB-1839.
-------------------------------------

    Resolution: Fixed

Added system property 'openejb.client.connection.socket.timeout' which expects an Integer value.

The default is now 150 (ms) which on modern networks is still a conservative value.

Modify this value before creating an InitialContext.
                
> Configrable TCP Socket connect timeout for ejbd and ejbds
> ---------------------------------------------------------
>
>                 Key: OPENEJB-1839
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1839
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: (not version related)
>         Environment: All
>            Reporter: Andy Gumbrecht
>            Assignee: Andy Gumbrecht
>            Priority: Minor
>              Labels: ejbd, tcpip
>             Fix For: (trunk/openejb)
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Current TCP Sockets use a timeout of zero. This means that it is left to the implementation to decide how long to wait for a connection - This can be a considerable amount of time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira