LINUX運維之Weblogic無密碼啓動

一、將weblogic設置爲開發者模式node

domains/base_domain/bin/setDomainEnv.sh:web

PRODUCTION_MODE="false"dom


domains/base_domain/config/config.xml:ide

<production-mode-enabled>false</production-mode-enabled>   ----刪除server

  <!-- username=weblogic ; password=ghca3a12 -->xml

 <default-realm>myrealm</default-realm>blog

     <credential-encrypted>ghca3a12</credential-encrypted> 開發


    <node-manager-username>weblogic</node-manager-username>it

    <node-manager-password-encrypted>ghca3a12</node-manager-password-encrypted>io

  </security-configuration>

  <server>

    <name>AdminServer</name>

    <listen-address/>

  </server>

  <embedded-ldap>

    <name>base_domain</name>

    <credential-encrypted>ghca3a12</credential-encrypted>

  </embedded-ldap>


二、建立boot.properties

domains/base_domain/security

vi boot.properties

password=ghca3a12

username=weblogic

建立security目錄以及boot.properties

domains/base_domain/servers/AdminServer/security

vi boot.properties

password=ghca3a12

username=weblogic


三、若是新安裝的domain報如下錯誤則就是密碼致使的

Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user  denied

weblogic.security.SecurityInitializationException: Authentication for user  denied


四、將開發者模式修改成生產者模式

domains/base_domain/bin/setDomainEnv.sh:

PRODUCTION_MODE="true"

相關文章
相關標籤/搜索