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

  • 相关阅读:
    MySQL存储过程和函数
    MySQL数据类型
    MySQL—基础(SQL语句)
    如何将一串字符串按照某个特定的字符分割后倒叙输出,如:www.baidu.com输出为com.baidu.www
    JAVA WEB数据中文编码问题
    如何用一条SQL语句从登录日志表中查询统计出每个人登录的次数
    JAVA WEB tomcat启动关闭问题
    thinkphp知识点
    smarty模板内容
    smarty基础
  • 原文地址:https://www.cnblogs.com/hujiapeng/p/8145598.html
Copyright © 2011-2022 走看看