Pages

Sunday, May 20, 2018

12.2 ADOP Prepare Phase Fails with message " [ERROR]: Domain might be locked by some other WLS user process"

12.2 ADOP Prepare Phase Fails with message " [ERROR]: Domain might be locked by some other WLS user process"


Error:
On EBS 12.2 When running adop, prepare phase fails with the below error:

Validating configuration on node: [MYSERV]...
    Log: /u01/app/EBSR12/fs_ne/EBSapps/log/adop/14/prepare_20/<Context_Name>
    [WARNING]: There could be issues while validating the ports used for E-Business Suite instance against ports used in /etc/services. Refer the log file for more details.
    [WARNING]: Either some of the required entries in /etc/hosts file might be missing (e.g. localhost or hostname) OR the file /etc/hosts could not be read.
    [ERROR]: Domain might be locked by some other WLS user process
    [UNEXPECTED]Error occurred while executing "perl /u01/app/EBSR12/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPValidations.pl  -contextfile=/u01/app/EBSR12/fs2/inst/apps/<Context_Name>/appl/admin/<Context_Name>.xml -patchctxfile=/u01/app/EBSR12/fs1/inst/apps/<Context_Name>/appl/admin/<Context_Name>.xml -phase=prepare -logloc=/u01/app/EBSR12/fs_ne/EBSapps/log/adop/14/prepare_20150811_185137/<Context_Name> -promptmsg=hide"
    [UNEXPECTED]Error 1 occurred while Executing txkADOPValidation script on MYSERV
Reviewing the file $INST_TOP/apps/<Context_Name>/logs/appl/rgf/TXK/txkValidateDomainInRCOut.txt, the below error message is recorded:
cmd : java weblogic.WLST /u01/app/EBSR12/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkValidateDomainInRC.py --adminuser=weblogic --verify=domainEditModeEnabled --adminurl=t1://hostname.domain:adminport> /u01/app/EBSR12/fs2/inst/apps/<Context_Name>/logs/appl/rgf/TXK/txkValidateDomainInRCOut.txt
ERROR: Domain is in edit mode.

Cause:
Someone with administrator privileges on WLS Admin Console may have locked the Weblogic domain for making changes, and has not released the checkout.
This leaves the domain in edit mode, resulting in the issue.

Solution:
To resolve the issue test the following steps in a development instance and then migrate accordingly:

1. Start the admin server on the run file system (if not started already).
2. Login in to WLS Admin Console (http(s)://hostname.domain:<adminport>/console)
3. Click on the "Activate Changes" or the "Release Configuration" button (depending on the version) in the "Change Center" region on the top left corner.
4. Logout of the WLS console.
5. Rerun the adop phase=prepare command and confirm adop completes successfully.

No comments:

Post a Comment