12.2 ADOP Prepare Phase Fails with message " [ERROR]: Domain might be locked by some other WLS user process" and "[UNEXPECTED]Error 1 occurred while Executing txkADOPValidation script" (Doc ID 2042785.1)
E-Business Suite 12.2 Applications DBA, Online Patching ADOP Utilities issues
On EBS 12.2 When running adop, prepare phase fails with the below error:
Validating configuration on node: [MYSERV]...
Log: /u01/oracle/MYINST/fs_ne/EBSapps/log/adop/MYINST_MYSERV
[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/oracle/MYINST/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPValidations.pl -contextfile=/u01/oracle/MYINST/fs2/inst/apps/MYINST_MYSERV/appl/admin/MYINST_MYSERV.xml -patchctxfile=/u01/oracle/MYINST/fs1/inst/apps/MYINST_MYSERV/appl/admin/MYINST_MYSERV.xml -phase=prepare -logloc=/u01/oracle/MYINST/fs_ne/EBSapps/log/adop/14/prepare_20150811_185137/MYINST_MYSERV -promptmsg=hide"
[UNEXPECTED]Error 1 occurred while Executing txkADOPValidation script on MYSERV
Log: /u01/oracle/MYINST/fs_ne/EBSapps/log/adop/MYINST_MYSERV
[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/oracle/MYINST/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPValidations.pl -contextfile=/u01/oracle/MYINST/fs2/inst/apps/MYINST_MYSERV/appl/admin/MYINST_MYSERV.xml -patchctxfile=/u01/oracle/MYINST/fs1/inst/apps/MYINST_MYSERV/appl/admin/MYINST_MYSERV.xml -phase=prepare -logloc=/u01/oracle/MYINST/fs_ne/EBSapps/log/adop/14/prepare_20150811_185137/MYINST_MYSERV -promptmsg=hide"
[UNEXPECTED]Error 1 occurred while Executing txkADOPValidation script on MYSERV
Reviewing the file $INST_TOP/apps/MYINST_MYSERV/logs/appl/rgf/TXK/txkValidateDomainInRCOut.txt, the below error message is recorded:
cmd : java weblogic.WLST /u01/oracle/MYINST/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkValidateDomainInRC.py --adminuser=weblogic --verify=domainEditModeEnabled --adminurl=t1://hostname.domain:adminport> /u01/oracle/MYINST/fs2/inst/apps/MYINST_MYSERV/logs/appl/rgf/TXK/txkValidateDomainInRCOut.txt
ERROR: Domain is in edit mode.
ERROR: Domain is in edit mode.
CAUSE
If the EBS Weblogic domain is in EDIT mode, it can cause adop to fail.
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