首页 > 代码库 > weblogic.management.ManagementException: The domain edit lock is owned by another session in ...
weblogic.management.ManagementException: The domain edit lock is owned by another session in ...
今天启动 weblogic 10.3.6 时老是报这个异常:
<Error> <Application Poller> <BEA-149408> <An exception occurred while deploying an application _appsdir_G2_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 >
网上的答案都是说进入控制台后会看左上角“锁定并编辑”按钮是灰色,点击“释放配置”,然后重启 weblogic 即可,但我通过 http://127.0.0.1:7001/console/ 进入 weblogic 的控制台后并没有看到他们所说的按钮,查询资料后得知解决办法如下(完成下述步骤后,页面左上解将显示如图所示的两个按钮):
进入控制台后,依次点击 “首选项” --> “用户首选项” --> 去掉“自动获取锁并激活更改”前面的勾,点击“保存”,然后在控制台的左上角就能看到上图红色区域中的按钮了,这时时候再点击“释放配置”即可,操作完成后不要忘了重启 weblogic,下面是操作图解:
weblogic.management.ManagementException: The domain edit lock is owned by another session in ...
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。