| 分类: IT笔记 |
今天写了一段session Bean 访问 CMP
Bean的代码,加了个Action和ActionForm,
都搞定以后,发布也成功了,问题就出来了...
,一段异常之后,出来一段红字
,一段异常之后,出来一段红字***************************************************************************
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.'<2006-9-23 下午20时10分03秒 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.'<2006-9-23 下午20时10分03秒 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.>
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一直启动着,所以看了其中的这行:
***************************************************************************
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被再次启动,是weblogic重复启动引起的异常,所以我就关闭了weblogic,再次运行程序,终于出现了界面!
我认为这是在运行程序时,weblogic被再次启动,是weblogic重复启动引起的异常,所以我就关闭了weblogic,再次运行程序,终于出现了界面!
继续关注此类事件ING...
后续:
才知道要么在程序里启动weblogic,要么在程序外启动(都需要部署),只能用其中一种方法,而且貌似后者比前者好用...
相关文章:weblogic部署后启动问题
后一篇:EJB-JNDI是什么

加载中…