[jboss-jira] [JBoss JIRA] (REMJMX-77) org.jboss.remoting-jmx.timeout is not used when connecting the first time

Osamu Nagano (JIRA) issues at jboss.org
Fri Dec 20 01:20:33 EST 2013


Osamu Nagano created REMJMX-77:
----------------------------------

             Summary: org.jboss.remoting-jmx.timeout is not used when connecting the first time
                 Key: REMJMX-77
                 URL: https://issues.jboss.org/browse/REMJMX-77
             Project: Remoting JMX
          Issue Type: Bug
    Affects Versions: 1.1.0.Final
         Environment: EAP 6.1.1
            Reporter: Osamu Nagano
            Assignee: Darran Lofthouse


Timeout second is fixed at 5 seconds and not configurable when a client is trying to connect to the server first time.  There is a constant "org.jboss.remoting-jmx.timeout" but it is not used here.

https://github.com/jbossas/remoting-jmx/blob/1.1.0.Final/src/main/java/org/jboss/remotingjmx/RemotingConnector.java#L185
{code}
    207         // open a connection
    208         final IoFuture<Connection> futureConnection = endpoint.connect(convert(serviceUrl), getOptionMap(), handler);
    209         IoFuture.Status result = futureConnection.await(5, TimeUnit.SECONDS);
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list