04.weblogic注意事项

1.错误及解决方案

1.1

<Nov 12, 2017 9:14:24 PM 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: lichao2: lichao2: Temporary failure in name resolution

         at java.net.InetAddress.getLocalHost(InetAddress.java:1475)

         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

Caused By: java.net.UnknownHostException: lichao2: Temporary failure in name resolution

         at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

         at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)

         at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1295)

         at java.net.InetAddress.getLocalHost(InetAddress.java:1471)

         at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:36)

         Truncated. see log file for complete stacktrace

>

原因:找不到主机名

解决方法:到/etc/hosts下添加IP  主机名

1.2 

原因:线程阻塞超时

解决方案:修改阻塞线程最长时间

2.weblogic的jdk修改方式

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值