10 Replies Latest reply on Oct 2, 2017 9:23 AM by Jibu-Oracle

    Cloning issue

    Chaker

      Dear Colleague

       

      I was preparing the clone of my application but got immediately the below issue:

       

      E:\Oracle\INST\apps\apps_st\comn\clone\bin>perl adcfgclone.pl appsTier

                           Copyright (c) 2002 Oracle Corporation
                              Redwood Shores, California, USA

                              Oracle Applications Rapid Clone

                                       Version 12.0.0

                            adcfgclone Version 120.31.12010000.14

      Running:
      E:\Oracle\INST\apps\apps_st\comn\clone\bin\..\jre\bin\java.exe -Xmx600M -cp E:\Oracle\INST\apps\apps_st\comn\clone\jlib\java;E:\Oracle\INST\apps\apps_st\comn\clone\jlib\xmlparserv2.jar;E:\Oracle\INST\apps\apps_st\comn\clone\jlib\ojdbc14.jar
      oracle.apps.ad.context.CloneContext -e E:\Oracle\INST\apps\apps_st\comn\clone\bin\..\context\apps\CTXORIG.xml -validate -pairsfile C:\Users\ADMINI~1\AppData\Local\Temp\2\adpairsfile_1212.lst -stage E:\Oracle\INST\apps\apps_st\comn\clone  2
      > C:\Users\ADMINI~1\AppData\Local\Temp\2\adcfgclone_1212.err && echo %ERRORLEVEL% > C:\Users\ADMINI~1\AppData\Local\Temp\2\adcfgclone_1212.res

      Running Rapid Clone with command:
      perl E:\Oracle\INST\apps\apps_st\comn\clone\bin\adclone.pl java=E:\Oracle\INST\apps\apps_st\comn\clone\bin\..\jre mode=apply stage=E:\Oracle\INST\apps\apps_st\comn\clone component=appsTier method=CUSTOM appctxtg= showProgress contextValidated=true noprompt
      Running:
      perl E:\Oracle\INST\apps\apps_st\comn\clone\bin\adclone.pl java=E:\Oracle\INST\apps\apps_st\comn\clone\bin\..\jre mode=apply stage=E:\Oracle\INST\apps\apps_st\comn\clone component=appsTier method=CUSTOM appctxtg= showProgress contextValidat
      ed=true noprompt

      You must define the target applications context to use
              appctxtg=<applications context file>

      Restart adclone.pl after performing required corrections.

      ERROR: Failed to execute E:\Oracle\INST\apps\apps_st\comn\clone\bin\adclone.pl

      Please check logfile.

      E:\Oracle\INST\apps\apps_st\comn\clone\bin>

       

      please note that I'm used to do the cloning without issue

       

      please advice

       

      Note:

      database cloning completed successfully

       

      OS: windows 2008 server R2

      EBS: R12.1.3

      database: 11.2.0.4

       

      Regards

      Chaker

        • 1. Re: Cloning issue
          mdtaylor

          Did you run the prepare step on the source?

           

          Cloning Oracle Applications Release 12 with Rapid Clone (Doc ID 406982.1)

          • 2. Re: Cloning issue
            Chaker

            hello,

             

            of course the preclone steps are done into both database and application

             

            I notice that only the below patches not applied:

             

            23067321:R12.OAM.B RMAN GET ORA-00201 ERROR WHILE RESTORE EBS DB 12C BY REFFERING NOTE: 559518.1
            17024162:R12.OAM.B RESTORING DATABASE RAISES ORA-00201 DUE TO INCOMPATIBLE VERSION

            8246709 Required for Microsoft Windows if using OracleAS 10.1.3.4. This patch must be re-applied to the OracleAS 10.1.3.4 ORACLE_HOME before every cloning operation

             

            do you think that these patches are mandatory for of the application cloning ?

             

            Regards

            Chaker

            • 3. Re: Cloning issue
              Jibu-Oracle

              Hi Chaker,

               

              You can consider the following patch as you are using windows , other patches are helpful if using 12c database

              8246709 Required for Microsoft Windows if using OracleAS 10.1.3.4.

               

              Thanks

              Jibu

              • 4. Re: Cloning issue
                Chaker

                Hi Jibu,

                 

                23067321:R12.OAM.B RMAN GET ORA-00201 ERROR WHILE RESTORE EBS DB 12C BY REFFERING NOTE: 559518.1

                ==> no need as I'm not using RMAN
                17024162:R12.OAM.B RESTORING DATABASE RAISES ORA-00201 DUE TO INCOMPATIBLE VERSION

                ==>no need as my actual database version is 11.2.0.4

                8246709 Required for Microsoft Windows if using OracleAS 10.1.3.4. This patch must be re-applied to the OracleAS 10.1.3.4 ORACLE_HOME before every cloning operation

                ==> do you think this patch can cause the cloning issue

                 

                Note: cloning was working fine before

                 

                Regards

                Chaker

                • 5. Re: Cloning issue
                  Jibu-Oracle

                  Hi Chaker,

                   

                  I would suggest to have this patch 8246709 applied as you are using Windows,  if using OracleAS 10.1.3.4

                   

                  If the clone was working fine earlier then you need to check error details,

                  Also could refer some of the Notes like following for any known cases,

                  Adcfgclone On Appstier Fails To Execute Adclone.Pl Due To "ORA-25153" (Doc ID 1288122.1)

                  Perl Adcfgclone.pl AppsTier Fails With Failed To Execute Adclone.pl (Doc ID 1619349.1)

                  Check database alert log file as well for any errors

                   

                  Hope it helps

                   

                  Thanks

                  Jibu

                  • 6. Re: Cloning issue
                    Chaker

                    Hi Jibu,

                    i followed your action plan but unfortunately without success

                     

                    ...............

                    You must define the target applications context to use      appctxtg=<applications context file>

                    Restart adclone.pl after performing required corrections.

                    ERROR: Failed to execute E:\Oracle\INST\apps\apps_st\comn\clone\bin\adclone.pl

                     

                    Please check logfile.

                    ==> where can i found the log file?

                     

                    Regards

                    Chaker

                    • 7. Re: Cloning issue
                      Jibu-Oracle

                      You could refer the following Note to find respective log details

                      Troubleshooting RapidClone issues with Oracle Applications R12.0 & R12.1 (Doc ID 603104.1)

                      • 8. Re: Cloning issue
                        Magnanimous

                        Please check the log - $INST_TOP/admin/log and share the exact error.

                         

                        Prashant Umap

                        • 9. Re: Cloning issue
                          Chaker

                          Dear Colleagues

                           

                          prepared a fresh server and start the process again==> cloning completed with success

                           

                          thanks all

                          Regards

                          Chaker

                          • 10. Re: Cloning issue
                            Jibu-Oracle

                            Good to hear that it is resolved in retry