1 2 Previous Next 24 Replies Latest reply on Nov 15, 2010 4:09 PM by 756803

    FRM-40010: Cannot read form in Linux

    756803
      Hi

      While running the f60desm command gives below error

      FRM-40010: Cannot read form /d01/oracle/prodappl/au/11.5.0/forms/US/PROJECT.fmx

      I have defined the following path

      1) customPROD_A.env

      ## PROJECT custom top ##

      PROJECT_TOP=/d01/oracle/prodappl/PROJECT/11.5.0
      export PROJECT_TOP

      2) APPSPROD_A.env

      customfile=/d01/oracle/prodappl/customPROD_A.env
      if [  -f $customfile ]; then
      . /d01/oracle/prodappl/customPROD_A.env
      fi
      . /d01/oracle/prodora/8.0.6/PROD_A.env
      . /d01/oracle/prodappl/PROD_A.env


      Environment:

      Oracle Applications : 11.5.10.2
      RDBMS : 11.2.0.1.0
      OS : OEL5


      Please help to resolve the problem.

      Thanks
      Regards
      GSM
        • 1. Re: FRM-40010: Cannot read form in Linux
          Hussein Sawwan-Oracle
          Hi,
          While running the f60desm command gives below error

          FRM-40010: Cannot read form /d01/oracle/prodappl/au/11.5.0/forms/US/PROJECT.fmx
          Do you have this fmx file located under the $AU_TOP/forms/US directory?

          Do you get the same error with other custom forms under the same directory or just this specific form?
          I have defined the following path

          1) customPROD_A.env

          ## PROJECT custom top ##

          PROJECT_TOP=/d01/oracle/prodappl/PROJECT/11.5.0
          export PROJECT_TOP
          What does "Echo $PROJECT_TOP" return?
          2) APPSPROD_A.env

          customfile=/d01/oracle/prodappl/customPROD_A.env
          if [  -f $customfile ]; then
          . /d01/oracle/prodappl/customPROD_A.env
          fi
          . /d01/oracle/prodora/8.0.6/PROD_A.env
          . /d01/oracle/prodappl/PROD_A.env
          Have you sourced the env file again after setting the PRODUCT_TOP? Have you bounced the application services as well?

          Thanks,
          Hussein
          • 2. Re: FRM-40010: Cannot read form in Linux
            756803
            Hi,

            Thanks.

            1) After compilling the PROJECT.fmb it's create PROJECT.fmx in $AU_TOP/forms/US directory.

            2) Get the same error with other custom forms under the same directory.
            3) "Echo $PROJECT_TOP"
            /d01/oracle/prodappl/PROJECT/11.5.0

            4) I have sourced the env file again after setting the PROJECT_TOP & bounced the application services as well.

            while opening the form it's gives below error but form compile successfully after connecting the server without any errors and windows get disapper and main windows gets remains.Error "FRM-40010: Cannot read form in Linux" gets appears on terminal windows.I am using standalone PC.

            FRM-18108: Failed to load the following objects

            Source Module:APPSTAND
            Source Object:STANDARD_PC_AND_VA
            Source Module:APPSTAND
            Source Object:STANDARD_PC_TOOLBAR
            Source Module:APPSTAND
            Source Object:STANDARD_CALENDAR

            Thanks
            Regards
            GSM
            • 3. Re: FRM-40010: Cannot read form in Linux
              Hussein Sawwan-Oracle
              Hi,
              FRM-18108: Failed to load the following objects
              Please see these docs/threads.

              Urgent: FRM - 18108: Failed to load the following objects.... in R12
              Urgent: FRM - 18108: Failed to load the following objects.... in R12

              Error Opening TEMPLATE.fmb in Forms Builder [ID 236803.1]
              FRM-18108 while compiling form on HP Unix [ID 260477.1]

              Thanks,
              Hussein
              • 4. Re: FRM-40010: Cannot read form in Linux
                756803
                Hi,

                Thanks.

                As per Urgent: FRM - 18108: Failed to load the following objects.... in R12
                Urgent: FRM - 18108: Failed to load the following objects.... in R12

                - Copy all pll files, TEMPLATE.fmb & APPSTAND.fmb from $AU_TOP/resource to your local pc (C:\ABC)
                - Add (C:\ABC) to FORMS_PATH in the registry
                - Close/Open Forms Builder
                - Open the form

                How to do same in OEL5.

                I created ABC directory in root of OEL5 & copied all pll files, TEMPLATE.fmb & APPSTAND.fmb from $AU_TOP/resource to ABC directory but how to add ABC to FORMS_PATH in OEL5?

                Thanks
                Regards
                GSM
                • 5. Re: FRM-40010: Cannot read form in Linux
                  Hussein Sawwan-Oracle
                  Hi,
                  How to do same in OEL5.
                  The above is applicable for Windows (if you want to open the fmb file on Windows client machine and compile it -- generate the fmx file). If you are on Linux, you do not need to do the same, just source the application env file and compile the form (issue "echo $FORMS60_PATH" to verify that all the relevant directories are set in the path).
                  I created ABC directory in root of OEL5 & copied all pll files, TEMPLATE.fmb & APPSTAND.fmb from $AU_TOP/resource to ABC directory but how to add ABC to FORMS_PATH in OEL5?
                  As mentioned above, this is not required on Linux. However, if you want to add the ABC directory you have to issue:

                  $ export FORMS_PATH=<Path to ABC directory>:$PATH

                  Thanks,
                  Hussein
                  • 6. Re: FRM-40010: Cannot read form in Linux
                    756803
                    Hi,


                    Thanks.

                    The both error has been resolved,after setting path by $ export FORMS_PATH=<Path to ABC directory>:$PATH
                    error has not occur in terminal also.


                    1)FRM-40010: Cannot read form in Linux
                    2) FRM-18108: Failed to load the following objects

                    Source Module:APPSTAND
                    Source Object:STANDARD_PC_AND_VA
                    Source Module:APPSTAND
                    Source Object:STANDARD_PC_TOOLBAR
                    Source Module:APPSTAND
                    Source Object:STANDARD_CALENDAR


                    Now form gets open but it's does not closed by clicking on "X" and gives message "FRM-40800: User exit FND does not exist"


                    Thanks
                    Regards
                    GSM
                    • 7. Re: FRM-40010: Cannot read form in Linux
                      Srini Chavali-Oracle
                      Assuming this is a custom form, was it built using the seeded TEMPLATE.fmb file ? Are you trying to execute the form thru designer ? If so, you will not be able to. See MOS Doc 99658.1 (FRM-40800 User Exit FND Does Not Exist When Running A Form In Designer).

                      HTH
                      Srini
                      • 8. Re: FRM-40010: Cannot read form in Linux
                        756803
                        Hi,

                        Thanks.

                        Yes it's a custom form.I am trying to execute the form through Oracle Forms Builder.

                        Thanks
                        Regards
                        GSM
                        • 9. Re: FRM-40010: Cannot read form in Linux
                          Srini Chavali-Oracle
                          You cannot execute the form thru Designer. You will need to compile it and place the fmx file in an appropriate directory, then execute the form thru the application.

                          HTH
                          Srini
                          1 person found this helpful
                          • 10. Re: FRM-40010: Cannot read form in Linux
                            Hussein Sawwan-Oracle
                            Hi,
                            Yes it's a custom form.I am trying to execute the form through Oracle Forms Builder.
                            You can do from the server using frmcmp_batch.sh -- See (How to Generate Form, Library and Menu for Oracle Applications [ID 130686.1]) for details.

                            Compiling the form from the client does not help as the OS is different (i.e. you still need to compile the form on the server after you compile it on the Windows client).

                            Thanks,
                            Hussein
                            1 person found this helpful
                            • 11. Re: FRM-40010: Cannot read form in Linux
                              user12197222
                              Hi,

                              Thanks.

                              I compiled the form and place the fmx file in an appropriate directory. Now while executing the form through the EBS application the form gets open with message "FRM-41067: Cannot find Menu Item: invalid ID".After clicking OK form gets closed automatically.

                              Thanks
                              Regards
                              GSM
                              • 12. Re: FRM-40010: Cannot read form in Linux
                                Hussein Sawwan-Oracle
                                Hi,

                                Please see (MULTIPLE ERRORS - FRM-10221 FRM-41810 FRM-41067 [ID 1016316.102]).

                                If you still get the same error, obtain the FRD file as per these docs and post the log file here.

                                Note: 150168.1 - Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i
                                Note: 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications

                                Thanks,
                                Hussein
                                • 13. Re: FRM-40010: Cannot read form in Linux
                                  756803
                                  Hi,

                                  Thanks.

                                  I recompiled the form again and open the form from EBS application the message change to "FRM-41830:List of Values contains no entries".After clicking OK form gets closed automatically.

                                  Thanks
                                  Regards
                                  GSM
                                  • 14. Re: FRM-40010: Cannot read form in Linux
                                    Hussein Sawwan-Oracle
                                    Hi,
                                    I recompiled the form again and open the form from EBS application the message change to "FRM-41830:List of Values contains no entries".After clicking OK form gets closed automatically.
                                    Do you have any LOVs in the form which contains no entries?

                                    Thanks,
                                    Hussein
                                    1 2 Previous Next