启动Weblogic报java.net.UnknownHostException

<Critical> <WebLogicServer> <BEA-000386> <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:localhost: localhost
开始怀疑:查看权限是否够 (root启动仍然一样报错)
------解决方法--------------------------------------------------------
Could not obtain the localhost address.....
网络问题,你所在网络IP获取是不是有限制?
---上网找到---解决方法--------------------------------------------------------
我在Rehdat 5.0下面安装WLS 9.2也碰到同样问题,解决方法如下:
第一步:检查/etc/hosts文件,看是否包含如下语句,如果没有需要加入:
127.0.0.1 localhost.localdomain localhost
第二步:如果做了第一步以后依然报错,需要将虚拟机从JRocket换成Sun的JDK就可以了
经查,发现文件包含127的配置。但发现实际的IP与主机名不对应。修改后,再启动即可。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值