]
Darran Lofthouse resolved REMJMX-90.
------------------------------------
Resolution: Done
RemotingConnector thowing RuntimeException for connection timeouts.
-------------------------------------------------------------------
Key: REMJMX-90
URL:
https://issues.jboss.org/browse/REMJMX-90
Project: Remoting JMX
Issue Type: Bug
Components: Connection
Affects Versions: 2.0.1.CR1
Reporter: Bryan Varner
Assignee: Darran Lofthouse
Fix For: 2.0.1.CR2
When attempting to connect, if a timeout occurs, an unchecked RuntimeException is thrown,
rather than a checked IOException.
{code}
try {
serverConnector = JMXConnectorFactory.newJMXConnector(serviceURL, environment);
serverConnector.connect(environment);
} catch (IOException ioe) {
// Code to handle connection / network / failures
// This never gets called if the IOFuture status is WAITING...
}
{code}
The problem seems to be:
https://github.com/jbossas/remoting-jmx/blob/master/src/main/java/org/jbo...