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 文件夹下创建了一个名为 embeddedldap.lok 的文件。
如果该文件存在,则服务器不能启动,并将看到下列错误:    如我的在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.>

解决办法:
为避免此错误,应确保没有没有启动其它进程或访问此文件并将它删除。
  
在关机时通常会对此文件进行解锁,但如果上次发生了异常关机(如崩溃),则可能未正确解锁此文件,从而在下次启动时产生此类错误。

 但很有可能是删除不掉的,因为有进程还在用他,用unlocker删除或者解锁就行。
绿色Unlocker 1.8.8 官方中文绿色修改版_ 最好的顽固软件删除工具下载地址:
http://www.xdowns.com/soft/softdown.asp?softid=30377

启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory的更多相关文章

  1. java调用执行cmd指令启动weblogic

    这里的例子是启动weblogic import java.io.BufferedReader; import java.io.IOException; import java.io.InputStre ...

  2. eclipse启动时报告错误:Java was started but returned exit code=-805306369

    这两天也没改过eclipse和java的配置,但eclipse启动时报告错误:Java was started but returned exit code=-805306369 后来在eclipse ...

  3. 后台启动weblogic成功后,在web浏览器上无法访问

    后台启动weblogic成功后,在web浏览器上无法访问,可尝试重启服务器.

  4. 在本地计算机无法启动MYSQL服务错误1067进程意外终止

    在本地计算机无法启动MYSQL服务错误1067进程意外终止 这种情况一般是my.ini文件配置出错了, 你可以删除系统目录下的my.ini文件, 把下面的内容重新写入my.ini文件试试, 要适当地改 ...

  5. 转:配置nodemanager启动weblogic服务器

    下面仅供参考,里面表格还有文件目录我是写的linux,刚刚看到原作者是windows, 后面我会把自己配置nodemanager的经过记录上来,我搞得是linux. (一)通过nodemanager本 ...

  6. MySQL安装过程net start mysql 启动失败 报“错误2,系统找不到文件”的解决办法

    MySQL安装过程net start mysql 启动失败 报“错误2,系统找不到文件”的解决办法 错误2,系统找不到文件. 开始...运行... regedit  注册表项: HKEY_LOCAL_ ...

  7. MYSQL启动报1067错误,系统日志中是“服务 mysql 意外停止” Mysql日志中则是:“Plugin \'FEDERATED\' is disabled”

    MYSQL启动报1067错误,系统日志中是"服务 mysql 意外停止" Mysql日志中则是:"Plugin \'FEDERATED\' is disabled&quo ...

  8. Mysql 本地计算机无法启动 mysql 服务 错误 1067:进程意外终

    1.重装后启动mysql服务,提示 本地计算机无法启动 mysql 服务 错误 1067:进程意外终止. 2.查看mysql根目录下有一 计算机名.err 打开一看全是英文的错误提示: 3.根据其中的 ...

  9. windows无法启动MySQL服务 错误1067

    启动wampmysqld 出现 1067 错误 解决方法:删除在MySQL安装目录下的Data目录中的ib_logfile0和ib_logfile1这两个文件. 重新启动MySQL服务

随机推荐

  1. 使用 nc (Netcat) 建立傳送資料的 socket server

    原文:http://blog.longwin.com.tw/2012/02/nc-data-send-socket-server-2012/ 於 Debian / Ubuntu Linux 想要透過 ...

  2. Android之把手机的3g流量共享出来让其他人连接这个wifi

    转自:http://blog.csdn.net/luoboo525/article/details/7883998   亲测可用 用过快牙的朋友应该知道它们在两天设备之间传输文件的时候使用的是wifi ...

  3. xcode中嵌入framework(接入快用最新SDK遇到的问题)

      但xcode设置中并没有找到Embed Frameworks这个选项,使用以下方式添加 当遇到dyld: Library not loaded:xxxx  Reason: image not fo ...

  4. Apache和tomcat服务器使用ajp_proxy模块

    首先我们先介绍一下为什么要让Apache与Tomcat之间进行连接.事实上Tomcat本身已经提供了HTTP服务,该服务默认的端口是8080,装好tomcat后通过8080端口可以直接使用Tomcat ...

  5. Spring 4.3.2下实现http多次断点下载

    其实跟 spring 无关,如果是直接下载资源很多 web sever 不用程序就直接实现了断点. 但我们的应用是 download?url=xxxx 这种方式 下载资源由 download 来负责, ...

  6. PreparedStatement ResultSet

    public int searchProblemDistinctCount() throws Exception { DBOperator dbo = getDBOperator(); try { P ...

  7. Apache Error: Invalid command ‘Allow’, perhaps misspelled or defined by a module not included in the server configuration

    在一个Window Server 2008R2系统上使用Apache架设了一个PHP的网站项目 在配置Apache的过程中出现了以下问题   根据上面的提示说是没有相应的权限,那就在虚拟主机里进行了配 ...

  8. 直接使用提交过来的类来更新字段EntityState.Modified并过滤null值的方法

    public T Update<T>(T entity) where T : ModelBase { var set = this.Set<T>(); set.Attach(e ...

  9. OpenSSL命令---pkcs8

    用途: pkcs8格式的私钥转换工具.它处理在PKCS#8格式中的私钥文件.它可以用多样的PKCS#5 (v1.5 and v2.0)和 PKCS#12算法来处理没有解密的PKCS#8 Private ...

  10. 搭建mongodb集群(副本集+分片)

    搭建mongodb集群(副本集+分片) 转载自:http://blog.csdn.net/bluejoe2000/article/details/41323051 完整的搭建mongodb集群(副本集 ...