When attempting to run adop phase=prepare, the following error occurs.
[ERROR]: JDK TOP (or FMW JDK TOP) is not set up correctly.
[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.
[ERROR]: Some of the ports specified for the patch file system are not available.
[ERROR]: The value of s_file_edition is not set correctly in at least one of the context files
[ERROR]: The values of s_current_base and s_other_base are not set correctly on both RUN and PATCH filesystems
[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.
[ERROR]: Some of the ports specified for the patch file system are not available.
[ERROR]: The value of s_file_edition is not set correctly in at least one of the context files
[ERROR]: The values of s_current_base and s_other_base are not set correctly on both RUN and PATCH filesystems
Fix:
Delete duplicate context files and run autoconfig to create new ones.
1.Please backup FND_OAM_CONTEXT_FILES
SQL>create table FND_OAM_CONTEXT_FILES_BK as select * from FND_OAM_CONTEXT_FILES;
2.Please clear data from FND_OAM_CONTEXT_FILES table.
SQL>delete from FND_OAM_CONTEXT_FILES;
3.Please execute autoconfig from all nodes.
cd $ADMIN_SCRIPTS_HOME
./adautocfg.sh
./adautocfg.sh
4.Please confirm the new data from FND_OAM_CONTEXT_FILES;
SQL>select * from FND_OAM_CONTEXT_FILES;
5.Please execute the adop again.