This is a crazy test today. It has been restarting and restarting. The result is wrong ;(
Start WebLogic after publishing the deployment package through WebLogic 9. The console reports the following error. This error has been encountered several times before, but sometimes it can be solved by stopping the service on the command line and then restarting it, sometimes it cannot be solved. As a result, I have read this problem and many people have encountered this problem. I just found a solution. The error log is similar to the following:
<10:01:22 A.M. CST> <error> <application poller> <BEA-149408> <an exception occurred while deploying an application lendingsystemapp: 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: 98)
At weblogic. Management. Deploy. applicationsdirpoller. <init> (applicationsdirpoller. Java: 108)
At weblogic. Management. Deploy. Internal. deploymentserverservice. startautodeploymentpoller (deploymentserverservice. Java: 299)
Truncated. See log file for complete stacktrace
>
Solution: you do not need to close Weblogic and log on to the console directly. After logging on to the console, check the control and editing status in the upper-left corner. The status should be locked, that is, "lock and edit" is dimmed, click "Release configuration". If not, do not modify any configuration in the right window. Click "save", then click "Release configuration", close WebLogic, and restart, the problem can be solved.
PS:
BEA-149164 warning: the domain edit lock is owned by another session in exclusive mode-hence this deployment operation cannot proceed.
Description the domain edit lock is owned by another session in exclusive mode-hence this deployment operation cannot proceed.
Cause the domain edit lock is owned by another session in exclusive mode-hence this deployment operation cannot proceed.
ActIon ensure the domain edit lock is available, and try again. If the problem persists, Contact BEA support and provide the stack trace for further analysis.
There are no deep words in English. I hope you can understand it.
In this case, be sure you click either activate changes or release configuration in the Change Center of the administration console and then rerun the deploy task