[jboss-remoting-issues] [JBoss JIRA] Closed: (JBREM-1104) Identity.get() should create a more meaningful RuntimeException message

Ron Sigal (JIRA) jira-events at lists.jboss.org
Wed Apr 15 00:40:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBREM-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Sigal closed JBREM-1104.
----------------------------

    Resolution: Partially Completed


Ported David Lloyd's fix from 2.x branch to 2.2 branch.

> 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.2.2.SP11
>            Reporter: Ron Sigal
>            Assignee: Ron Sigal
>            Priority: Minor
>             Fix For: 2.2.2.SP12
>
>
> 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

        



More information about the jboss-remoting-issues mailing list