是不是你的Weblogic曾异常退出,所以有的资源没有正常释放呢~~~

解决方案 »

  1.   

    看看在你的系统中是否已经启动一个weblogic服务,可以关掉以前的weblogic服务如果没有
    你到工作管理員, 找javaw.exe, 把它刪掉, server 再起看看應該就可以了..
      

  2.   

    在 domain/server/ldap/ldapfiles 文件夹下创建了一个名为 embeddedldap.lok 的文件。
    如果该文件存在,则服务器不能启动,并将看到下列错误:
     <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.>为避免此错误,应确保没有没有启动其它进程或访问此文件并将它删除。
    在关机时通常会对此文件进行解锁,但如果上次发生了异常关机(如崩溃),则可能未正确解锁此文件,从而在下次启动时产生此类错误。