启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory...
http://hi.baidu.com/kaisep/item/0e4bf6ee5da001d1ea34c986 源地址
啟動weblogic的錯誤:Could not obtain an exclusive lock to the embedded LDAP data files directory
啟動weblogic時報以下錯誤:
<2004-12-22 上午05時25分29秒 CST> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\myserver\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\myserver\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.???
--------------------------------
問題的原因:
在 domain/server/ldap/ldapfiles 文件夾下創(chuàng)建了一個名為 embeddedldap.lok 的文件。
如果該文件存在,則服務(wù)器不能啟動,并將看到下列錯誤:??? 如我的在zhcx_domain\zhcx_server\ldap\ldapfiles下面有此文件
??????????
<Emergency> <WebLogicServer> <BEA-000342>
<Unable to initialize the server: weblogic.server.ServiceFailureException:
Could not obtain an exclusive lock to the embedded LDAP data files directory:
./server1/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
<Emergency> <WebLogicServer> <BEA-000342>
<Unable to initialize the server: weblogic.server.ServiceFailureException:
Could not obtain an exclusive lock to the embedded LDAP data files directory:
./server1/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
解決辦法:
為避免此錯誤,應(yīng)確保沒有沒有啟動其它進(jìn)程或訪問此文件并將它刪除。
??
在關(guān)機時通常會對此文件進(jìn)行解鎖,但如果上次發(fā)生了異常關(guān)機(如崩潰),則可能未正確解鎖此文件,從而在下次啟動時產(chǎn)生此類錯誤。
但很有可能是刪除不掉的,因為有進(jìn)程還在用他,用unlocker刪除或者解鎖就行。
綠色Unlocker 1.8.8 官方中文綠色修改版_ 最好的頑固軟件刪除工具下載地址:
http://www.xdowns.com/soft/softdown.asp?softid=30377
轉(zhuǎn)載于:https://www.cnblogs.com/davidwang456/p/3298238.html
總結(jié)
以上是生活随笔為你收集整理的启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory...的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 转载--CentOS 6.3下部署LVS
- 下一篇: 《高性能网站构建实战》 目录--转