這是錯誤提示:
<Server failed during initialization. Exception:weblogic.server.ServiceFailureExcept
ion: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot]
java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:266)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:814)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server
- with nested exception:
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:276)
>
<2004-11-4 17時50分23秒 GMT+08:00> <Emergency> <WebLogicServer> <BEA-000342> <Un
able to initialize the server: weblogic.server.ServiceFailureException: Error in
itializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot]>
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.server.ServiceFailureException: Error initializing E
mbedded LDAP Server - with nested exception:
[java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot]'
Reason: weblogic.server.ServiceFailureException: Error initializing Embedded LDA
P Server - with nested exception:
***************************************************************************
錯誤原因:
在用root使用者啟動weblogic的時候會在base_domain裡産生root權限的檔案,或者用root權限的檔案覆寫了部分原來存在的 weblogic使用者所屬檔案,當再次切換到weblogic使用者後,啟動的時候就會出現權限問題,是以報告上面的錯誤。這個錯誤就是因為 EmbeddedLDAP.tran檔案的權限變成了root的。
錯誤解決:
修改相應檔案和檔案夾的權限即可。
本文轉自 斯然在天邊 51CTO部落格,原文連結:http://blog.51cto.com/winters1224/799025,如需轉載請自行聯系原作者