WebSphere 控制檯打不開,報錯:Couldn't flush user prefs
阿新 • • 發佈:2018-11-13
日誌:
[10/15/18 10:44:36:038 CST] 00000001 ManagerAdmin I TRAS0017I: The startup trace state is *=info. [10/15/18 10:44:36:907 CST] 00000001 AdminTool A ADMU0128I: Starting tool with the AppSvr05 profile [10/15/18 10:44:36:934 CST] 00000001 AdminTool A ADMU3100I: Reading configuration for server: nodeagent [10/15/18 10:44:37:279 CST] 00000001 ModelMgr I WSVR0801I: Initializing all server configuration models [10/15/18 10:44:47:824 CST] 00000001 SSLConfig W CWPKI0041W: One or more key stores are using the default password. [10/15/18 10:44:47:970 CST] 00000001 SSLConfigMana I CWPKI0027I: Disabling default hostname verification for HTTPS URL connections. [10/15/18 10:44:49:380 CST] 00000001 AdminTool A ADMU3201I: Server stop request issued. Waiting for stop status. [10/15/18 10:44:57:728 CST] 00000013 prefs W Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. [10/15/18 10:45:27:727 CST] 00000013 prefs W Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. [10/15/18 10:45:57:727 CST] 00000013 prefs W Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. [10/15/18 10:46:27:728 CST] 00000013 prefs W Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. Caused by: com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot create a SOAP connector to connect to host 127.0.0.1 at port 8881.
錯誤體現在此時dmgr是開啟的,但是控制檯無法開啟。同時也無法關閉節點。
解決方法:這個錯誤是由於在建立管理概要、應用概要的時候沒有顯式的指定hostname。hostname即為linux主機名。如果是叢集的情況,還需要將主機資訊配置到 /etc/hosts 檔案中。