1 2 3 Previous Next 35 Replies Latest reply on Apr 26, 2016 2:21 AM by Beauty_and_dBest Go to original post
      • 15. Re: Adop phase=prepare taking so long?
        Beauty_and_dBest

        Hi Ram,

         

        I created all using adsplice.

         

        This is my other problem also because the developers always getting mad at me whenever I apply a patch. They said their programs or data are lost whenever I switch file editions,

        from fs1 to fs2 and back to fs1. Whenever they have create new files or folders, they are not being copied or clone to the patch edition.

         

        Is this the behavior of online patching? New data from custom apps are not replicated by adop patch?

        Do I need to manually copy them to the new run edition?

         

         

        Kind  regards,

        • 16. Re: Adop phase=prepare taking so long?
          VishnuVinnakota

          They are not getting copied not because of adsplice but because the locations which they are keeping the custom files are not being kept in adop_sync.drv

           

          All custom locations should be mentioned in adop_sync.drv

          1 person found this helpful
          • 17. Re: Adop phase=prepare taking so long?
            Narsi M-Oracle

            Hello Jenna,

             

            Please review below MOS Notes:

            "Developing and Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1)"

            Section 1.5: Deploying Custom Application Tier Objects

            Section 1.5.4: Adding Entries to the Custom Synchronization Driver File

            Section 1.5.5: Deploying Java Files at Non-Standard Location(s) for Custom Products

             

             

            Regards,

            Narsi

            1 person found this helpful
            • 18. Re: Adop phase=prepare taking so long?
              VishnuVinnakota

              /u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/prepare_20160420_095334/VIS_fitr12/TXK_SYNC_create_Wed_Apr_20_09_58_23_2016/fsclone_stage/FSCloneStageAppsTier_04200958.log

               

              /u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/prepare_20160420_095334/VIS_fitr12/TXK_SYNC_create_Wed_Apr_20_09_58_23_2016/txkADOPPreparePhaseSynchronize_Wed_Apr_20_09_58_23_2016.log

               

              Post the full content of above.

               

              • I recommend you to cleanly shutdown all processes.
              • Check with ps -fu applmgr (Or the owner if different)
              • Kill any stale processes

               

              Then rerun it

              1 person found this helpful
              • 19. Re: Adop phase=prepare taking so long?
                Beauty_and_dBest

                Hi ALL,

                 

                Below are the logs,

                 

                Log1

                =====

                Copy OUI from /u01/appvis/VIS/fs1/EBSapps/10.1.2/oui/lib to /u01/appvis/VIS/fs1/EBSapps/comn/adopclone_fitr12//oui/

                Creating FMW staging directories

                Creating log directory

                Creating OHS instance archive stage directory

                Creating Weblogic domain archive stage directory

                Creating t2pjdk directory

                Creating prereq/webtier directory

                Attempting to delete: /u01/appvis/VIS/fs1/EBSapps/comn/adopclone_fitr12//prereq

                Copying /u01/appvis/VIS/fs1/FMW_Home/webtier/oui to /u01/appvis/VIS/fs1/EBSapps/comn/adopclone_fitr12//prereq/webtier

                Copying /u01/appvis/VIS/fs1/FMW_Home/webtier/inventory/Scripts to /u01/appvis/VIS/fs1/EBSapps/comn/adopclone_fitr12//prereq/webtier

                 

                START: Creating FMW archive.

                Running /u01/appvis/VIS/fs1/FMW_Home/oracle_common/bin/copyBinary.sh -javaHome /u01/appvis/VIS/fs1/EBSapps/comn/adopclone_fitr12/FMW/t2pjdk -al /u01/appvis/VIS/fs1/EBSapps/comn/adopclone_fitr12/FMW/FMW_Home.jar -smw /u01/appvis/VIS/fs1/FMW_Home -ldl /u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/admin/log/clone/fmwT2PStage -invPtrLoc /etc/oraInst.loc -silent true -debug true

                Script Executed in 31544 milliseconds, returning status 255

                ERROR: Script failed, exit code 255

                 

                Log2

                =====

                ==========================

                Inside getCloneStatus()...

                ==========================

                 

                SQL Command: SELECT clone_status||',' FROM ad_adop_session_patches WHERE status in ('R','F','N') AND bug_number = 'CLONE' AND node_name = 'fitr12' AND adop_session_id = 17

                clone_status = STARTED

                clone_status_from_caller = 2

                clone_status_from_db = 1

                Executing SYSTEM command: perl /u01/appvis/VIS/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=/u01/appvis/VIS/fs1/EBSapps/comn/util/jdk32 mode=fsclonestage stage=/u01/appvis/VIS/fs1/EBSapps/comn/adopclone_fitr12 component=appsTier appctx=/u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml appctxtg=/u01/appvis/VIS/fs2/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml

                EXIT STATUS: 1

                 

                ======================================

                Inside copyCloneLogsToFSNE()...

                ======================================

                 

                Creating the directory: /u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/prepare_20160420_095334/VIS_fitr12/TXK_SYNC_create_Wed_Apr_20_09_58_23_2016/fsclone_stage

                 

                Copying the directory

                ---------------------

                SOURCE : /u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/admin/log/clone

                TARGET : /u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/prepare_20160420_095334/VIS_fitr12/TXK_SYNC_create_Wed_Apr_20_09_58_23_2016/fsclone_stage

                 

                /u01/appvis/VIS/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl did not go through successfully.

                LOG DIRECTORY: /u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/prepare_20160420_095334/VIS_fitr12/TXK_SYNC_create_Wed_Apr_20_09_58_23_2016/fsclone_stage.

                *******FATAL ERROR*******

                PROGRAM : (/u01/appvis/VIS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)

                TIME    : Wed Apr 20 10:01:51 2016

                FUNCTION: main::runFSCloneStage [ Level 1 ]

                ERRORMSG: /u01/appvis/VIS/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl did not go through successfully.

                • 20. Re: Adop phase=prepare taking so long?
                  Beauty_and_dBest

                  I already shutdown and restart the instance, Then rerun adop phase=prepare   but still the same error

                  Please help....

                   

                  ERROR while running FSCloneStage...

                  Wed Apr 20 15:04:41 2016

                  *******FATAL ERROR*******

                  PROGRAM : (/u01/appvis/VIS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)

                  TIME    : Wed Apr 20 15:04:41 2016

                  FUNCTION: main::runFSCloneStage [ Level 1 ]

                  ERRORMSG: /u01/appvis/VIS/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl did not go through successfully.

                   

                                  [UNEXPECTED]Error occurred while executing "perl /u01/appvis/VIS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml -patchcontextfile=/u01/appvis/VIS/fs2/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml -promptmsg=hide -console=off -mode=create -sessionid=18 -timestamp=20160420_145736 -outdir=/u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/prepare_20160420_145736/VIS_fitr12"

                                  [UNEXPECTED]Error occurred while CLONE Patch File System from Run File System using command: "perl /u01/appvis/VIS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml -patchcontextfile=/u01/appvis/VIS/fs2/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml -promptmsg=hide -console=off -mode=create -sessionid=18 -timestamp=20160420_145736 -outdir=/u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/prepare_20160420_145736/VIS_fitr12".

                                  [EVENT]     Calling task: "Releasing ports on fitr12"; script: "/u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/admin/install/txkCloneAcquirePort.pl"; args: " -option=close -server=fitr12.myoracle.com -ports=5557,7002,7602,7402,7202,7802,6101,6201 -log=/u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/prepare_20160420_145736/VIS_fitr12/txkCloneAcquirePort.log"

                                  [EVENT]     [START 2016/04/20 15:04:42] Releasing ports on fitr12

                                    [EVENT]     Calling: /u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/admin/install/txkCloneAcquirePort.pl

                                  [EVENT]     [END   2016/04/20 15:04:42] Releasing ports on fitr12

                                  [UNEXPECTED]fs_clone phase completed with errors/warnings. Please check logfiles

                                  [UNEXPECTED]Error while runPendingClone sub-routine is called

                                    [EVENT]     [START 2016/04/20 15:04:43] Check and Stop Patch FS Admin Server

                   

                  You are running adadminsrvctl.sh version 120.10.12020000.9

                   

                  The AdminServer is already shutdown

                   

                  adadminsrvctl.sh: exiting with status 2

                   

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

                   

                                    [EVENT]     [END   2016/04/20 15:04:50] Check and Stop Patch FS Admin Server

                                  [ERROR]     Prepare phase completed with errors or warnings. Please check logfiles.

                                  Log file: /u01/appvis/VIS/fs_ne/EBSapps/log/adop/18/adop_20160420_145736.log

                   

                  [STATEMENT] Please run adopscanlog utility, using the command

                  • 21. Re: Adop phase=prepare taking so long?
                    Ramaraju

                    Hi Jenna,

                    Once check with following Oracle Doc ID

                    Adop Prepare Phase Failed Due to Error Occurred While Executing txkADOPPreparePhaseSynchronize.pl (Doc ID 2092560.1)

                     

                    Thanks,

                    Ramaraju

                    1 person found this helpful
                    • 22. Re: Adop phase=prepare taking so long?
                      Beauty_and_dBest

                      Hi ALL,

                       

                      Is it okay to force clone? By removing the entire patch edition and copy again and run?

                       

                      cp -r /home/appprod/PROD/fs1/EBSapps    /home/appprod/PROD/fs2

                       

                      cd /home/appprod/PROD/fs2/EBSapps/comn/clone/bin/


                      perl adcfgclone.pl appsTier

                      • 23. Re: Adop phase=prepare taking so long?
                        VishnuVinnakota

                        very much ok.

                         

                        As long as you are sure your current RUN is working absolutely fine, fs_clone force is very useful.

                         

                        I have resolved issues few times with this.

                        1 person found this helpful
                        • 24. Re: Adop phase=prepare taking so long?
                          Beauty_and_dBest

                          Thanks Vishnu,

                           

                          Will the custom application(created by adsplice) be included  and cloned as well?

                          Or I will manually copy xx_custom folders?

                           

                           

                           

                           

                          Kind regards,

                          • 25. Re: Adop phase=prepare taking so long?
                            VishnuVinnakota

                            If you have spliced any product and after that the ADOP patch cycles were complete, both run and patch would have been sync.

                             

                            Even now as you are running fs_clone, it will.

                             

                            • . EBSapps.env run
                            • echo $XXXX_TOP

                             

                            If above is working already, it means its spliced already properly.

                             

                            When did you splice by the way? Was it long back?

                            1 person found this helpful
                            • 26. Re: Adop phase=prepare taking so long?
                              Beauty_and_dBest

                              Yes it was done like 2 months ago, and I was able to apply four patches  with minimal issues like the developer programs are not copied or cloned from run edition to patch edition.

                              • 27. Re: Adop phase=prepare taking so long?
                                VishnuVinnakota

                                Then don't bother about the Custom Schema.

                                 

                                I recommend the below locations to be kept in the adop_sync.drv based on my experience with Developers.

                                 

                                • xx_top (Entire)
                                • $JAVA_TOP/customdirs
                                • $OA_MEDIA/customdirs (If any custom directories are present in OA_MEDIA)

                                 

                                Any other directories based on the discussions with Developers.

                                1 person found this helpful
                                • 28. Re: Adop phase=prepare taking so long?
                                  Beauty_and_dBest

                                  Hi Narzi and ALL

                                   

                                  Re:

                                   

                                  "Developing and Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1)"

                                  Section 1.5: Deploying Custom Application Tier Objects

                                  Section 1.5.4: Adding Entries to the Custom Synchronization Driver File

                                  Section 1.5.5: Deploying Java Files at Non-Standard Location(s) for Custom Products

                                   

                                  The document is very complicated to understand

                                  Are these  tasks for both developer and apps dba? Which part is for developers and which part is for apps dba?

                                  I have not done any of these tasks before, that is why the developers are complaining their data are always gone whenever I apply a new patch.

                                  So as a work-around is it okay to copy all the xx_custom folder from fs1 to fs2 (before or after adop patching cycle)  just to be sure the files are replicated?

                                   

                                   

                                  Kind regards,

                                  • 29. Re: Adop phase=prepare taking so long?
                                    Beauty_and_dBest

                                    Hi ALL,

                                     

                                    I resolved my issue using this magical procedure:

                                     

                                    Connect to db tier as apps/apps  and run:

                                     

                                    begin

                                    fnd_conc_clone.setup_clean;

                                    commit;

                                    end;

                                    /


                                    At db tier run autonconfig.

                                    At apps tier run autoconfig both on run and patch editions.

                                     

                                    Then run > adop phase=prepare


                                    And success!!!


                                    I wonder why they said the node clean up is not supported anymore?

                                    But why is it working for me?

                                     

                                    Kind regards,