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

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


Boleslav Bobcik created JBASMP-74:
-------------------------------------

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


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