在weblogic服务器上两个工程部署来回切换,经常控制台报告以下错误:
<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.重新发布部署工程,重新启动服务,问题解决。
时间: 2024-10-30 10:42:00