Monday, 22 February 2021

Steps to start admin server on patch file system in r12.2

 To start admin server on patch environment forcepatchfs option should be used as below.



Source environment


$. /data01/fs1/EBSapps/appl/APPS_Jay1.env 


cd $ADMIN_SCRIPTS_HOME




[applmgr@mercury scripts]$ sh adadminsrvctl.sh start forcepatchfs


 


You are running adadminsrvctl.sh version 120.10.12020000.11


Enter the WebLogic Admin password:


Enter the APPS Schema password:


Starting WLS Admin Server...


Refer /data01/fs2/inst/apps/PHASE1_Jay1/logs/appl/admin/log/adadminsrvctl.txt for details




AdminServer logs are located at /data02/fs2/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs




adadminsrvctl.sh: exiting with status 0




adadminsrvctl.sh: check the logfile /data02/fs2/inst/apps/PHASE1_Jay/logs/appl/admin/log/adadminsrvctl.txt for more information ...



Check the admin server status as below.


$sh adadminsrvctl.sh status forcepatchfs



You are running adadminsrvctl.sh version 120.10.12020000.11


Enter the WebLogic Admin password:

Enter the APPS Schema password:


 The AdminServer is running


AdminServer logs are located at /data02/fs1/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs


adadminsrvctl.sh: exiting with status 0


adadminsrvctl.sh: check the logfile /data02/fs1/inst/apps/PHASE1_Jay/logs/appl/admin/log/adadminsrvctl.txt for more information ...

Saturday, 6 February 2021

Unable to read the value of "s_file_edition_type" from the context file error while running checkMTpatch.sh Script during EBS pre-upgrade .


While performing the upgrade of R12.1.3 to R12.2.6. 

After running checkMTpatch.sh on application tier getting below error. 

 $ sh checkMTpatch.sh


 +=========================================+

 |    Copyright (c) 2005, 2020 Oracle and/or its affiliates.      |

 |                     All rights reserved.                                           |

 |             Oracle E-Business Suite Release 12.2                     |

 |        Application Tier Technology Codelevel Checker         |

 +=========================================+

Using context file from currently set applications environment:

/data02/EBS_R12.1/apps/inst/apps/JAY_CRP/appl/admin/JAY_CRP.xml

Unable to read the value of s_file_edition_type from the context file

Verify location and rerun this script.


Cause:- 


If you are running the ETCC utility to determine which patches are missing on R12.1.X before the upgrade. 

At that point "s_file_edition_type" doesn't exist in the context_file because it only exist on 12.2 tech stacks not on 12.1.


Solution:


To resolve the issue first we need to lay down 12.2 software using rapidwiz, then create the upgrade file system by running rapid install.

Once above steps are done , now run checkMTpatch.sh script after sourcing 12.2 environment it will complete successfully.


$ cd /fs1/EBSapps/appl

$ . ./APPS_JAYCRP.env


 $ sh checkMTpatch.sh