日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
Couldnotobtainthelocalhostaddress...解決方法

Weblogic:Could not obtain the localhost address…解決方法

成都創(chuàng)新互聯(lián)公司主營(yíng)橋西網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司,主營(yíng)網(wǎng)站建設(shè)方案,APP應(yīng)用開(kāi)發(fā),橋西h5微信小程序開(kāi)發(fā)搭建,橋西網(wǎng)站營(yíng)銷推廣歡迎橋西等地區(qū)企業(yè)咨詢

啟動(dòng)Weblogic報(bào)錯(cuò):

 
 
  1. java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine. 
  2.  at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:40) 
  3.  at weblogic.server.channels.AddressUtils$AddressMaker.(AddressUtils.java:35) 
  4.  at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105) 
  5.  at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60) 
  6.  at weblogic.server.channels.ChannelService.start(ChannelService.java:197) 
  7.  Truncated. see log file for complete stacktrace 
  8. java.net.UnknownHostException: bogon: bogon 
  9.  at java.net.InetAddress.getLocalHost(InetAddress.java:1354) 
  10.  at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38) 
  11.  at weblogic.server.channels.AddressUtils$AddressMaker.(AddressUtils.java:35) 
  12.  at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105) 
  13.  at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60) 
  14.  Truncated. see log file for complete stacktrace 

解決方法:

修改hosts文件

 
 
  1. $:vi /etc/hosts 
  2. #添加 IP hostname ($:hostname 查詢) 
  3. 127.0.0.1 localhost.localdomain localhost 
  4. 127.0.0.1 localhost6.localdomain6 localhost6 
  5. 127.0.0.1 bogon #這里就是我添加的,我的主機(jī)名就是bogon 

【本文是專欄作者張勇波的原創(chuàng)文章,轉(zhuǎn)載請(qǐng)通過(guò)獲取作者授權(quán)】


網(wǎng)頁(yè)題目:Couldnotobtainthelocalhostaddress...解決方法
文章起源:http://www.5511xx.com/article/ccdeppd.html