加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

关于weblogic重复启动的问题

(2006-09-23 22:43:36)
分类: IT笔记
今天写了一段session Bean 访问 CMP Bean的代码,加了个Action和ActionForm,
都搞定以后,发布也成功了,问题就出来了...关于weblogic重复启动的问题,一段异常之后,出来一段红字
***************************************************************************
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,再次运行程序,终于出现了界面!
 
继续关注此类事件ING...
 
 
后续:
 
才知道要么在程序里启动weblogic,要么在程序外启动(都需要部署),只能用其中一种方法,而且貌似后者比前者好用...
 

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有