zoukankan      html  css  js  c++  java
  • weblogic创建域生产模式,输入用户名闪退

    weblogic创建域,生产模式,报错

    <2017-12-29 下午04时53分59秒 CST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:weblogic

    <2017-12-29 下午04时54分08秒 CST> <Error> <Security> <BEA-090782> <Server is Running in Production Mode and Native Library(terminalio) to read the password securely from commandline is not found.>
    <2017-12-29 下午04时54分08秒 CST> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
    <2017-12-29 下午04时54分08秒 CST> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>
    <2017-12-29 下午04时54分08秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

    明显是无法获取到密码

    解决方案一:设置可以前台输入密码

    编辑新建的域下的setDomainEnv.cmd文件(D:OracleMiddlewareuser_projectsdomainsdomain1insetDomainEnv.cmd)

    修改

    if "%PRODUCTION_MODE%"=="true" (
    set JAVA_OPTIONS= -Dweblogic.ProductionModeEnabled=true %JAVA_OPTIONS%
    )

    if "%PRODUCTION_MODE%"=="true" (
    set JAVA_OPTIONS= -Dweblogic.management.allowPasswordEcho=true %JAVA_OPTIONS%
    )

    启动startWeblogic.cmd,需要输入用户名和密码

    解决方案二:配置用户名密码,启动自动登录

    在新建的域下,serversAdminServersecurity下创建boot.properties文件(D:OracleMiddlewareuser_projectsdomainsdomain1serversAdminServersecurityoot.properties;如果没有就自己创建),写入username和password

    新创建的域下bin下startWeblogic.cmd启动weblogic

  • 相关阅读:
    精彩回顾 | Serverless Developer Meetup 12.04 深圳站
    Dubbo3 Triple 协议简介与选型思考
    阿里云 FaaS 架构设计与创新实践
    KubeDL 0.4.0 Kubernetes AI 模型版本管理与追踪
    shell脚本awk的用法
    case用法ping命令脚本(工作中常用的)
    linux时间与internet时间同步
    bootStrap表单验证插件的使用
    状态模式之观察者模式
    20211125
  • 原文地址:https://www.cnblogs.com/hujiapeng/p/8145598.html
Copyright © 2011-2022 走看看