Could not obtain the localhost address...解决方法
来源:互联网 发布:机器人算法有哪些 编辑:程序博客网 时间:2024/05/01 16:41
启动Weblogic报错:
<Server subsystem failed. Reason: java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:40)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105)
at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
at weblogic.server.channels.ChannelService.start(ChannelService.java:197)
Truncated. see log file for complete stacktrace
java.net.UnknownHostException: bogon: bogon
at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105)
at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
Truncated. see log file for complete stacktrace
>
解决方法:
修改hosts文件
$:vi /etc/hosts
#添加 IP hostname ($:hostname 查询)
127.0.0.1 localhost.localdomain localhost
127.0.0.1 localhost6.localdomain6 localhost6
127.0.0.1 bogon #这里就是我添加的,我的主机名就是bogon
<Server subsystem failed. Reason: java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.net.UnknownHostException: bogon: bogon
>
解决方法:
修改hosts文件
$:vi /etc/hosts
#添加 IP hostname
127.0.0.1
127.0.0.1
127.0.0.1
0 0
- Could not obtain the localhost address...解决方法
- weblogic启动失败:Could not obtain the localhost address 解决办法
- weblogic启动失败:Could not obtain the localhost address 解决办法
- The Genymotion virtual device could not obtain an IP address
- 改主机名后启weblogic失败,Could not obtain the localhost address. The most likely cause is an error in the ne
- IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- [INS-06101] IP address of localhost could not be determined 解决方法
- Could not obtain transaction-synchronized Session for current thread解决方法
- [INS-06101] IP address of localhost could not be determined
- Could not obtain connection to any of these urls: localhost:1099
- Could not obtain connection metadata
- Could not obtain connection metadata
- 先复习线代知识吧!
- Weblogic在Linux上创建域
- 数据结构(九)
- 百度首次发布3D地图 杨洋导航语音完整版上线
- Memcache - Memcache监控小工具stats命令
- Could not obtain the localhost address...解决方法
- Android中Java和JavaScript交互
- 谁是组长
- BIGBANG
- DLSODE 计算微分方程组会遇到的一些问题解析
- OCR手机证件扫描光学字符识别
- Java的hashCode()函数
- DMA的初始化
- strtok()函数:字符串分割