weblogic控制台启动报错

今天接到工程师电话,客户应用访问报错,weblogic控制台打开失败。
1、检查weblogic控制台进程未启动。
2、启动weblogic控制台,启动失败。
3、检查weblogic控制台启动日志,发现:
<Jul 30, 2021 4:38:25 PM CST> <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 A d d r e s s M a k e r . g e t L o c a l H o s t ( A d d r e s s U t i l s . j a v a : 38 ) a t w e b l o g i c . s e r v e r . c h a n n e l s . A d d r e s s U t i l s AddressMaker.getLocalHost(AddressUtils.java:38) at weblogic.server.channels.AddressUtils AddressMaker.getLocalHost(AddressUtils.java:38)atweblogic.server.channels.AddressUtilsAddressMaker.(AddressUtils.java:33)
at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:61)
at weblogic.server.channels.ChannelService.start(ChannelService.java:209)
Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: ***..edu.cn: ..edu.cn: System error
at java.net.InetAddress.getLocalHost(InetAddress.java:1505)
at

在hosts文件添加报错的信息后文件解决。
127.0.0.1 ***.***.edu.cn

注:无法理解,不清楚为什么需要添加,报错的域名信息在服务器上ping 是正常的
在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值