2013-12-13 61 views
4

當我嘗試從本地計算機啓動weblogic服務器(該服務器在另一臺服務器上運行)時,出現以下錯誤。我可以停止這個weblogic服務器沒有任何問題,但我無法啓動。 boot.properties文件中有用戶名和密碼字段,但我不知道它們是什麼。有什麼想法嗎?遠程weblogic服務器身份異常

<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:873) 
at weblogic.security.SecurityService.start(SecurityService.java:148) 
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) 
Truncated. see log file for complete stacktrace 

回答

1

您可以在您的boot.properties文件中保存用戶名和密碼。

在生產模式下,boot.properties文件不存在。需要在

中創建這個文件
$DOMAIN_HOME/servers/AdminServer/security 

我覺得你需要檢查這個路徑和這個屬性。可能是密碼或用戶名不正確。

Here is link其中顯示瞭如何創建和找到這個propreties。

如果它沒有找到或無法改寫它,就可以啓動服務器,而不boot.properties文件:

java -Dweblogic.management.username=username-Dweblogic.management.password=password -Dweblogic.system.StoreBootIdentity=true -Dweblogic.Name=myAdminServer weblogic.Server 

這個劇本,我發現this page.


編輯:

現在我在anotherforum中發現了一些有用的提示。

  1. 編輯boot.properties文件,使用純文本用戶名和密碼,而不是像加密:
    用戶名:weblogic的 密碼:Weblogic1
    啓動命令行服務器後,它將再次加密automitically。
  2. 完全刪除ManagedServerDir/data/ldap目錄。
  3. 在刪除文件之前始終保留文件的備份
  4. 現在嘗試從命令提示符啓動服務器,並提供用於登錄到管理控制檯的用戶名/密碼。

,發現了這個提示從weblogictips user of same forum

我想起以前嘗試這些技巧,你應該檢查你的身份驗證提供域。如果是外部的,則可能需要重置外部ldap的密碼。

如果本地存在,還要移動ldap目錄和boot.properties文件。

服務器通過管理 控制檯/ WLST啓動的情況下,

唯一的區別是,你必須移動節點管理器目錄也 目前是doamin_home /服務器/ MS1 /數據/節點管理器


我希望這些提示對你有所幫助。如果沒有,請嘗試刪除用戶名和密碼(不要需要刪除的文件username=)所有boot.properties文件,並從開始啓動......

+0

我有boot.properties文件,我保存了我的用戶名和密碼,但錯誤仍然存​​在。問題是我可以在本地啓動這個weblogic服務器,但是我無法遠程啓動它。我需要額外做些什麼嗎? – hellzone

+0

你有簡單的管理服務器或更多的服務器?你可以檢查節點管理器的boot.properties?你可以在'DOMAIN_HOME/servers/server_name/data/nodemanager'找到。 – herry

+0

但是,如果您可以在本地啓動weblogic,則不是錯誤的用戶名/ passworld問題。你如何啓動本地weblogic以及如何遠程? – herry

2

只是刪除文件,該文件是ManagedServerDir /數據/ LDAP &重啓域YOURDOMAIN/bin ./startWeblogic.sh