[jboss-jira] [JBoss JIRA] (REMJMX-77) org.jboss.remoting-jmx.timeout is not used when connecting the first time
Darran Lofthouse (JIRA)
issues at jboss.org
Wed Apr 1 12:57:19 EDT 2015
[ https://issues.jboss.org/browse/REMJMX-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darran Lofthouse resolved REMJMX-77.
------------------------------------
Resolution: Out of Date
Updates have already been applied to timeout handling within RemotingConnector to correctly take into account all timeout settings.
> 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
> Fix For: 2.0.1.CR2
>
>
> 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 was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list