改主机名后启weblogic失败,Could not obtain the localhost address. The most likely cause is an error in the ne
来源:互联网 发布:六年级数学辅导软件 编辑:程序博客网 时间:2024/05/17 08:03
今天部署环境时,启动WEBLOGIC报错:
<2010-7-24 上午05时42分00秒 CST> <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.at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(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:207)
Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: db: db
at java.net.InetAddress.getLocalHost(InetAddress.java:1360)
at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:36)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:61)
Truncated. see log file for complete stacktrace
>
检查发现,原来是上次弄数据库集群时,改了主机名导致。
处理办法:
在/etc/hosts文件内加入127.0.01 <hostname>
如:我这里是
[root@db etc]# cat hosts
127.0.0.1 db
0 0
- 改主机名后启weblogic失败,Could not obtain the localhost address. The most likely cause is an error in the ne
- weblogic启动失败:Could not obtain the localhost address 解决办法
- weblogic启动失败:Could not obtain the localhost address 解决办法
- Could not obtain the localhost address...解决方法
- The Genymotion virtual device could not obtain an IP address
- 启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory
- Which of the following expression(s) will NOT cause an error when used to replace the ***** in the C
- not an error (code 0): Could not open the database in read/write mode.的解决办法
- SQLiteException: not an error (code 0): Could not open the database in read/write mode
- Error:(1, 0) Your project path contains non-ASCII characters. This will most likely cause the build
- Error:(1, 0) Your project path contains non-ASCII characters. This will most likely cause the build
- Could not obtain an exclusive lock to the embedded LDAP data files
- Eclipse启动后Weblogic Servers报错 [Could not create the view: An unexpected exception was thrown.]
- Your project path contains non-ASCII characters. This will most likely cause the build to fail
- java.lang.Error: ERROR: it turns out the root cause is not always a runtime exception!
- The profile weblogic-maven-plugin specified is not present in the configuration as specified in null
- what is the most important in life
- the command could not be located because '/bin' is not included in the path environment variable
- android 系统内置拍照功能
- 杭电oj——小蜜蜂有感
- 自定义button
- iOS开发:什么是Bonjour
- Android剪贴板操作
- 改主机名后启weblogic失败,Could not obtain the localhost address. The most likely cause is an error in the ne
- UML相关工具一览
- js键盘事件
- JS获取搜索引擎来路关键词 JS
- hadoop单表关联
- 设计模式之工厂模式系列(简单工厂,工厂模式,抽象工厂模式)
- 监控EditText中的输入内容并限制其输入字符个数
- C#的TreeView控件使用小结
- xcode