10 Replies Latest reply on Apr 11, 2009 7:19 PM by Hussein Sawwan-Oracle

    RC-50004: Fatal: Error occurred in ApplyAppsTier:

    689285
      Sawwan,

      While i am doing adcfgclone at target node i am hitting this ssie in target

      Log file located at /u02/oradata/PTCH/APPSDEV/inst/apps/DEV_/admin/log/ApplyAppsTier_04111302.log
      / 78% completed

      RC-50004: Fatal: Error occurred in ApplyAppsTier:


      StackTrace -
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
      at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
      at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
      at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
      at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
      at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
      at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
      ... 6 more


      ERROR while running Apply...
      Sat Apr 11 13:07:21 2009
        • 1. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
          Hussein Sawwan-Oracle
          Hi,

          Have a look at the following document.

          Note: 566716.1 - Rapid Clone fails with RC-50004 error Rasing NoSuchMethodError java exception
          https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566716.1

          Regards,
          Hussein
          1 person found this helpful
          • 2. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
            Hussein Sawwan-Oracle
            Hi,

            If the above document does not help, review the following.

            Note: 564321.1 - "PERL ADCFGCLONE.PL DBTIER" ERRORS WITH A NOSUCHMETHODERROR ON WRITEREPORT
            https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=564321.1

            Note: 412044.1 - Oracle Application Management Pack for Oracle E-Business Suite Troubleshooting Guide -- Bug 6877536 (Step 2)
            https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=412044.1

            Regards,
            Hussein
            1 person found this helpful
            • 3. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
              689285
              Swaan,

              here are the lohgfile errors,


              ##########################################################################
              Generate Tns Names
              ##########################################################################
              Logfile: /u02/oradata/PTCH/APPSDEV/inst/apps/DEV_xxx/admin/log/NetServiceHandler.log
              Classpath : /u02/oradata/PTCH/APPSDEV/apps/apps_st/comn/java/lib/appsborg2.zip:/u02/oradata/PTCH/APPSDE
              V/apps/apps_st/comn/java/classes

              Updating s_tnsmode to 'generateTNS'
              UpdateContext exited with status: 0
              AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
              Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
              Instantiating Tools tnsnames.ora
              Tools tnsnames.ora instantiated
              Web tnsnames.ora instantiated

              adgentns.pl exiting with status 512
              ERRORCODE = 512 ERRORCODE_END
              .end std out.

              .end err out.


              Result : FAILED
              ===========================================================================

              Ending Context Value Management System.
              ===========================================================================
              ===========================================================================
              Uploading file system Context file and its templates to the database


              ##########################################################################
              Generate Tns Names
              ##########################################################################
              Logfile: /u02/oradata/PTCH/APPSDEV/inst/apps/DEV_xxx/admin/log/NetServiceHandler.log
              Classpath : /u02/oradata/PTCH/APPSDEV/apps/apps_st/comn/java/lib/appsborg2.zip:/u02/oradata/PTCH/APPSDEV/apps/apps_st/comn/java/classes

              Updating s_tnsmode to 'generateTNS'
              UpdateContext exited with status: 0
              AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
              Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
              Instantiating Tools tnsnames.ora
              Tools tnsnames.ora instantiated
              Web tnsnames.ora instantiated

              adgentns.pl exiting with status 512
              ERRORCODE = 512 ERRORCODE_END
              .end std out.

              .end err out.


              Result : FAILED
              • 4. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
                Hussein Sawwan-Oracle
                Hi,
                AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
                Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
                Instantiating Tools tnsnames.ora
                Tools tnsnames.ora instantiated
                Web tnsnames.ora instantiated

                adgentns.pl exiting with status 512
                ERRORCODE = 512 ERRORCODE_END
                .end std out.
                Follow the steps in the following document, I believe it should fix the issue.

                Note: 453901.1 - R12: adgentns.pl fails with AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora
                https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=453901.1

                Regards,
                Hussein
                1 person found this helpful
                • 5. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
                  689285
                  Sawwan,


                  here i am getting main issues,

                  -----------------------------
                  Attempting upload of Context file and templates to database...ERROR: InDbCtxFile.uploadCtx() : Exception : Error executng BEGIN fnd_gsm_util.append_ctx_fragment(:1,:2,:3); END;: 1; Oracle error -25153: ORA-25153: Temporary Tablespace is Empty has been detected in FND_GSM_UTIL.APPEND_CTX_FRAGMENT.
                  oracle.apps.ad.autoconfig.oam.InDbCtxFileException: Error executng BEGIN fnd_gsm_util.append_ctx_fragment(:1,:2,:3); END;: 1; Oracle error -25153: ORA-25153: Temporary Tablespace is Empty has been detected in FND_GSM_UTIL.APPEND_CTX_FRAGMENT.
                  at oracle.apps.ad.autoconfig.oam.InDbCtxFile.uploadCtx(InDbCtxFile.java:220)
                  at oracle.apps.ad.autoconfig.oam.CtxSynchronizer.uploadToDb(CtxSynchronizer.java:328)
                  at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBCtx(FileSysDBCtxMerge.java:678)
                  at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBFiles(FileSysDBCtxMerge.java:222)
                  at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1608)
                  at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:705)
                  • 6. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
                    Hussein Sawwan-Oracle
                    Hi,

                    How did you clone the database? Did you use a cold or hot backup? Most probably you need to add a TEMP tablespace (or add temp file to the TEMP tablespace), and run the adcfgclone.pl command again. Review the alert_<SID>.log file to verify this.

                    Note: 370793.1 - Error Executng Begin Fnd_gsm_util.Append ctxfragment(?,?,?); End; Ora-25153
                    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=370793.1

                    Regards,
                    Hussein
                    1 person found this helpful
                    • 7. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
                      689285
                      i have taken cold backup and i did cold backup cloning for database,we have added temp_tablespace alread, can you explain me more on this issue.
                      • 8. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
                        Hussein Sawwan-Oracle
                        Hi,

                        What does the following return?
                        SQL> SELECT FILE_NAME, TABLESPACE_NAME, STATUS
                        from DBA_TEMP_FILES
                        where TABLESPACE_NAME like 'TEMP';
                        
                        SQL> SELECT FILE_NAME, TABLESPACE_NAME,  STATUS
                        from DBA_DATA_FILES
                        where TABLESPACE_NAME like 'TEMP';
                        ORA-25153 is explained in the following document with the suggested solutions.

                        Note: 178992.1 - How to Recover from Missing Tempfiles or an Empty Temporary Tablespace
                        https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=178992.1

                        Regards,
                        Hussein
                        • 9. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
                          689285
                          Brother sawwan,

                          you are magic works, issue with temp default temp tablespace,now i finished cloning,


                          you are the best ,

                          have a good week end with u r family,

                          Thanks
                          • 10. Re: RC-50004: Fatal: Error occurred in ApplyAppsTier:
                            Hussein Sawwan-Oracle
                            Hi,

                            Good to hear that the issue has been resolved.

                            Same to you, have a nice weekend.

                            Regards,
                            Hussein
                            1 person found this helpful