ARJUNA012210:无法使用 InetAddress.getLocalHost() 解析地址

ARJUNA012210: Unable to use InetAddress.getLocalHost() to resolve address

在域模式下启动我的 JBoss 时(第一个实例),我在控制台中收到 WARN 作为 server.log 的一部分....

我很想知道是什么导致了这个问题......是否需要纠正......如果没有针对此警告进行任何修复意味着什么...... ..

[Server:server-two] 13:55:55,198 WARN [com.arjuna.ats.arjuna] (Transaction Expired Entry Monitor) ARJUNA012210: Unable to use InetAddress.getLocalHost() to resolve address.

缺少主机条目。在 hosts 文件中输入...

如果您的系统是windows,Start->Run->Drivers -> 并在 etc/hosts 中创建主机条目(需要管理员权限才能编辑 hosts 文件)

如果您的系统是基于 UNIX 的, ->打开文件 $sudo vim /etc/hosts 并创建主机条目。

在当前场景中,主机条目用于本地系统,在 UNIX 运行 $ifconfig 和 Windows 运行 [=16= 中获取本地系统 ip ] 在命令提示符下。