This exception is always reported when starting WebLogic 10.3.6 today:
<Error> <application poller> <BEA-149408> <an exception occurred while deploying an application _app Sdir_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>
The answer on the Internet is that when you go to the console, the "Lock and edit" button is grayed out, click "Release Config", then restart WebLogic, but I http://127.0.0.1:7001/console/into the WebLogic After the console did not see what they said button, query the data after the solution is as follows (after completing the following steps, the top left of the solution will show the two buttons):
After entering the console, click "Preferences"--"user preferences"-Remove the "Automatically get lock and activate changes" Before the tick, click "Save", then in the upper left corner of the console can see the red area of the button, then click "Release Configuration", Do not forget to restart the WebLogic after the operation, the following is the operation diagram:
Weblogic.management.ManagementException:The Domain edit lock is owned by another session in ...