]
Ron Sigal updated JBREM-1088:
-----------------------------
Fix Version/s: 2.2.2.SP12
2.5.0.SP3 (Flounder)
Affects Version/s: 2.5.0.SP2 (Flounder)
2.2.2.SP11
(was: 2.4.0.SP1 (Pinto))
Assignee: Ron Sigal
MicroSocketClientInvoker(InvokerLocator locator, Map configuration)
ctor - not propagating exceptions (only message is wrapped)
-------------------------------------------------------------------------------------------------------------------------------
Key: JBREM-1088
URL:
https://jira.jboss.org/jira/browse/JBREM-1088
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: transport
Affects Versions: 2.5.0.SP2 (Flounder) , 2.2.2.SP11
Environment: Windows
Reporter: Developer JBoss
Assignee: Ron Sigal
Priority: Minor
Fix For: 2.2.2.SP12, 2.5.0.SP3 (Flounder)
During org.jboss.remoting.Client.connect() call, if server "hostname" DNS
mapping is not available at client,
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setup() getAddressByName
throws :
java.net.UnknownHostException: <hostname>
However, calling method:
org.jboss.remoting.transport.socket.MicroSocketClientInvoker(InvokerLocator locator, Map
configuration) catches this exception and wraps it as new
RuntimeException(ex.getMessage()). This looses rootcause exception stack. It is difficult
for caller client code to understand the cause of the exception (UnknownHostException).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: