• Weblogic常见报错以及解决方法


    1、管理节点报错BEA-000386

    通过nohup ./startWebLogic.sh  &命令启动管理节点后,tail -f nohup.out查看日东日志,发现日志上存在BEA-000386报错,具体日志如下:

    <2019-10-12 下午05时22分21秒 CST> <Notice> <WebLogicServer> <BEA-0OO365> <Server state changed to STARTING
    >
    <2019-10-12 下午05时22分21秒 CST> <Info> <WorkManager>
    <BEA-002900> initializing self-tuning thread poo1>
    <2019-10-12 下午05时22分21秒 CST> <Notice> <Log Management <BEA-170019>
    <2019-10-12 下午05时22分22秒 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.<Notice>
    <BEA-170019> <The server log file 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)

    日志上有一个描述很重要,Could not obtain the localhost address

    发现是由于/etc/hosts没有配置本机服务地址导致出现此错误。

    原始配置:

    [root@weblogic1 ~]# cat /etc/hosts
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1
    localhost localhost.localdomain localhost6 localhost6.localdomain6

    增加主机名和eth0对应关系,修改如下:

    [root@weblogic1 ~]# cat /etc/hosts
    127.0.0.1 localhost
    192.168.101.2 weblogic1

    2、Managed节点BEA-141196报错
    <Dec 8, 2018 3:55:40 PM PST> <Error> <Management> 
    <BEA-141196> <The managed server could not update the configuration files during the registration with the deployment service.
    The update failed due to an exception:
    weblogic.management.DeploymentException: Exception occured while downloading files
    参照网上资料将管理节点目录/Oracle/Middleware/user_projects/domains/admindomain/security/SerializedSystemIni.dat的文件拷贝到
    受控服务器security对应目录下,再次重启,被管节点正常启动。

     3  BEA-090402和BEA-000386

    密码问题也是weblogic启动过程中出现概率较多的问题,管理节点重启出现如下报错

    nohup ./startWebLogic.sh &

    <Apr 16, 2019 2:50:46 PM CST> <Critical> <Security>
    <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created.
    Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
    <Apr 16, 2019 2:50:46 PM CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid;
    The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server,
    these new values are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created.
    Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:960)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888)at weblogic.security.SecurityService.start(SecurityService.java:141)at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktraceCaused By: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User weblogic javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User weblogic deniedat weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)at java.security.AccessController.doPrivileged(Native Method)at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)Truncated. see log file for complete stacktrace>
     
     
  • 相关阅读:
    定位公众号页面,跳转之后 vuejs 失效问题
    Java发展前景与职业方向解析
    Java中BIO,NIO,AIO的理解
    Java中最常见的十道面试题
    java策略模式
    细思极恐-你真的会写java吗?
    Java中最常见的十道面试题
    细思极恐-你真的会写java吗?
    如何突破 Java 程序员的分水岭
    35 个 Java 代码性能优化总结
  • 原文地址:https://www.cnblogs.com/vzhangxk/p/14637710.html
Copyright © 2020-2023  润新知