java.net.UnknownHostException

在weblogic部署项目时,启动ManagedServer失败,状态显示:failed_not_restartable,查看log:
<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.
......
Caused By: java.net.UnknownHostException: rp-dev17.ads.corp: rp-dev17.ads.corp
......

重新检查 <weblogic-domain>/config/config.xml ,找到相应server节点,核对并修改
<listen-address></listen-address> 的内容。

猜你喜欢

转载自lliu26.iteye.com/blog/1845000
今日推荐