13 December 2013

Step by Step Oracle E-Business Suite R12.2.0 to R12.2.2 upgrade

Step by Step  Oracle E-Business Suite R12.2.0 to R12.2.2 upgrade

 Oracle E-Business Suite Release 12.2.2 Readme (Doc ID 1506669.1)

[oratest@arjun bin]$sqlplus <appsusername/appspassword>


SQL> SELECT profile_option_value FROM fnd_profile_option_values where profile_option_value='ALLOW_RESTRICTED';

PROFILE_OPTION_VALUE
--------------------------------------------------------------------------------
ALLOW_RESTRICTED

SQL>


########Download R12.2.2 Update patch #########

V37515-01_1of6.zip
V37515-01_2of6.zip
V37515-01_3of6.zip
V37515-01_4of6.zip
V37515-01_5of6.zip
V37515-01_6of6.zip

##############################################################################################

Apply mandatory Patch 17064510 (17064510:R12.TXK.C) in hotpatch mode on the Run File System.

$ adop phase=apply patches=17064510 hotpatch=yes patchtop=/u01/R12.2/other

#################################### Create Snapshot ###############################


After your installation or upgrade is complete, run the AD Administration Maintain Snapshot option.

Run AD Administration (adadmin).

From the Main Menu, choose Maintain Applications Files > Maintain Snapshot Information.

Select Option 2, Update Current View Snapshot. Then, from the Snapshot submenu, select Option 1, Update Complete APPL_TOP.

#########################################################################################

Required Database and Application Tier Patches

Note: The online process is the preferred method to apply patches to the technology stack components. Refer to My Oracle Support Knowledge Document 1355068.1, Oracle E-Business Suite 12.2 Patching Technology Components Guide.
2.1 Database Patch Checker

If you are upgrading to Release 12.2 using an existing Oracle Database 11.2.0.3 ORACLE_HOME, you must check that you have all the required one-off patches by running the addbptchk.sh script before you run Rapid Install to create the upgrade file system.

The addbptchk.sh script helps you to determine if all the needed one-offs exist in the specified ORACLE_HOME.

[oratest@arjun bin]$ pwd
/u01/R12.2/startCD/Disk1/rapidwiz/bin
[oratest@arjun bin]$ ./addbptchk.sh

Enter the full path of rapidwiz location: /u01/R12.2

Enter $ORACLE_HOME value : /u01/ORAR122/11.2.0

Setting ORACLE_HOME to : /u01/ORAR122/11.2.0
Please confirm this is the correct value [y/n] :y

Enter database SID : VIS

Setting database SID to: VIS
Please confirm this is the correct SID [y/n] :y

Setting database context to: VIS_arjun.bangalore.bedford.local
Please confirm this is the correct context [y/n] :n

Enter the correct db context : VIS_arjun

Setting database context to: VIS_arjun
Please confirm this is the correct context [y/n] :y

Looking for database context file /u01/ORAR122/11.2.0/appsutil/VIS_arjun.xml
Please confirm this is the correct file [y/n] :y

Found /u01/ORAR122/11.2.0/appsutil/VIS_arjun.xml...

The DB version is assumed to be 11.2.0.3.

 Pre-req Patch Testing Start Phase : Mon Oct 28 09:42:07 IST 2013
runProcess_1

Rapidwiz location from DB context file is /u01/R12.2/startCD/Disk1/rapidwiz

Copying templates to temp area

Executing Perl command:

perl -pi -e 's/txkTopology_R1220_DB11gR2_11202_Patches.xml/txkTopology_R1220_DB11gR2_11203.xml/g' /u01/ORAR122/11.2.0/temp/VIS_arjun/xmldocs/instDB.xml

Copying one-off patches to temp area

Copying /u01/ORAR122/11.2.0/temp/VIS_arjun/DBInstallHome/fnd/html/txkTopology_R1220_DB11gR2.xml to /u01/ORAR122/11.2.0/temp/VIS_arjun/cfgHome

 Executing command: /u01/R12.2/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0//bin/java -cp /u01/ORAR122/11.2.0/temp/VIS_arjun/DBInstallHome/fnd/../j11067593_fnd.zip:/u01/ORAR122/11.2.0/temp/VIS_arjun/DBInstallHome/fnd/java/3rdparty/stdalone/xmlparserv2.zip -Doracle.apps.fnd.txk.env_home=/u01/ORAR122/11.2.0/temp/VIS_arjun -Doracle.apps.fnd.txk.runtime.config=/u01/ORAR122/11.2.0/temp/VIS_arjun/tmp/patch_runtime.xml -Doracle.apps.fnd.txk.AutobuildXML.generate=true -Doracle.apps.fnd.txk.AutobuildXML.file=/u01/ORAR122/11.2.0/temp/VIS_arjun/tmp/patch_build.xml oracle.apps.fnd.txk.config.InstallService
Log Dir = /u01/ORAR122/11.2.0/temp/VIS_arjun/logs [ Format=oracle.apps.fnd.txk.install%g.log ]

Using TXK patch template file :/u01/ORAR122/11.2.0/temp/VIS_arjun/DBInstallHome/fnd/html/txkTopology_R1220_DB11gR2_11203_Patches.xml

Opatch is at the required version

All the required one-offs are present in Oracle Database Home

FINISHED Pre-req Patch Testing :  Mon Oct 28 09:42:35 IST 2013

######################################################################################################

Apply Consolidated Seed Table Upgrade Patch 16605855:12.2.0 (required for both VISION and PROD)

Note: This patch is mandatory for both Vision and PROD New Installation Customers. The instructions to apply Patch 16605855 (16605855:12.2.0) on the Run File System are as follows:

Stop all Application tier services on the Run File System.

[applmgr@arjun appl]$ cd $ADMIN_SCRIPTS_HOME

[applmgr@arjun scripts]$ ./adstpall.sh apps/appspasswd

[applmgr@arjun scripts]$ ./adadminsrvctl.sh start

[applmgr@arjun scripts]$ adop phase=apply patches=16605855 hotpatch=yes patchtop=/u01/R12.2/other

Start up all Application tier services.

[applmgr@arjun scripts]$ ./adstrtal.sh apps/appspasswd

###########################################################################################################

Apply the 12.2.2 AD and TXK Release Update Packs

Create $ORACLE_HOME/appsutil/admin on the database server

[applmgr@arjun scripts]$ su - oratest

[oratest@arjun ~]$cp -r /u01/R12.2/other/15955263/admin/adgrants.sql $ORACLE_HOME/appsutil/admin/

[oratest@arjun ~]$sqlplus "/as sysdba"

SQL*Plus: Release 11.2.0.3.0 Production on Tue Dec 10 16:42:27 2013

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> @ORACLE_HOME/appsutil/admin/adgrants.sql APPLSYS

############################################################################################################

[applmgr@arjun ~]$ adop phase=prepare

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

Please wait. Validating credentials...


Enter the RUN file system context file name [/u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

Enter the PATCH file system context file name [/u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

[STATEMENT] [END   2013/10/30 07:59:13] Performing verification of parameters
[STATEMENT] [START 2013/10/30 07:59:13] Checking for the required ENV setup
[STATEMENT] [END   2013/10/30 07:59:13] Checking for the required ENV setup

************* Start of  session *************
 version: 12.2.0
 started at: Wed Oct 30 2013 07:59:14

APPL_TOP is set to /u01/ORAR122/fs1/EBSapps/appl
[STATEMENT] [START 2013/10/30 07:59:14] Determining admin node
[STATEMENT] [END   2013/10/30 07:59:17] Determining admin node
[STATEMENT] [START 2013/10/30 07:59:19] Acquiring lock on sessions table
[STATEMENT] [END   2013/10/30 07:59:21] Acquiring lock on sessions table
[STATEMENT] [START 2013/10/30 07:59:21] Checking for any pending sessions
[STATEMENT] [START 2013/10/30 07:59:24] Staging the current session
  [STATEMENT] [START 2013/10/30 07:59:27] Checking if node "arjun" is abandoned
  [STATEMENT] [END   2013/10/30 07:59:28] Checking if node "arjun" is abandoned
[STATEMENT] [END   2013/10/30 07:59:30] Staging the current session
[STATEMENT] [START 2013/10/30 07:59:32] Unlocking sessions table
[STATEMENT] [END   2013/10/30 07:59:32] Unlocking sessions table
[STATEMENT] [START 2013/10/30 07:59:32] adzdoptl.pl run
  [STATEMENT] Session ID: 2
  [STATEMENT] Phase: prepare
  [STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/adop_20131030_075843.log
  [STATEMENT] [START 2013/10/30 07:59:39] prepare phase
    [STATEMENT] PREPARE Phase START TIME: 30-10-2013 07:59:40
    [STATEMENT] [START 2013/10/30 07:59:43] Validating Configuration
      [STATEMENT] Calling: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSanityCheck.pl
      [STATEMENT] Output directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun

Program :  started @ Wed Oct 30 07:59:45 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/TXK_SANITY_filesystemcheck_Wed_Oct_30_07_59_45_2013/txkADOPPreparePhaseSanityCheck_Wed_Oct_30_07_59_45_2013.log


Program :  completed @ Wed Oct 30 07:59:46 2013

    [STATEMENT] [END   2013/10/30 07:59:46] Validating Configuration
    [STATEMENT] [START 2013/10/30 07:59:47] Detecting config changes in FS
      [STATEMENT] [START 2013/10/30 07:59:48] Executing adConfigChangeDetector on arjun
        [STATEMENT] Calling: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adConfigChangeDetector.pl
        [STATEMENT] Output directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/adConfigChanges.log
The log file is /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/adConfigChanges.log

/u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/cutover directory not found, so configuration changes cannot be detected.
The directory may have been deleted intentionally or accidentally. Or, if this is the first adop cycle, the directory will only be created after cutover.

Without this directory, the configuration changes will be propagated to the patch file system forcefully.

Configuration change detected.
      [STATEMENT] [END   2013/10/30 07:59:57] Executing adConfigChangeDetector on arjun
      [STATEMENT] Config changes detected in arjun
      [STATEMENT] [START 2013/10/30 07:59:58] Insert Config Clone tracking row for NODE: arjun
      [STATEMENT] [END   2013/10/30 08:00:02] Insert Config Clone tracking row for NODE: arjun
    [STATEMENT] [END   2013/10/30 08:00:03] Detecting config changes in FS
    [STATEMENT] [START 2013/10/30 08:00:07] Performing check to see if pending cleanup actions exist
      [STATEMENT] Checking if pending cleanup actions
      [STATEMENT] No pending cleanup actions, proceeding with other steps
    [STATEMENT] [END   2013/10/30 08:00:12] Performing check to see if pending cleanup actions exist
    [STATEMENT] [START 2013/10/30 08:00:13] Deleting rows from ad_patches_tables table
    [STATEMENT] [END   2013/10/30 08:00:15] Deleting rows from ad_patches_tables table
    [STATEMENT] [START 2013/10/30 08:00:16] Performing DB Sanity checks
      [STATEMENT] [START 2013/10/30 08:00:16] Checking if edition enabled users exist
      [STATEMENT] [END   2013/10/30 08:00:18] Checking if edition enabled users exist
      [STATEMENT] [START 2013/10/30 08:00:19] Performing Check for patch service existance
      [STATEMENT] [END   2013/10/30 08:00:20] Performing Check for patch service existance
      [STATEMENT] [START 2013/10/30 08:00:21] Performing Check for Logon Trigger existence and enablement
      [STATEMENT] [END   2013/10/30 08:00:24] Performing Check for Logon Trigger existence and enablement
    [STATEMENT] [END   2013/10/30 08:00:25] Performing DB Sanity checks
    [STATEMENT] [START 2013/10/30 08:00:25] Generating Tablespace Report
      [STATEMENT] [START 2013/10/30 08:00:26] Generating report to display the status of important tablespaces. (ie. free space)
        [STATEMENT] Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWTS.sql

        [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/adzdshowts.out

      [STATEMENT] [END   2013/10/30 08:00:31] Generating report to display the status of important tablespaces. (ie. free space)
    [STATEMENT] [END   2013/10/30 08:00:31] Generating Tablespace Report
    [STATEMENT] [START 2013/10/30 08:00:32] Run the ADZDPATCH concurrent program
      [STATEMENT] [START 2013/10/30 08:00:36] Checking status of the ADZDPATCH concurrent program
        [STATEMENT] Status of ADZDPATCH:
        [STATEMENT] The next available concurrent manager will process this request.  This
request will process as soon as the concurrent manager finishes its
current processing and the processing of other requests ahead of this
request. User SYSADMIN submitted this request on 30-OCT-2013 08:00:35.    No
action required. This is a normal condition. You may expedite the start of
the processing of this request by reducing its priority value. Only the
System Administrator responsibility may update request priority values. 
      [STATEMENT] [END   2013/10/30 08:00:39] Checking status of the ADZDPATCH concurrent program
      [STATEMENT] Concurrent Request Number: 7437027
    [STATEMENT] [END   2013/10/30 08:01:12] Run the ADZDPATCH concurrent program
      [STATEMENT] [START 2013/10/30 08:01:12] Generating Report to display all the DDLs from ad_zd_ddl_handler
        [STATEMENT] Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDALLDDLS.sql

        [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/adzdallddls.out

      [STATEMENT] [END   2013/10/30 08:01:32] Generating Report to display all the DDLs from ad_zd_ddl_handler
    [STATEMENT] [START 2013/10/30 08:01:33] Check and create Patch Edition (if required)
      [STATEMENT] [START 2013/10/30 08:01:34] Checking if Patch Edition already exists
        [STATEMENT] Patch Edition does not exist
        [STATEMENT] [START 2013/10/30 08:01:36] Creating Patch Edition
        [STATEMENT] [END   2013/10/30 08:03:45] Creating Patch Edition
      [STATEMENT] [END   2013/10/30 08:03:47] Checking if Patch Edition already exists
    [STATEMENT] [END   2013/10/30 08:03:48] Check and create Patch Edition (if required)
    [STATEMENT] [START 2013/10/30 08:03:49] Performing steps to synchronise the FS
      [STATEMENT] [START 2013/10/30 08:03:50] Performing steps to CLONE FS of RUN and PATCH appltops
      [STATEMENT] [END   2013/10/30 08:03:56] Performing steps to CLONE FS of RUN and PATCH appltops
      [STATEMENT] [START 2013/10/30 08:03:57] Performing steps to syncup FS of RUN and PATCH appltops
        [STATEMENT] [START 2013/10/30 08:03:58] Sync FS of RUN and PATCH
          [STATEMENT] Calling: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl
          [STATEMENT] Output directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun

Program :  started @ Wed Oct 30 08:04:03 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/TXK_SYNC_update_Wed_Oct_30_08_04_03_2013/txkADOPPreparePhaseSynchronize_Wed_Oct_30_08_04_03_2013.log

sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
cmd = /u01/ORAR122/fs1/FMW_Home/jrockit32/jre/bin/java -classpath /u01/ORAR122/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/u01/ORAR122/fs1/EBSapps/comn/java/classes   -mx256m  oracle.apps.ad.tools.configuration.ADOPCustomSyncUp -contextFile /u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -custSyncDrv /u01/ORAR122/fs_ne/EBSapps/appl/ad/custom/adop_sync.drv -logFile /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/TXK_SYNC_update_Wed_Oct_30_08_04_03_2013/txkADOPCustomSyncUp.log -promptmsg 'hide'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
ADOP Custom Synchorization successfully run

Program :  completed @ Wed Oct 30 08:07:28 2013

        [STATEMENT] [END   2013/10/30 08:07:28] Sync FS of RUN and PATCH
      [STATEMENT] [END   2013/10/30 08:07:31] Performing steps to syncup FS of RUN and PATCH appltops
      [STATEMENT] [START 2013/10/30 08:07:32] Performing steps to CONFIG_CLONE FS of RUN and PATCH appltops
        [STATEMENT] There is a pending clone session for /u01/ORAR122/fs2 file system
        [STATEMENT] [START 2013/10/30 08:07:45] Performing FS CONFIG_CLONE Steps
          [STATEMENT] [START 2013/10/30 08:07:46] CONFIG_CLONE PATCH FS with RUN FS
            [STATEMENT] Calling: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl
            [STATEMENT] Output directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun

Program :  started @ Wed Oct 30 08:07:51 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/TXK_SYNC_migrate_Wed_Oct_30_08_07_51_2013/txkADOPPreparePhaseSynchronize_Wed_Oct_30_08_07_51_2013.log

sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
The log file is /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/TXK_SYNC_migrate_Wed_Oct_30_08_07_51_2013/getCtxFileStatus.log
Configuration change detected.


Beginning application tier FSCloneApply - cloneContext Wed Oct 30 08:09:51 2013

/u01/ORAR122/fs1/FMW_Home/webtier/jdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false  -Doracle.installer.oui_loc=/oui -classpath /u01/ORAR122/fs2/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/ORAR122/fs2/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/ORAR122/fs1/EBSapps/comn/java/classes:/u01/ORAR122/fs2/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/ORAR122/fs2/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/ORAR122/fs2/FMW_Home/webtier/oui/jlib/share.jar:/u01/ORAR122/fs2/FMW_Home/webtier/oui/jlib/srvm.jar:/u01/ORAR122/fs2/FMW_Home/webtier/jlib/ojmisc.jar:/u01/ORAR122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -targ /u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -stage /u01/ORAR122/fs1/EBSapps/comn/clone -tmp /tmp -nodbac -component cloneContext -nopromptmsg
Log file located at /u01/ORAR122/fs1/inst/apps/VIS_arjun/admin/log/FSCloneApplyAppsTier_10300809.log

Log file located at /u01/ORAR122/fs1/inst/apps/VIS_arjun/admin/log/FSCloneApplyAppsTier_10300809.log

Target System Fusion Middleware Home set to /u01/ORAR122/fs2/FMW_Home

Target System Web Oracle Home set to /u01/ORAR122/fs2/FMW_Home/webtier

Target System Appl TOP set to /u01/ORAR122/fs2/EBSapps/appl

Target System COMMON TOP set to /u01/ORAR122/fs2/EBSapps/comn

Target System Instance Top set to /u01/ORAR122/fs2/inst/apps/VIS_arjun
Report file located at /u01/ORAR122/fs2/inst/apps/VIS_arjun/temp/portpool.lst
Complete port information available at /u01/ORAR122/fs2/inst/apps/VIS_arjun/temp/portpool.lst

Creating the new APPL_TOP Context file from :
  /u01/ORAR122/fs1/EBSapps/comn/clone/context/apps/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml

Log file located at /u01/ORAR122/fs1/inst/apps/VIS_arjun/admin/log/FSCloneApplyAppsTier_10300809.log
contextfile=/u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml
Completed FSCloneApply...
Wed Oct 30 08:10:56 2013
The log file is /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/TXK_SYNC_migrate_Wed_Oct_30_08_07_51_2013/getWLSStatus.log
Configuration change detected.



Beginning application tier FSCloneStage - wlsTechStack Wed Oct 30 08:11:32 2013

/u01/ORAR122/fs1/FMW_Home/jrockit32/bin/java -Xmx600M -DCONTEXT_VALIDATED=false  -Doracle.installer.oui_loc=/oui -classpath /u01/ORAR122/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/ORAR122/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/ORAR122/fs1/EBSapps/comn/java/classes:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/share.jar:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/srvm.jar:/u01/ORAR122/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/u01/ORAR122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/ORAR122/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneStageAppsTier -e /u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -targ /u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -stage /u01/ORAR122/fs1/EBSapps/comn/clone -tmp /tmp -component wlsTechStack -nopromptmsg
Log file located at /u01/ORAR122/fs1/inst/apps/VIS_arjun/admin/log/FSCloneStageAppsTier_10300811.log
Completed FSCloneStage...
Wed Oct 30 08:25:41 2013



Beginning application tier FSCloneApply - wlsTechStack Wed Oct 30 08:25:44 2013

/u01/ORAR122/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false  -Doracle.installer.oui_loc=/oui -classpath /u01/ORAR122/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/java:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/srvm.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/ORAR122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -targ /u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -stage /u01/ORAR122/fs1/EBSapps/comn/clone -tmp /tmp -nodbac -component wlsTechStack -nopromptmsg
Log file located at /u01/ORAR122/fs1/inst/apps/VIS_arjun/admin/log/FSCloneApplyAppsTier_10300825.log
Completed FSCloneApply...
Wed Oct 30 08:40:22 2013
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
The log file is /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/TXK_SYNC_migrate_Wed_Oct_30_08_07_51_2013/getHTTPStatus.log
Configuration change detected.



Beginning application tier FSCloneStage - ohsTechStack Wed Oct 30 08:42:09 2013

/u01/ORAR122/fs1/FMW_Home/jrockit32/bin/java -Xmx600M -DCONTEXT_VALIDATED=false  -Doracle.installer.oui_loc=/oui -classpath /u01/ORAR122/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/ORAR122/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/ORAR122/fs1/EBSapps/comn/java/classes:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/share.jar:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/srvm.jar:/u01/ORAR122/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/u01/ORAR122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/ORAR122/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneStageAppsTier -e /u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -targ /u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -stage /u01/ORAR122/fs1/EBSapps/comn/clone -tmp /tmp -component ohsTechStack -nopromptmsg
Log file located at /u01/ORAR122/fs1/inst/apps/VIS_arjun/admin/log/FSCloneStageAppsTier_10300842.log
Completed FSCloneStage...
Wed Oct 30 08:43:22 2013



Beginning application tier FSCloneApply - ohsTechStack Wed Oct 30 08:43:24 2013

/u01/ORAR122/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false  -Doracle.installer.oui_loc=/oui -classpath /u01/ORAR122/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/java:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/srvm.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/ORAR122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -targ /u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml -stage /u01/ORAR122/fs1/EBSapps/comn/clone -tmp /tmp -nodbac -component ohsTechStack -nopromptmsg
Log file located at /u01/ORAR122/fs1/inst/apps/VIS_arjun/admin/log/FSCloneApplyAppsTier_10300843.log
Completed FSCloneApply...
Wed Oct 30 08:45:09 2013

Program :  completed @ Wed Oct 30 08:45:15 2013

          [STATEMENT] [END   2013/10/30 08:45:15] CONFIG_CLONE PATCH FS with RUN FS
          [STATEMENT] Checking if LOGON trigger is enabled since fs CONFIG_CLONE is done
          [STATEMENT] [START 2013/10/30 08:45:18] Performing Check for Logon Trigger existence and enablement
            [STATEMENT] Logon Trigger check failed
            [STATEMENT] Trying to create the Logon Trigger
            [STATEMENT] [START 2013/10/30 08:45:21] Performing steps to fix Sanity Errors
              [STATEMENT] [START 2013/10/30 08:45:22] Creating Logon Trigger
Connected.
              [STATEMENT] [END   2013/10/30 08:45:25] Creating Logon Trigger
            [STATEMENT] [END   2013/10/30 08:45:27] Performing steps to fix Sanity Errors
          [STATEMENT] [END   2013/10/30 08:45:28] Performing Check for Logon Trigger existence and enablement
        [STATEMENT] [END   2013/10/30 08:45:29] Performing FS CONFIG_CLONE Steps
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
        [STATEMENT] [START 2013/10/30 08:45:36] Running AutoConfig
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

The log file for this session is located at: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/adconfig.log

AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
    Using CONFIG_HOME location     : /u01/ORAR122/fs2/inst/apps/VIS_arjun
    Classpath                   : /u01/ORAR122/fs2/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/u01/ORAR122/fs2/EBSapps/comn/java/classes

    Using Context file          : /u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml

Context Value Management will now update the Context file

    Updating Context file...COMPLETED

    Attempting upload of Context file and templates to database...COMPLETED

Configuring templates from all of the product tops...
    Configuring AD_TOP........COMPLETED
    Configuring FND_TOP.......COMPLETED
    Configuring ICX_TOP.......COMPLETED
    Configuring MSC_TOP.......COMPLETED
    Configuring IEO_TOP.......COMPLETED
    Configuring BIS_TOP.......COMPLETED
    Configuring CZ_TOP........COMPLETED
    Configuring AMS_TOP.......COMPLETED
    Configuring CCT_TOP.......COMPLETED
    Configuring WSH_TOP.......COMPLETED
    Configuring CLN_TOP.......COMPLETED
    Configuring OKE_TOP.......COMPLETED
    Configuring OKL_TOP.......COMPLETED
    Configuring OKS_TOP.......COMPLETED
    Configuring CSF_TOP.......COMPLETED
    Configuring IBY_TOP.......COMPLETED
    Configuring JTF_TOP.......COMPLETED
    Configuring MWA_TOP.......COMPLETED
    Configuring CN_TOP........COMPLETED
    Configuring CSI_TOP.......COMPLETED
    Configuring WIP_TOP.......COMPLETED
    Configuring CSE_TOP.......COMPLETED
    Configuring EAM_TOP.......COMPLETED
    Configuring FTE_TOP.......COMPLETED
    Configuring ONT_TOP.......COMPLETED
    Configuring AR_TOP........COMPLETED
    Configuring AHL_TOP.......COMPLETED
    Configuring IES_TOP.......COMPLETED
    Configuring OZF_TOP.......COMPLETED
    Configuring CSD_TOP.......COMPLETED
    Configuring IGC_TOP.......COMPLETED

AutoConfig completed successfully.
        [STATEMENT] [END   2013/10/30 08:51:03] Running AutoConfig
      [STATEMENT] [END   2013/10/30 08:51:07] Performing steps to CONFIG_CLONE FS of RUN and PATCH appltops
    [STATEMENT] [END   2013/10/30 08:51:08] Performing steps to synchronise the FS
    [STATEMENT] [START 2013/10/30 08:51:08] Performing steps to validate configuration
      [STATEMENT] [START 2013/10/30 08:51:09] Validating Configuration
        [STATEMENT] Calling: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSanityCheck.pl
        [STATEMENT] Output directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun

Program :  started @ Wed Oct 30 08:51:13 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/TXK_SANITY_dbcheck_Wed_Oct_30_08_51_13_2013/txkADOPPreparePhaseSanityCheck_Wed_Oct_30_08_51_13_2013.log


Program :  completed @ Wed Oct 30 08:51:13 2013

      [STATEMENT] [END   2013/10/30 08:51:13] Validating Configuration
    [STATEMENT] [END   2013/10/30 08:51:14] Performing steps to validate configuration
  [STATEMENT] [END   2013/10/30 08:51:18] prepare phase
  [STATEMENT] PREPARE Phase END TIME: 30-10-2013 08:51:19
    [STATEMENT] [START 2013/10/30 08:51:23] Generating Report to spool all logs from ad_zd_logs
      [STATEMENT] Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

      [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/prepare_20131030_075843/VIS_arjun/adzdshowlog.out

    [STATEMENT] [END   2013/10/30 08:51:26] Generating Report to spool all logs from ad_zd_logs
  [STATEMENT] [START 2013/10/30 08:51:27] Check and Stop Patch Admin Server
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [STATEMENT] [START 2013/10/30 08:51:29] Check and Stop Patch FS Admin Server
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

You are running adadminsrvctl.sh version 120.10.12020000.2

Stopping WLS Admin Server...
.Refer /u01/ORAR122/fs2/inst/apps/VIS_arjun/logs/appl/admin/log/adadminsrvctl.txt for details

adadminsrvctl.sh: exiting with status 0

adadminsrvctl.sh: check the logfile /u01/ORAR122/fs2/inst/apps/VIS_arjun/logs/appl/admin/log/adadminsrvctl.txt for more information ... 

    [STATEMENT] [END   2013/10/30 08:52:01] Check and Stop Patch FS Admin Server
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
  [STATEMENT] [END   2013/10/30 08:52:04] Check and Stop Patch Admin Server
[STATEMENT] [END   2013/10/30 08:52:08] adzdoptl.pl run
[STATEMENT] adop phase=prepare - Completed Successfully

[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/adop_20131030_075843.log

adop exiting with status = 0 (Success)

##################################################################################################################

[applmgr@arjun ~]$ adop phase=prepare

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

Enter the RUN file system context file name [/u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

Enter the PATCH file system context file name [/u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

[STATEMENT] [END   2013/10/30 09:23:27] Performing verification of parameters
[STATEMENT] [START 2013/10/30 09:23:28] Checking for the required ENV setup
[STATEMENT] [END   2013/10/30 09:23:28] Checking for the required ENV setup

************* Start of  session *************
 version: 12.2.0
 started at: Wed Oct 30 2013 09:23:28

APPL_TOP is set to /u01/ORAR122/fs1/EBSapps/appl
[STATEMENT] [START 2013/10/30 09:23:28] Determining admin node
[STATEMENT] [END   2013/10/30 09:23:30] Determining admin node
[STATEMENT] [START 2013/10/30 09:23:34] Acquiring lock on sessions table
[STATEMENT] [END   2013/10/30 09:23:34] Acquiring lock on sessions table
[STATEMENT] [START 2013/10/30 09:23:34] Checking for any pending sessions
[STATEMENT] Using the session id which is not complete for all phases
[STATEMENT] [END   2013/10/30 09:23:40] Checking for any pending sessions
[STATEMENT] [START 2013/10/30 09:23:42] Unlocking sessions table
[STATEMENT] [END   2013/10/30 09:23:43] Unlocking sessions table
[STATEMENT] [START 2013/10/30 09:23:43] adzdoptl.pl run
[STATEMENT] Session ID: 2
[STATEMENT] Phase: prepare
[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/adop_20131030_092245.log
[STATEMENT] Prepare phase seems to be already done
[STATEMENT] [END   2013/10/30 09:23:49] adzdoptl.pl run
[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/2/adop_20131030_092245.log

adop exiting with status = 0 (Success)

################################################################################################################

Note: R12.AD.C.DELTA.2 and R12.TXK.C.DELTA.2 must be applied in the same online patching cycle, without merging.

[applmgr@arjun ~]$ adop phase=apply patches=15955263 patchtop=/u01/R12.2/other

[applmgr@arjun ~]$ adop phase=apply patches=15946788 patchtop=/u01/R12.2/other

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


Enter the RUN file system context file name [/u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

Enter the PATCH file system context file name [/u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

[STATEMENT] [END   2013/11/02 00:21:59] Performing verification of parameters
[STATEMENT] [START 2013/11/02 00:22:00] Checking for the required ENV setup
[STATEMENT] [END   2013/11/02 00:22:00] Checking for the required ENV setup

************* Start of  session *************
 version: 12.2.0
 started at: Sat Nov 02 2013 00:22:00

APPL_TOP is set to /u01/ORAR122/fs1/EBSapps/appl
[STATEMENT] [START 2013/11/02 00:22:02] Determining admin node
[STATEMENT] [END   2013/11/02 00:22:05] Determining admin node
[STATEMENT]  Recommended Worker Count:  2 Max Allowed Workers: 5
[STATEMENT] [START 2013/11/02 00:22:07] Acquiring lock on sessions table
[STATEMENT] [END   2013/11/02 00:22:08] Acquiring lock on sessions table
[STATEMENT] [START 2013/11/02 00:22:08] Checking for any pending sessions
[STATEMENT] There is already a session which is incomplete. Details are:
[STATEMENT]     Session Id: 4
[STATEMENT]     Prepare phase status: Y
[STATEMENT]     Apply phase status: P
[STATEMENT]     Cutover  phase status: N
[STATEMENT]     Abort phase status: N
[STATEMENT]     Session status: F
[STATEMENT] [Note: Y denotes that the phase is done
[STATEMENT]        N denotes that the phase has not been completed
[STATEMENT]        X denotes that the phase is not applicable
[STATEMENT]        R denotes that the phase is running (in progress) or ran
[STATEMENT]        F denotes that the phase has failed
[STATEMENT]        P (is applicable only to APPLY phase) denotes atleast
[STATEMENT]           one patch is already applied for the session id
[STATEMENT] Will continue with previous session
[STATEMENT] [START 2013/11/02 00:22:24] Performing steps to get the previous session inputs
[STATEMENT] [END   2013/11/02 00:22:26] Performing steps to get the previous session inputs
[STATEMENT] Continuing
[STATEMENT] [START 2013/11/02 00:22:28] Unlocking sessions table
[STATEMENT] [END   2013/11/02 00:22:29] Unlocking sessions table
[STATEMENT] [START 2013/11/02 00:22:29] adzdoptl.pl run
  [STATEMENT] Session ID: 4
  [STATEMENT] Phase: apply
  [STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131102_000403.log
  [STATEMENT] [START 2013/11/02 00:22:37] Invoking admerge
  [STATEMENT] [END   2013/11/02 00:22:37] Invoking admerge
  [STATEMENT] [START 2013/11/02 00:22:38] apply phase
    [STATEMENT] APPLY Phase START TIME: 02-11-2013 00:22:39
    [STATEMENT] [START 2013/11/02 00:22:40] Performing Check for Logon Trigger existence and enablement
    [STATEMENT] [END   2013/11/02 00:22:44] Performing Check for Logon Trigger existence and enablement
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [STATEMENT] [Start 2013/11/02 00:22:49] ADOP::DefaultsFileUtil::substituteDefaultsFileTokensForPatchApplTop
      [STATEMENT] Reading defaults file /u01/ORAR122/fs2/EBSapps/appl/admin/VIS_patch/adalldefaults.txt
      [STATEMENT] Substituting tokens ...
      [STATEMENT] Regenerating defaults file ...
    [STATEMENT] [End   2013/11/02 00:22:49] ADOP::DefaultsFileUtil::substituteDefaultsFileTokensForPatchApplTop
    [STATEMENT] Calling: adpatch  abandon=yes  restart=no  workers=2      flags=autoskip   console=no interactive=no  defaultsfile=/u01/ORAR122/fs2/EBSapps/appl/admin/VIS_patch/adalldefaults.txt patchtop=/u01/R12.2/other/15946788 driver=u15946788.drv logfile=u15946788.log
    [STATEMENT] ADPATCH Log directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131102_000403/VIS_arjun/15946788/log
    [STATEMENT] Running: adpatch  abandon=yes  restart=no  workers=2      flags=autoskip   console=no interactive=no  defaultsfile=/u01/ORAR122/fs2/EBSapps/appl/admin/VIS_patch/adalldefaults.txt patchtop=/u01/R12.2/other/15946788 driver=u15946788.drv logfile=u15946788.log stdin=yes
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

Successfully created out directory
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
  [STATEMENT] [END   2013/11/02 00:25:57] apply phase
  [STATEMENT] [START 2013/11/02 00:25:58] Generating Post Apply Reports
    [STATEMENT] [START 2013/11/02 00:25:59] Generating Status Report
      [STATEMENT] [START 2013/11/02 00:25:59] Generating Report to display New/Changed Objects
        [STATEMENT] Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDCMPED.sql

        [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131102_000403/VIS_arjun/adzdcmped.out

      [STATEMENT] [END   2013/11/02 00:26:32] Generating Report to display New/Changed Objects
      [STATEMENT] [START 2013/11/02 00:26:33] Generating Report to display editions
        [STATEMENT] Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWED.sql

        [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131102_000403/VIS_arjun/adzdshowed.out

      [STATEMENT] [END   2013/11/02 00:26:35] Generating Report to display editions
      [STATEMENT] [START 2013/11/02 00:26:36] Generating Report to display summary of editioned objects
        [STATEMENT] Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWOBJS.sql

        [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131102_000403/VIS_arjun/adzdshowobjs.out

      [STATEMENT] [END   2013/11/02 00:26:46] Generating Report to display summary of editioned objects
      [STATEMENT] [START 2013/11/02 00:26:47] Generating Report to display the status for seed data manager
        [STATEMENT] Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWSM.sql

        [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131102_000403/VIS_arjun/adzdshowsm.out

      [STATEMENT] [END   2013/11/02 00:27:15] Generating Report to display the status for seed data manager
    [STATEMENT] [END   2013/11/02 00:27:16] Generating Status Report
    [STATEMENT] APPLY Phase END TIME: 02-11-2013 00:27:17
      [STATEMENT] [START 2013/11/02 00:27:18] Generating Report to spool all logs from ad_zd_logs
        [STATEMENT] Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

        [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131102_000403/VIS_arjun/adzdshowlog.out

      [STATEMENT] [END   2013/11/02 00:27:21] Generating Report to spool all logs from ad_zd_logs
  [STATEMENT] [END   2013/11/02 00:27:22] Generating Post Apply Reports
[STATEMENT] [END   2013/11/02 00:27:25] adzdoptl.pl run
[STATEMENT] adop phase=apply - Completed Successfully

[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131102_000403.log

adop exiting with status = 0 (Success)

#######################################################################################################################

Complete the online patching cycle by running the following commands in the order shown.

[applmgr@arjun ~]$ adop phase=finalize

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


Enter the RUN file system context file name [/u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

Enter the PATCH file system context file name [/u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

[STATEMENT] [END   2013/11/02 21:23:23] Performing verification of parameters
[STATEMENT] [START 2013/11/02 21:23:24] Checking for the required ENV setup
[STATEMENT] [END   2013/11/02 21:23:24] Checking for the required ENV setup

************* Start of  session *************
 version: 12.2.0
 started at: Sat Nov 02 2013 21:23:24

APPL_TOP is set to /u01/ORAR122/fs1/EBSapps/appl
[STATEMENT] [START 2013/11/02 21:23:24] Determining admin node
[STATEMENT] [END   2013/11/02 21:23:27] Determining admin node
[STATEMENT] [START 2013/11/02 21:23:28] Acquiring lock on sessions table
[STATEMENT] [END   2013/11/02 21:23:29] Acquiring lock on sessions table
[STATEMENT] [START 2013/11/02 21:23:29] Checking for any pending sessions
[STATEMENT] Using the session id which is not complete for all phases
[STATEMENT] [END   2013/11/02 21:23:35] Checking for any pending sessions
[STATEMENT] [START 2013/11/02 21:23:37] Unlocking sessions table
[STATEMENT] [END   2013/11/02 21:23:38] Unlocking sessions table
[STATEMENT] [START 2013/11/02 21:23:38] adzdoptl.pl run
[STATEMENT] Session ID: 4
[STATEMENT] Phase: finalize
[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131102_212240.log
[STATEMENT] [START 2013/11/02 21:23:44] finalize phase
  [STATEMENT] [START 2013/11/02 21:23:45] Performing Finalize Phase steps
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [STATEMENT] FINALIZE Phase START TIME: 02-11-2013 21:23:49
    [STATEMENT] [START 2013/11/02 21:23:50] Making finalize call
      [STATEMENT] [START 2013/11/02 21:23:54] Compiling Invalid Objects as part of Finalize
      [STATEMENT] [END   2013/11/02 21:24:02] Compiling Invalid Objects as part of Finalize
    [STATEMENT] [END   2013/11/02 21:24:03] Making finalize call
    [STATEMENT] [START 2013/11/02 21:24:04] Soft CP shutdown
      [STATEMENT] Calling: /u01/ORAR122/fs1/inst/apps/VIS_arjun/admin/scripts/adcmctl.sh
      [STATEMENT] Log file: /u01/ORAR122/fs2/inst/apps/VIS_arjun/logs/appl/admin/log/adcmctl.txt
/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'

You are running adcmctl.sh version 120.19.12020000.3

Shutting down concurrent managers for VIS ...
ORACLE Password:
Submitted request 7439103 for CONCURRENT FND SHUTDOWN


adcmctl.sh: exiting with status 0


adcmctl.sh: check the logfile /u01/ORAR122/fs1/inst/apps/VIS_arjun/logs/appl/admin/log/adcmctl.txt for more information ... 

    [STATEMENT] [END   2013/11/02 21:24:11] Soft CP shutdown
    [STATEMENT] FINALIZE Phase END TIME: 02-11-2013 21:24:12
  [STATEMENT] [END   2013/11/02 21:24:13] Performing Finalize Phase steps
[STATEMENT] [END   2013/11/02 21:24:14] finalize phase
[STATEMENT] [START 2013/11/02 21:24:14] Generating Post Finalize Reports
    [STATEMENT] [START 2013/11/02 21:24:15] Generating applied patches summary report
      [STATEMENT] Report: /u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDPATCHSTAT.sql

      [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/finalize_20131102_212240/VIS_arjun/adzdpatchstat.out

    [STATEMENT] [END   2013/11/02 21:24:18] Generating applied patches summary report
[STATEMENT] [END   2013/11/02 21:24:19] Generating Post Finalize Reports
  [STATEMENT] [START 2013/11/02 21:24:20] Generating Report to spool all logs from ad_zd_logs
    [STATEMENT] Report: /u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

    [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/finalize_20131102_212240/VIS_arjun/adzdshowlog.out

  [STATEMENT] [END   2013/11/02 21:24:23] Generating Report to spool all logs from ad_zd_logs
[STATEMENT] [END   2013/11/02 21:24:30] adzdoptl.pl run
[STATEMENT] adop phase=finalize - Completed Successfully
[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131102_212240.log

adop exiting with status = 0 (Success)

############################  Downtime Required Here #######################################################

[applmgr@arjun ~]$ adop phase=cutover

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


Enter the RUN file system context file name [/u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

Enter the PATCH file system context file name [/u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

[STATEMENT] [END   2013/11/02 21:26:04] Performing verification of parameters
[STATEMENT] [START 2013/11/02 21:26:05] Checking for the required ENV setup
[STATEMENT] [END   2013/11/02 21:26:05] Checking for the required ENV setup

************* Start of  session *************
 version: 12.2.0
 started at: Sat Nov 02 2013 21:26:05

APPL_TOP is set to /u01/ORAR122/fs1/EBSapps/appl
[STATEMENT] [START 2013/11/02 21:26:05] Determining admin node
[STATEMENT] [END   2013/11/02 21:26:08] Determining admin node
[STATEMENT] [START 2013/11/02 21:26:10] Acquiring lock on sessions table
[STATEMENT] [END   2013/11/02 21:26:10] Acquiring lock on sessions table
[STATEMENT] [START 2013/11/02 21:26:10] Checking for any pending sessions
[STATEMENT] Using the session id which is not complete for all phases
[STATEMENT] [END   2013/11/02 21:26:17] Checking for any pending sessions
[STATEMENT] [START 2013/11/02 21:26:19] Unlocking sessions table
[STATEMENT] [END   2013/11/02 21:26:19] Unlocking sessions table
[STATEMENT] [START 2013/11/02 21:26:19] adzdoptl.pl run
[STATEMENT] Session ID: 4
[STATEMENT] Phase: cutover
[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131102_212453.log
[STATEMENT] [START 2013/11/02 21:26:27] cutover phase
  [STATEMENT] CUTOVER Phase START TIME: 02-11-2013 21:26:27
  [STATEMENT] [START 2013/11/02 21:26:29] Performing Check for Logon Trigger existence and enablement
  [STATEMENT] [END   2013/11/02 21:26:30] Performing Check for Logon Trigger existence and enablement
  [STATEMENT] [START 2013/11/02 21:26:32] Performing Cutover Phase steps
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [STATEMENT] Finalize phase has been run already.
    [STATEMENT] [START 2013/11/02 21:26:38] ICM Abort
      [STATEMENT] Log file: UNDEF
/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'

You are running adcmctl.sh version 120.19.12020000.3

Aborting concurrent managers for VIS ...
ORACLE Password:
Submitted request 7439104 for CONCURRENT FND ABORT


adcmctl.sh: exiting with status 0


adcmctl.sh: check the logfile /u01/ORAR122/fs1/inst/apps/VIS_arjun/logs/appl/admin/log/adcmctl.txt for more information ... 

    [STATEMENT] [END   2013/11/02 21:26:41] ICM Abort
    [STATEMENT] [START 2013/11/02 21:26:41] Waiting for ICM to go down
    [STATEMENT] [END   2013/11/02 21:26:43] Waiting for ICM to go down
    [STATEMENT] [START 2013/11/02 21:26:45] Force Shutdown
      [STATEMENT] Calling: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPCutOverPhaseCtrlScript.pl
      [STATEMENT] Output directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131102_212453/VIS_arjun

Program :  started @ Sat Nov  2 21:26:48 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131102_212453/VIS_arjun/TXK_CTRL_forceshutdown_Sat_Nov_2_21_26_48_2013/txkADOPCutOverPhaseCtrlScript_Sat_Nov_2_21_26_48_2013.log

/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'

Program :  completed @ Sat Nov  2 21:28:25 2013

    [STATEMENT] [END   2013/11/02 21:28:25] Force Shutdown
    [STATEMENT] [START 2013/11/02 21:29:39] Cancelling ADZDPATCH concurrent program
      [STATEMENT] Concurrent Request Number: 0
    [STATEMENT] [END   2013/11/02 21:29:43] Cancelling ADZDPATCH concurrent program
    [STATEMENT] WARNING: Concurrent Programs have been aborted during this cutover.
    [STATEMENT]          To see the list of aborted jobs please review the log file or the Concurrent Manager OAM pages.
    [STATEMENT]          Please restart the CP jobs manually.
    [STATEMENT] [START 2013/11/02 21:29:48] Performing Automatic DB cutover
      [STATEMENT] [Start 2013/11/02 21:29:49] ADOP::DefaultsFileUtil::substituteDefaultsFileTokensForPatchApplTop
        [STATEMENT] Reading defaults file /u01/ORAR122/fs2/EBSapps/appl/admin/VIS_patch/adalldefaults.txt
        [STATEMENT] Substituting tokens ...
        [STATEMENT] Regenerating defaults file ...
      [STATEMENT] [End   2013/11/02 21:29:49] ADOP::DefaultsFileUtil::substituteDefaultsFileTokensForPatchApplTop
      [STATEMENT] Calling: adpatch options=hotpatch,nocompiledb interactive=no console=no workers=4 restart=no abandon=yes defaultsfile=/u01/ORAR122/fs2/EBSapps/appl/admin/VIS_patch/adalldefaults.txt patchtop=/u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/patch/115/driver logfile=cutover.log driver=ucutover.drv
      [STATEMENT] ADPATCH Log directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131102_212453/VIS_arjun/log
      [STATEMENT] Running: adpatch options=hotpatch,nocompiledb interactive=no console=no workers=4 restart=no abandon=yes defaultsfile=/u01/ORAR122/fs2/EBSapps/appl/admin/VIS_patch/adalldefaults.txt patchtop=/u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/patch/115/driver logfile=cutover.log driver=ucutover.drv stdin=yes
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

Successfully created out directory
    [STATEMENT] [END   2013/11/02 21:30:42] Performing Automatic DB cutover
    [STATEMENT] [START 2013/11/02 21:30:43] Loading Jar files to DB
      [STATEMENT] No jars found to load
    [STATEMENT] [END   2013/11/02 21:30:45] Loading Jar files to DB
    [STATEMENT] [START 2013/11/02 21:30:46] Setting Patch Edition as Default Edition
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [STATEMENT] [END   2013/11/02 21:30:49] Setting Patch Edition as Default Edition
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [STATEMENT] [START 2013/11/02 21:30:53] Atomic File System Cutover

Program :  started @ Sat Nov  2 21:30:54 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131102_212453/VIS_arjun/TXK_CTRL_ctxupdate_Sat_Nov_2_21_30_54_2013/txkADOPCutOverPhaseCtrlScript_Sat_Nov_2_21_30_54_2013.log

sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

Program :  completed @ Sat Nov  2 21:31:38 2013

    [STATEMENT] [END   2013/11/02 21:31:38] Atomic File System Cutover
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

Broadcast message from applmgr@arjun.bangalore.bedford.local (Sat Nov  2 21:31:41 2013):

The context of the Oracle E-Business Suite system VIS
 has been changed after the completion of Online Patching.
 All users connected to the Run or Patch file system must now
 re-source the Oracle E-Business Suite Applications Environment.
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [STATEMENT] [START 2013/11/02 21:31:41] Force Startup

Program :  started @ Sat Nov  2 21:31:43 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131102_212453/VIS_arjun/TXK_CTRL_forcestartup_Sat_Nov_2_21_31_43_2013/txkADOPCutOverPhaseCtrlScript_Sat_Nov_2_21_31_43_2013.log

/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'

Program :  completed @ Sat Nov  2 22:13:43 2013

    [STATEMENT] [END   2013/11/02 22:13:50] Force Startup
    [STATEMENT] Done with cutover phase
  [STATEMENT] [END   2013/11/02 22:14:35] Performing Cutover Phase steps
[STATEMENT] [END   2013/11/02 22:14:45] cutover phase
[STATEMENT] [START 2013/11/02 22:14:46] Generating Post Cutover Reports
    [STATEMENT] [START 2013/11/02 22:14:49] Generating Report to display summary of Covered Objects per Edition
      [STATEMENT] Report: /u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDCOBJS.sql

      [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131102_212453/VIS_arjun/adzdcobjs.out

    [STATEMENT] [END   2013/11/02 22:19:05] Generating Report to display summary of Covered Objects per Edition
[STATEMENT] [END   2013/11/02 22:19:16] Generating Post Cutover Reports
[STATEMENT] CUTOVER Phase END TIME: 02-11-2013 22:19:18
  [STATEMENT] [START 2013/11/02 22:19:21] Generating Report to spool all logs from ad_zd_logs
    [STATEMENT] Report: /u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

    [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131102_212453/VIS_arjun/adzdshowlog.out

  [STATEMENT] [END   2013/11/02 22:19:26] Generating Report to spool all logs from ad_zd_logs
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
[STATEMENT] [END   2013/11/02 22:19:30] adzdoptl.pl run

Broadcast message from applmgr@arjun.bangalore.bedford.local (Sat Nov  2 22:19:30 2013):

The context of the Oracle E-Business Suite system VIS
 has been changed after the completion of Online Patching.
 All users connected to the Run or Patch file system must now
 re-source the Oracle E-Business Suite Applications Environment.
[STATEMENT] adop phase=cutover - Completed Successfully

[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131102_212453.log

adop exiting with status = 0 (Success)

######################################################################################################################

[applmgr@arjun ~]$ adop phase=cleanup

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


Enter the RUN file system context file name [/u01/ORAR122/fs2/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

Enter the PATCH file system context file name [/u01/ORAR122/fs1/inst/apps/VIS_arjun/appl/admin/VIS_arjun.xml]:

[STATEMENT] [END   2013/11/03 11:07:06] Performing verification of parameters
[STATEMENT] [START 2013/11/03 11:07:06] Checking for the required ENV setup
[STATEMENT] [END   2013/11/03 11:07:06] Checking for the required ENV setup

************* Start of  session *************
 version: 12.2.0
 started at: Sun Nov 03 2013 11:07:07

APPL_TOP is set to /u01/ORAR122/fs2/EBSapps/appl
[STATEMENT] [START 2013/11/03 11:07:07] Determining admin node
[STATEMENT] [END   2013/11/03 11:07:09] Determining admin node
[STATEMENT] [START 2013/11/03 11:07:11] Acquiring lock on sessions table
[STATEMENT] [END   2013/11/03 11:07:12] Acquiring lock on sessions table
[STATEMENT] [START 2013/11/03 11:07:12] Checking for any pending sessions
[STATEMENT] Cleanup is not done in earlier session
[STATEMENT] [START 2013/11/03 11:07:16] Unlocking sessions table
[STATEMENT] [END   2013/11/03 11:07:17] Unlocking sessions table
[STATEMENT] [START 2013/11/03 11:07:17] adzdoptl.pl run
  [STATEMENT] Session ID: 4
  [STATEMENT] Phase: cleanup
  [STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131103_110544.log
  [STATEMENT] [START 2013/11/03 11:07:25] cleanup phase
    [STATEMENT] CLEANUP Phase START TIME: 03-11-2013 11:07:26
    [STATEMENT] [START 2013/11/03 11:07:28] Performing Cleanup steps
      [STATEMENT] [START 2013/11/03 11:07:29] Running CLEANUP ddls in ddl handler table
        [STATEMENT] [Start 2013/11/03 11:07:30] ADOP::DefaultsFileUtil::substituteDefaultsFileTokensForPatchApplTop
          [STATEMENT] Reading defaults file /u01/ORAR122/fs2/EBSapps/appl/admin/VIS/adalldefaults.txt
          [STATEMENT] Substituting tokens ...
          [STATEMENT] Regenerating defaults file ...
        [STATEMENT] [End   2013/11/03 11:07:31] ADOP::DefaultsFileUtil::substituteDefaultsFileTokensForPatchApplTop
        [STATEMENT] Calling: adpatch options=hotpatch,nocompiledb interactive=no console=no workers=2 restart=no abandon=yes defaultsfile=/u01/ORAR122/fs2/EBSapps/appl/admin/VIS/adalldefaults.txt patchtop=/u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/patch/115/driver logfile=cleanup.log driver=ucleanup.drv
        [STATEMENT] ADPATCH Log directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cleanup_20131103_110544/VIS_arjun/log
        [STATEMENT] Running: adpatch options=hotpatch,nocompiledb interactive=no console=no workers=2 restart=no abandon=yes defaultsfile=/u01/ORAR122/fs2/EBSapps/appl/admin/VIS/adalldefaults.txt patchtop=/u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/patch/115/driver logfile=cleanup.log driver=ucleanup.drv stdin=yes
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

Successfully created out directory
      [STATEMENT] [END   2013/11/03 11:08:33] Running CLEANUP ddls in ddl handler table
        [STATEMENT] [START 2013/11/03 11:08:34] Generating Report to display all the DDLs from ad_zd_ddl_handler
          [STATEMENT] Report: /u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDALLDDLS.sql

          [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cleanup_20131103_110544/VIS_arjun/adzdallddls.out

        [STATEMENT] [END   2013/11/03 11:08:37] Generating Report to display all the DDLs from ad_zd_ddl_handler
      [STATEMENT] Calling cleanup in STANDARD mode
      [STATEMENT] [WARN] Cleanup may take a while. Please wait.
    [STATEMENT] [END   2013/11/03 11:22:17] Performing Cleanup steps
      [STATEMENT] [START 2013/11/03 11:22:26] Generating Report to display the cleanup status
        [STATEMENT] Report: /u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDCLEANUPRP.sql

        [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cleanup_20131103_110544/VIS_arjun/adzdcleanuprp.out

      [STATEMENT] [END   2013/11/03 11:38:29] Generating Report to display the cleanup status
    [STATEMENT] CLEANUP Phase END TIME: 03-11-2013 11:38:46
  [STATEMENT] [END   2013/11/03 11:38:47] cleanup phase
    [STATEMENT] [START 2013/11/03 11:38:51] Generating Report to spool all logs from ad_zd_logs
      [STATEMENT] Report: /u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

      [STATEMENT] Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cleanup_20131103_110544/VIS_arjun/adzdshowlog.out

    [STATEMENT] [END   2013/11/03 11:38:55] Generating Report to spool all logs from ad_zd_logs
[STATEMENT] [END   2013/11/03 11:38:56] adzdoptl.pl run
[STATEMENT] adop phase=cleanup - Completed Successfully

[STATEMENT] Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131103_110544.log

adop exiting with status = 0 (Success)

###################################################################################################################

[applmgr@arjun logs]$adop phase=prepare

Apply Oracle E-Business Suite Release 12.2.2 Patch 16207672 and Oracle E-Business Suite Release 12.2.2 Online Help Patch 16207673.

[applmgr@arjun scripts]$ adop phase=apply patchtop=/u01/R12.2/other/ patches=16207672,16207673

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


RUN file system context file: /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml
PATCH file system context file: /u01/ORAR122/fs1/inst/apps/R122_arjun/appl/admin/R122_arjun.xml

************* Start of  session *************
 version: 12.2.0
 started at: Tue Dec 03 2013 21:23:50

APPL_TOP is set to /u01/ORAR122/fs2/EBSapps/appl
  There is already a session which is incomplete. Details are:
      Session Id: 4
      Prepare phase status: Y
      Apply phase status: P
      Cutover  phase status: N
      Abort phase status: N
      Session status: F
  [Note: Y denotes that the phase is done
         N denotes that the phase has not been completed
         X denotes that the phase is not applicable
         R denotes that the phase is running (in progress) or ran
         F denotes that the phase has failed
         P (is applicable only to APPLY phase) denotes atleast
            one patch is already applied for the session id
  Will continue with previous session
  Continuing
  [START 2013/12/03 21:24:38] adzdoptl.pl run
    ADOP Session ID: 4
    Phase: apply
    Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131203_212330.log
    [START 2013/12/03 21:24:45] apply phase
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
      Calling: adpatch  restart=yes  workers=8      flags=autoskip   console=no interactive=no  defaultsfile=/u01/ORAR122/fs1/EBSapps/appl/admin/R122_patch/adalldefaults.txt patchtop=/u01/R12.2/other//16207672 driver=u16207672.drv logfile=u16207672.log
      ADPATCH Log directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131203_212330/R122_arjun/16207672/log
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
      Calling: adpatch  restart=yes  workers=8      flags=autoskip   console=no interactive=no  defaultsfile=/u01/ORAR122/fs1/EBSapps/appl/admin/R122_patch/adalldefaults.txt patchtop=/u01/R12.2/other//16207673 driver=u16207673.drv logfile=u16207673.log
      ADPATCH Log directory: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131203_212330/R122_arjun/16207673/log
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

    [END   2013/12/05 19:45:34] apply phase
    [START 2013/12/05 19:45:34] Generating Post Apply Reports
      [START 2013/12/05 19:45:36] Generating AD_ZD_LOGS Report
          [EVENT]     Report: /u01/ORAR122/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

          [EVENT]     Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/apply_20131205_185658/R122_arjun/adzdshowlog.out

      [END   2013/12/05 19:45:50] Generating AD_ZD_LOGS Report
    [END   2013/12/05 19:45:50] Generating Post Apply Reports
  [END   2013/12/05 19:45:53] adzdoptl.pl run
  adop phase=apply - Completed Successfully

  Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131205_185658.log

adop exiting with status = 0 (Success)

############################################################################################################

Instantiate the Oracle HTTP Server configuration files ssl.conf and mod_wl_ohs.conf.
Source the patch edition environment file:

[applmgr@arjun ~]$ . /u01/ORAR122/fs2/EBSapps/appl/APPSR122_arjun.env  
[applmgr@arjun ~]$ echo $PATCH_BASE
/u01/ORAR122/fs2
[applmgr@arjun ~]$ $ADJVAPRG oracle.apps.ad.autoconfig.InstantiateFile -e $CONTEXT_FILE -d $FND_TOP/admin/driver/ohstmpl.drv -tmpl $FND_TOP/admin/template/ssl_conf_FMW.tmp
Enter the APPS password :
[applmgr@arjun ~]$ exit
logout
[root@arjun Desktop]# su - applmgr
[applmgr@arjun ~]$ . /u01/ORAR122/fs1/EBSapps/appl/APPSR122_arjun.env
[applmgr@arjun ~]$ echo $RUN_BASE
/u01/ORAR122/fs1
[applmgr@arjun ~]$ $ADJVAPRG oracle.apps.ad.autoconfig.InstantiateFile -e $CONTEXT_FILE -d $FND_TOP/admin/driver/ohstmpl.drv -tmpl $FND_TOP/admin/template/mod_wl_ohs_conf_FMW.tmp
Enter the APPS password :
[applmgr@arjun ~]$

###############################################################################################################

[applmgr@arjun scripts]$ adop phase=finalize

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


RUN file system context file: /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml
PATCH file system context file: /u01/ORAR122/fs1/inst/apps/R122_arjun/appl/admin/R122_arjun.xml

************* Start of  session *************
 version: 12.2.0
 started at: Thu Dec 05 2013 23:45:24

APPL_TOP is set to /u01/ORAR122/fs2/EBSapps/appl
  Using ADOP Session ID from currently incomplete patching cycle
[START 2013/12/05 23:45:40] adzdoptl.pl run
  ADOP Session ID: 4
  Phase: finalize
  Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131205_234450.log
  [START 2013/12/05 23:45:46] finalize phase
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
      [EVENT]     Running Finalize in QUICK mode
  [END   2013/12/05 23:47:16] finalize phase
  [START 2013/12/05 23:47:17] Generating Post Finalize Reports
  [END   2013/12/05 23:47:17] Generating Post Finalize Reports
  [START 2013/12/05 23:47:17] Generating AD_ZD_LOGS Report
      [EVENT]     Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

      [EVENT]     Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/finalize_20131205_234450/R122_arjun/adzdshowlog.out

  [END   2013/12/05 23:47:21] Generating AD_ZD_LOGS Report
[END   2013/12/05 23:47:24] adzdoptl.pl run
adop phase=finalize - Completed Successfully

Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131205_234450.log

adop exiting with status = 0 (Success)

#######################################################################################################

[applmgr@arjun scripts]$ adop phase=cutover

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


RUN file system context file: /u01/ORAR122/fs1/inst/apps/R122_arjun/appl/admin/R122_arjun.xml
PATCH file system context file: /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml

************* Start of  session *************
 version: 12.2.0
 started at: Fri Dec 06 2013 15:40:07

APPL_TOP is set to /u01/ORAR122/fs1/EBSapps/appl
  There is already a session which is incomplete. Details are:
      Session Id: 4
      Prepare phase status: Y
      Apply phase status: Y
      Cutover  phase status: R
      Abort phase status: X
      Session status: F
  [Note: Y denotes that the phase is done
         N denotes that the phase has not been completed
         X denotes that the phase is not applicable
         R denotes that the phase is running (in progress) or ran
         F denotes that the phase has failed
         P (is applicable only to APPLY phase) denotes atleast
            one patch is already applied for the session id
  Will continue with previous session
  Continuing
  [START 2013/12/06 15:40:57] adzdoptl.pl run
    ADOP Session ID: 4
    Phase: cutover
    Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131206_153938.log
    [EVENT]     Executing pre-cutover call-out script.
    [START 2013/12/06 15:41:05] cutover phase
      [EVENT]     [START 2013/12/06 15:41:11] Performing Cutover Phase steps
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

Broadcast message from applmgr@arjun.bangalore.bedford.local (Fri Dec  6 15:41:16 2013):

The context of the Oracle E-Business Suite system R122
 has been changed after the completion of Online Patching.
 All users connected to the Run or Patch file system must now
 re-source the Oracle E-Business Suite Applications Environment.
        [EVENT]     [START 2013/12/06 15:41:17] Starting Middle Tier Services

Program :  started @ Fri Dec  6 15:41:19 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131206_153938/R122_arjun/TXK_CTRL_restartrun_Fri_Dec_6_15_41_19_2013/txkADOPCutOverPhaseCtrlScript_Fri_Dec_6_15_41_19_2013.log

/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'

Program :  completed @ Fri Dec  6 15:42:47 2013

        [EVENT]     [END   2013/12/06 15:42:47] Starting Middle Tier Services
      [EVENT]     [END   2013/12/06 15:42:55] Performing Cutover Phase steps
    [END   2013/12/06 15:42:59] cutover phase
    [START 2013/12/06 15:42:59] Generating Post Cutover Reports
    [END   2013/12/06 15:43:00] Generating Post Cutover Reports
    [START 2013/12/06 15:43:02] Generating AD_ZD_LOGS Report
        [EVENT]     Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

        [EVENT]     Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/cutover_20131206_153938/R122_arjun/adzdshowlog.out

    [END   2013/12/06 15:43:08] Generating AD_ZD_LOGS Report
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

Broadcast message from applmgr@arjun.bangalore.bedford.local (Fri Dec  6 15:43:08 2013):

The context of the Oracle E-Business Suite system R122
 has been changed after the completion of Online Patching.
 All users connected to the Run or Patch file system must now
 re-source the Oracle E-Business Suite Applications Environment.
    [EVENT]     Executing post-cutover call-out script.
  [END   2013/12/06 15:43:09] adzdoptl.pl run
  adop phase=cutover - Completed Successfully

  Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/4/adop_20131206_153938.log

adop exiting with status = 0 (Success)
You have new mail in /var/spool/mail/applmgr
[applmgr@arjun scripts]$ echo $RUN_BASE

##################################################################################################################

Complete the online patching cycle by running the following commands in the order shown.
Source the run edition environment file:
. $RUN_BASE/EBSapps/appl/APPS$CONTEXT_NAME.env

[applmgr@arjun logs]$ adop phase=finalize

[applmgr@arjun logs]$ adop phase=cutover

[applmgr@arjun logs]$ adop phase=cleanup

[applmgr@arjun logs]$ adop phase=fs_clone

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


RUN file system context file: /u01/ORAR122/fs1/inst/apps/R122_arjun/appl/admin/R122_arjun.xml
PATCH file system context file: /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml

************* Start of  session *************
 version: 12.2.0
 started at: Tue Dec 10 2013 15:34:01

APPL_TOP is set to /u01/ORAR122/fs1/EBSapps/appl
  [START 2013/12/10 15:34:18] adzdoptl.pl run
    ADOP Session ID: 5
    Phase: fs_clone
    Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/5/adop_20131210_153334.log
        [EVENT]     [START 2013/12/10 15:34:21] CLONE Patch File System from Run File System
          [EVENT]     Calling: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl

Program :  started @ Tue Dec 10 15:34:22 2013

*** Log File = /u01/ORAR122/fs_ne/EBSapps/log/adop/5/fs_clone_20131210_153334/R122_arjun/TXK_SYNC_create_Tue_Dec_10_15_34_22_2013/txkADOPPreparePhaseSynchronize_Tue_Dec_10_15_34_22_2013.log



Beginning application tier FSCloneApply - cloneContext Tue Dec 10 15:34:28 2013

/u01/ORAR122/fs1/FMW_Home/webtier/jdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /u01/ORAR122/fs2/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/ORAR122/fs2/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/ORAR122/fs1/EBSapps/comn/java/classes:/u01/ORAR122/fs2/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/ORAR122/fs2/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/ORAR122/fs2/FMW_Home/webtier/oui/jlib/share.jar:/u01/ORAR122/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/ORAR122/fs2/FMW_Home/webtier/jlib/ojmisc.jar:/u01/ORAR122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /u01/ORAR122/fs1/inst/apps/R122_arjun/appl/admin/R122_arjun.xml -targ /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml -stage /u01/ORAR122/fs1/EBSapps/comn/clone -tmp /tmp -nodbac -component cloneContext -nopromptmsg
Log file located at /u01/ORAR122/fs1/inst/apps/R122_arjun/admin/log/FSCloneApplyAppsTier_12101534.log

Log file located at /u01/ORAR122/fs1/inst/apps/R122_arjun/admin/log/FSCloneApplyAppsTier_12101534.log

Target System Fusion Middleware Home set to /u01/ORAR122/fs2/FMW_Home

Target System Web Oracle Home set to /u01/ORAR122/fs2/FMW_Home/webtier

Target System Appl TOP set to /u01/ORAR122/fs2/EBSapps/appl

Target System COMMON TOP set to /u01/ORAR122/fs2/EBSapps/comn

Target System Instance Top set to /u01/ORAR122/fs2/inst/apps/R122_arjun
Report file located at /u01/ORAR122/fs2/inst/apps/R122_arjun/temp/portpool.lst
Complete port information available at /u01/ORAR122/fs2/inst/apps/R122_arjun/temp/portpool.lst

Creating the new APPL_TOP Context file from :
  /u01/ORAR122/fs1/EBSapps/comn/clone/context/apps/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml

Log file located at /u01/ORAR122/fs1/inst/apps/R122_arjun/admin/log/FSCloneApplyAppsTier_12101534.log
contextfile=/u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml
Completed FSCloneApply...
Tue Dec 10 15:34:41 2013



Beginning application tier FSCloneStage - Tue Dec 10 15:34:46 2013

/u01/ORAR122/fs1/FMW_Home/jrockit32/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /u01/ORAR122/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/ORAR122/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/ORAR122/fs1/EBSapps/comn/java/classes:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/ORAR122/fs1/FMW_Home/webtier/oui/jlib/share.jar:/u01/ORAR122/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/ORAR122/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/u01/ORAR122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/ORAR122/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneStageAppsTier -e /u01/ORAR122/fs1/inst/apps/R122_arjun/appl/admin/R122_arjun.xml -targ /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml -stage /u01/ORAR122/fs1/EBSapps/comn/clone -tmp /tmp -component appsTier -nopromptmsg
Log file located at /u01/ORAR122/fs1/inst/apps/R122_arjun/admin/log/FSCloneStageAppsTier_12101534.log
WARNING: A local copy of oraInst.loc exists in the ORACLE_HOME
/u01/ORAR122/fs1/EBSapps/10.1.2//oraInst.loc and associated directory will not be included.
WARNING: A local copy of oraInst.loc exists in the ORACLE_HOME
/u01/ORAR122/fs1/EBSapps/10.1.2//oraInst.loc and associated directory will not be included.
Completed FSCloneStage...
Tue Dec 10 18:02:28 2013



Beginning application tier FSCloneApply - Tue Dec 10 18:04:09 2013

/u01/ORAR122/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /u01/ORAR122/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/java:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/u01/ORAR122/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/ORAR122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/ORAR122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /u01/ORAR122/fs1/inst/apps/R122_arjun/appl/admin/R122_arjun.xml -targ /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml -stage /u01/ORAR122/fs1/EBSapps/comn/clone -tmp /u01/ORAR122/fs1/inst/apps/R122_arjun/appltmp -nodbac -component appsTier -nopromptmsg
Log file located at /u01/ORAR122/fs1/inst/apps/R122_arjun/admin/log/FSCloneApplyAppsTier_12101804.log

Log file located at /u01/ORAR122/fs1/inst/apps/R122_arjun/admin/log/FSCloneApplyAppsTier_12101804.log

Target System Fusion Middleware Home set to /u01/ORAR122/fs2/FMW_Home

Target System Web Oracle Home set to /u01/ORAR122/fs2/FMW_Home/webtier

Target System Appl TOP set to /u01/ORAR122/fs2/EBSapps/appl

Target System COMMON TOP set to /u01/ORAR122/fs2/EBSapps/comn

Target System Instance Top set to /u01/ORAR122/fs2/inst/apps/R122_arjun
Report file located at /u01/ORAR122/fs2/inst/apps/R122_arjun/temp/portpool.lst
Complete port information available at /u01/ORAR122/fs2/inst/apps/R122_arjun/temp/portpool.lst

Creating the new APPL_TOP Context file from :
  /u01/ORAR122/fs1/EBSapps/comn/clone/context/apps/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml

Log file located at /u01/ORAR122/fs1/inst/apps/R122_arjun/admin/log/FSCloneApplyAppsTier_12101804.log
contextfile=/u01/ORAR122/fs2/inst/apps/R122_arjun/appl/admin/R122_arjun.xml

Log file located at /u01/ORAR122/fs1/inst/apps/R122_arjun/admin/log/FSCloneApplyAppsTier_12101804.log
Completed FSCloneApply...
Tue Dec 10 19:10:45 2013
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
cmd = /u01/ORAR122/fs1/FMW_Home/jrockit32/jre/bin/java -classpath /u01/ORAR122/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/u01/ORAR122/fs1/EBSapps/comn/java/classes -mx256m  oracle.apps.ad.tools.configuration.ADOPCustomSyncUp -contextFile /u01/ORAR122/fs1/inst/apps/R122_arjun/appl/admin/R122_arjun.xml -custSyncDrv /u01/ORAR122/fs_ne/EBSapps/appl/ad/custom/adop_sync.drv -logFile /u01/ORAR122/fs_ne/EBSapps/log/adop/5/fs_clone_20131210_153334/R122_arjun/TXK_SYNC_create_Tue_Dec_10_15_34_22_2013/txkADOPCustomSyncUp.log -promptmsg 'hide'
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
Copying <MSC_TOP> PS artifacts from RUN to PATCH fs for exectier
Copying <MSC_TOP> SNO artifacts from RUN to PATCH fs for exectier
ADOP Custom Synchorization successfully run

Program :  completed @ Tue Dec 10 19:23:31 2013

        [EVENT]     [END   2013/12/10 19:23:31] CLONE Patch File System from Run File System
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
          [EVENT]     [START 2013/12/10 19:23:56] Check and Stop Patch FS Admin Server
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

You are running adadminsrvctl.sh version 120.10.12020000.4

Stopping WLS Admin Server...
..Refer /u01/ORAR122/fs2/inst/apps/R122_arjun/logs/appl/admin/log/adadminsrvctl.txt for details

adadminsrvctl.sh: exiting with status 0

adadminsrvctl.sh: check the logfile /u01/ORAR122/fs2/inst/apps/R122_arjun/logs/appl/admin/log/adadminsrvctl.txt for more information ... 

          [EVENT]     [END   2013/12/10 19:24:43] Check and Stop Patch FS Admin Server
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [START 2013/12/10 19:24:51] Generating AD_ZD_LOGS Report
        [EVENT]     Report: /u01/ORAR122/fs1/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

        [EVENT]     Output: /u01/ORAR122/fs_ne/EBSapps/log/adop/5/fs_clone_20131210_153334/R122_arjun/adzdshowlog.out

    [END   2013/12/10 19:25:23] Generating AD_ZD_LOGS Report
  [END   2013/12/10 19:25:23] adzdoptl.pl run
  adop phase=fs_clone - Completed Successfully

  Log file: /u01/ORAR122/fs_ne/EBSapps/log/adop/5/adop_20131210_153334.log

adop exiting with status = 0 (Success)
[applmgr@arjun logs]$








Do Post upgrade steps.

1 comment:

Anonymous said...

you have "sh: error importing function definition for `module'" error in your weblogic start script logs..

Oracle explains this problem with an internal bug : internal Bug 14259166 , and suggest the following rename for the fix:

Rename /etc/profile.d/modules.sh to /etc/profile.d/modules.sh.bak.
Log out, log back in, and set the application environment.