weblogic啟動服務器Authentication denied: Boot identity not valid


新分配的測試服務器,已經安裝好了weblogic,使用命令nohub ./startWeblogic.sh啟動weblogic沒有問題

登錄控制台,點擊環境-服務器-新建,一步步完成后,點擊部署、選擇路徑、選擇服務器,使用腳本啟動該新建的節點服務器

報如下錯誤,新接手的服務器,第一次啟動自己創建的節點服務器,在這之前不知道做過什么操作

weblogic.security.SecurityInitializationException:Authentication denied: Boot identity not valid.The user name or password or both from the boot 
identity file (boot.properties) is not valid. The bootidentity may have bean changed since the boot identity file was created. Please edit and update
the identity file with the proper values of username amd password. The first time the update boot identity file is used to start the sever, these new
values are encrypted.

 

看字面意思是boot.properties(weblogic/Oracle/Middleware/user_projects/domain/base_name/servers/AdminServer/security/boot.properties)里保存的用戶名密碼驗證不通過,但是 AdminServer 程序正常啟動,而自己建的節點服務就有問題,很奇怪。

於是,把 AdminServer 的這個文件,復制到自己建的節點服務器下面,再啟動也不行。

解決辦法是:

1、把AdminServer停掉,即把weblogic停掉

2、然后修改boot.properties文件,把用戶名密碼的原有值刪掉(加密的),寫成明文的(再啟動時會自動加密)。

3、然后再啟動weblogic即啟動AdminServer程序(怎么啟動?nohub ./startWeblogic.sh & tail -f nohup.out  后台啟動weblogic並查看啟動日志。)

4、第3步成功后,把這個boot.properties文件的內容復制到自己建的節點服務的對應目錄的boot.properties中,然后啟動自己的節點服務即可。

 

嘗試過的方法

在解決這個問題的過程中也是花費了很長時間,百度了很多解決辦法也都是不行,和我使用的方法類似。

總結起來有:

第1種:在控制台里點【安全領域】-【點自己的realm】-【用戶和組】-【點擊自己的用戶】-【點擊口令】,重新輸入用戶名密碼保存。我試了不行

第2種:把weblogic/Oracle/Middleware/user_projects/domain/base_name/servers/AdminServer/security/下的文件和weblogic/Oracle/Middleware/user_projects/domain/base_name/servers/AdminServer//data/ldap目錄都刪了,然后重啟。這個我試了也不行,直接導致我weblogic起不來,所以刪除之前做好備份

第3種:在第2種基礎上,把所有servers下的節點服務對應的兩個文件夾下的都要刪除。這個更不行


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM