【图解】weblogic.management.ManagementException: [Deployer:149164]The domain edit lock is owned by

 在weblogicserver上两个project部署来回切换,常常控制台报告下面错误:

<2014-10-14 上午09时30分30秒 CST> <Warning> <Deployer> <BEA-149124> <Failures were detected while initiating deploy task for application '_appsdir_PactInfo_dir'. Error is: '[Deployer:149164]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.'> 
<2014-10-14 上午09时30分30秒 CST> <Error> <Application Poller> <BEA-149408> <An exception occurred while deploying an application _appsdir_PactInfo_dir: weblogic.management.ManagementException: weblogic.management.ManagementException: [Deployer:149164]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed..
weblogic.management.ManagementException: weblogic.management.ManagementException: [Deployer:149164]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.
	at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:246)
	at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:275)
	at weblogic.management.deploy.ApplicationsDirPoller.<init>(ApplicationsDirPoller.java:97)
	at weblogic.management.deploy.ApplicationsDirPoller.<init>(ApplicationsDirPoller.java:107)
	at weblogic.management.deploy.internal.DeploymentServerService.startAutoDeploymentPoller(DeploymentServerService.java:322)
	Truncated. see log file for complete stacktrace
> 
解决的方法:

1.通过 http://localhost:7001/console/ 进入例如以下界面,点击:运行锁定并编辑。



2.然后再点击:撤销全部更改



3.又一次公布部署project。又一次启动服务,问题解决。

posted on 2017-06-24 13:50  ljbguanli  阅读(730)  评论(0编辑  收藏  举报