请问weblogic这是报的什么错误呢?

发布于 2022-08-23 19:05:41 字数 6509 浏览 9 评论 2

weblogic启动的时候显示的内容如下,请大家帮忙看看这是什么错误呢?谢谢了先!

[weblogic@localhost mydomain]$ ./startWebLogic.sh
.
CLASSPATH=/home/weblogic/bea/jdk142_08/lib/tools.jar:/home/weblogic/bea/weblogic81/server/lib/weblogic_sp.jar:/home/weblogic/bea/weblogic81/server/lib/weblogic.jar::/home/weblogic/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/home/weblogic/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/home/weblogic/bea/jdk142_08/jre/lib/rt.jar:/home/weblogic/bea/weblogic81/server/lib/webservices.jar:/home/weblogic/bea/jdk142_08/jre/lib
.
PATH=/home/weblogic/bea/weblogic81/server/bin:/home/weblogic/bea/jdk142_08/jre/bin:/home/weblogic/bea/jdk142_08/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/weblogic/bin:/home/weblogic/bea/jdk142_08/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://[hostname]:[port]/console    *
***************************************************
<2010-3-9 下午02时20分02秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.2_08-b03 from Sun Microsystems Inc.>
<2010-3-9 下午02时20分02秒 CST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<2010-3-9 下午02时20分02秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358
WebLogic XMLX Module 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358 >
<2010-3-9 下午02时20分02秒 CST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at /home/weblogic/bea/user_projects/domains/mydomain/./config.xml.>
<2010-3-9 下午02时20分03秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/bea/user_projects/domains/mydomain/myserver/myserver.log is opened. All server side log events will be written to this file.>
<2010-3-9 下午02时20分03秒 CST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: ./myserver/ldap/ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2010-3-9 下午02时20分13秒 CST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: ./myserver/ldap/ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2010-3-9 下午02时20分23秒 CST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: ./myserver/ldap/ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2010-3-9 下午02时20分33秒 CST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: ./myserver/ldap/ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2010-3-9 下午02时20分43秒 CST> <Error> <EmbeddedLDAP> <BEA-171519> <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.>
<2010-3-9 下午02时20分43秒 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.
        at weblogic.ldap.EmbeddedLDAP.ensureExclusiveAccess(EmbeddedLDAP.java:960)
        at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:222)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
>
<2010-3-9 下午02时20分43秒 CST> <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: ./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.>
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: '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.'
Reason: 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@localhost mydomain]$

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

踏月而来 2022-08-31 08:18:42

我之前出现过是由于你已经有weblogic的进程在运行,你得先kill掉之前的进程,然后在启动

小清晰的声音 2022-08-25 14:36:06

ps -ef|grep java  确保上一个java进程已经退出,上面的异常信息的意思就是:./myserver/ldap/ldapfiles被上一个未完全退出的java进程独占. k等一会儿如果上一个java进程还没退出,可能是做清除Session等操作,如果非生产环境,kill -9 强制杀死进程即可,这样进程退出的就快一些了.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文