[jboss-jira] [JBoss JIRA] (JBASMP-74) Allow custom connection timeout specification

Boleslav Bobcik (JIRA) issues at jboss.org
Mon Nov 3 22:43:35 EST 2014


     [ https://issues.jboss.org/browse/JBASMP-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boleslav Bobcik updated JBASMP-74:
----------------------------------
    Attachment: connectTimeout.patch


Prototype patch of implemented timeout property

> Allow custom connection timeout specification
> ---------------------------------------------
>
>                 Key: JBASMP-74
>                 URL: https://issues.jboss.org/browse/JBASMP-74
>             Project: JBoss AS Maven Plugins
>          Issue Type: Feature Request
>    Affects Versions: 7.6.Final
>            Reporter: Boleslav Bobcik
>            Assignee: James Perkins
>         Attachments: connectTimeout.patch
>
>
> In certain environments (such as JBoss AS running in VirtualBox under NAT) the default connection timeout (defined as 5000ms in org.jboss.as.controller.client.impl.ClientConfigurationImpl) is insufficient - the initial remoting handshake may need up to 30 seconds.
> Controller client module can apply a timeout, however it has to be provided as an argument to a factory method of ModelControllerClient; I didn't find any means of implicit configuration via system property, environment variable etc.
> Therefore the proposal is to add a property to AbstractServerConnection that would allow custom specification of connection timeout.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list