Identity.get() should create a more meaningful RuntimeException message
-----------------------------------------------------------------------
Key: JBREM-1104
URL:
https://jira.jboss.org/jira/browse/JBREM-1104
Project: JBoss Remoting
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 2.5.0.SP2 (Flounder) , 2.2.2.SP11
Reporter: Ron Sigal
Assignee: Ron Sigal
Priority: Minor
Fix For: 2.2.2.SP12, 2.5.0.SP3 (Flounder)
When org.jboss.remoting.ident.Identity.get() fails in the call to
InetAddress.getLocalHost(), it throws a RuntimeException like:
java.lang.RuntimeException: Exception creating identity: myhost: myhost
This problem has been associated, at least in some cases, with problems in the /etc/hosts
file. The problem is that the message gives no clue that the underlying problem is a host
name problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira