请问weblogic这是报的什么错误呢?
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我之前出现过是由于你已经有weblogic的进程在运行,你得先kill掉之前的进程,然后在启动
ps -ef|grep java 确保上一个java进程已经退出,上面的异常信息的意思就是:./myserver/ldap/ldapfiles被上一个未完全退出的java进程独占. k等一会儿如果上一个java进程还没退出,可能是做清除Session等操作,如果非生产环境,kill -9 强制杀死进程即可,这样进程退出的就快一些了.