Weblogic在启动的时“./myserver/ldap/ldapfiles”文件锁定异常

在Weblogic中新建了一个domain,电脑没有关之前没有任何错误,但是电脑一重启之后,再去启动Webligc的domain就会出现启动文件被锁定的错误。

 <2008-10-23 上午09时05分28秒 CST> <Critical> <WebLogicServer> <BEA-000364> <Serv
er failed during initialization. Exception:weblogic.server.ServiceFailureExcepti
on: Could not obtain an exclusive lock to the embedded LDAP data files directory
: .\myserver\ldap\ldapfiles because another WebLogic Server is already using thi
s directory. Ensure that the first WebLogic Server is completely shutdown and re
start the server.
weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to t
he 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.
        at weblogic.ldap.EmbeddedLDAP.ensureExclusiveAccess(Ljava/lang/String;)V
(EmbeddedLDAP.java:960)
        at weblogic.ldap.EmbeddedLDAP.initialize()V(EmbeddedLDAP.java:222)
        at weblogic.t3.srvr.T3Srvr.initializeHere()V(T3Srvr.java:815)
        at weblogic.t3.srvr.T3Srvr.initialize()V(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run([Ljava/lang/String;)I(T3Srvr.java:343)
        at weblogic.Server.main([Ljava/lang/String;)V(Server.java:32)
>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

解决方法1:先在进程中结束beasvc,然后删除bea/user_projects/domains/mydomain/myserver/ldap/ldapfiles下的EmbeddedLDAP.lok文件

解决方法2:再建一个domain

解决方法3:出现这样的问题是当计算机启机时把weblogic中的beasvc.exe当成一个服务自动起来的,所以当再一次启动Weblogic的start server时,系统会提示已经有一个weblogic启来了.因此只要在服务中把beasvc.exe禁用就可 以了.

转载于:https://www.cnblogs.com/dshjava/archive/2008/10/23/1317447.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值