4 Replies Latest reply on Apr 14, 2016 9:20 PM by 2738168

    Forms won't start after patch 21539521. Error while executing the perl script txkChkFormsDeployment.pl

    2738168

      Hi,

       

      We just applied patch 21539521 and now the forms couldn't start. Here's the error:

       

      You are running adforms-c4wsctl.sh version 120.0.12010000.3

       

      Starting OPMN managed FORMS-C4WS OC4J instance  ...

      Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...

      *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS

      *** Log File = /U01/oraqa/inst/apps/QA_hoth/logs/appl/rgf/TXK/txkChkFormsDeployment_Wed_Apr_6_14_16_18_2016/txkChkFormsDeployment_Wed_Apr_6_14_16_18   _2016.log

      Program : /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Wed Apr  6 14:16:18 2016

       

      *** Log File = /U01/oraqa/inst/apps/QA_hoth/logs/appl/rgf/TXK/txkChkFormsDeployment_Wed_Apr_6_14_16_18_2016/txkChkFormsDeployment_Wed_Apr_6_14_16_18   _2016.log

       

      File "/U01/oraqa/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...

       

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

      *** Latest formsapp.ear has NOT been deployed ***

      Deploying the latest EAR file...

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

      Program : /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Wed Apr  6 14:16:59 2016

       

      *****************************************

      *             W A R N I N G             *

      *****************************************

      Error while executing the perl script txkChkFormsDeployment.pl

       

      We have determined that you need to redeploy Forms (using txkChkFormsDeployment.pl).

      But could not do it automatically for you, due to some issues.

      For details refer the log files.

      Follow Note: 397174.1 to redeploy Forms manually.

      *****************************************

       

      adforms-c4wsctl.sh: exiting with status 150

       

      I followed note 1961805.1 and 397174.1, but still didn't fix the issue. Here's the error in the txkChkFormsDeployment_Wed_Apr_6_14_16_18   _2016.log file:

       

      16/04/06 14:16:51 Notification ==>Operation failed with error:

      Unable to find/read file META-INF/ra.xml in /U01/oraqa/apps/tech_st/10.1.3/j2ee/forms/connectors/forms/forms archive (IO Error: error in opening zip file)

       

      Deploy error: Deploy error: Operation failed with error:

      Unable to find/read file META-INF/ra.xml in /U01/oraqa/apps/tech_st/10.1.3/j2ee/forms/connectors/forms/forms archive (IO Error: error in opening zip file)

       

      There are quite a few notes on this issue but I haven't found any one that works. Please help!

       

      Thank you.

       

      Jessie

        • 1. Re: Forms won't start after patch 21539521. Error while executing the perl script txkChkFormsDeployment.pl
          2738168

          I followed note 397174.1 to manually deploy formsapp.ear but failed with the following:

           

          Errors encountered running /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl

           

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

          PROGRAM : /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/U01/oraqa/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)

          TIME    : Wed Apr  6 15:33:54 2016

          FUNCTION: TXK::Process::run [ Level 3 ]

          MESSAGES:

          Command error: <rc> = 256, <command> = /U01/oraqa/apps/tech_st/10.1.3/jdk/bin/java -jar /U01/oraqa/apps/tech_st/10.1.3/j2ee/home/admin_client.jar deployer:oc4j:opmn://hoth.bwes.net:6540/oafm oc4jadmin ******* -undeploy AppsSOAAdapter -isConnector

           

          STACK TRACE

                  TXK::Error::abort('TXK::Error','HASH(0x9f5be08)') called at /U01/oraqa/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 299

                  TXK::Common::doError('TXK::Process=HASH(0xa74eaa8)','Command error: <rc> = 256, <command> = /U01/oraqa/apps/tech_s...','undef') called at /U01/oraqa/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 314

                  TXK::Common::setError('TXK::Process=HASH(0xa74eaa8)','Command error: <rc> = 256, <command> = /U01/oraqa/apps/tech_s...') called at /U01/oraqa/apps/apps_st/appl/au/12.0.0/perl/TXK/Process.pm line 449

                  TXK::Process::run('TXK::Process=HASH(0xa74eaa8)','HASH(0xa7512c8)') called at /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 1922

                  TXK::RunScript::undeployDataSource('HASH(0xa8dca40)') called at /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 1713

                  TXK::RunScript::deployDataSource('HASH(0xa8dca40)') called at /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 688

                  require /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl called at /U01/oraqa/apps/apps_st/appl/au/12.0.0/perl/TXK/RunScript.pm line 105

                  TXK::RunScript::require('TXK::RunScript','/U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgO...') called at /U01/oraqa/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177

                  eval {...} called at /U01/oraqa/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177

                  TXK::Script::run('TXK::Script=HASH(0xa7f1270)','/U01/oraqa/inst/apps/QA_hoth/logs/appl/rgf/TXK','/U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgO...') called at /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl line 174

           

          Anyone has run into similar issues? Please help.

           

          Thank you.

           

          Jessie

          • 2. Re: Forms won't start after patch 21539521. Error while executing the perl script txkChkFormsDeployment.pl
            rgoold

            Yes, I've seen errors like this in the past - this is what I think may be happening.

             

            There are a handful of rarely used scripts for which EBS does not instantiate a separate copy in the instance top, relying instead on the originals in the Oracle Home - these only affect rare operations like deploying the web services container or single-signon registration, so a lot of the time they will go completely unnoticed.

             

            On an instance which has been cloned to more than once, you may find that some scripts still contain the Oracle Home path of the source instance - leading to errors of this kind.

             

            Suggest that you check these scripts for an incorrect Oracle Home and edit if they are wrong:

             

            $IAS_ORACLE_HOME/Apache/Apache/bin/iasobf

            $IAS_ORACLE_HOME/bin/removeinstance

            $IAS_ORACLE_HOME/bin/createinstance

            $IAS_ORACLE_HOME/opmn/bin/opmnctl

             

            I suspect your issue is caused by opmnctl - that's what I wrote down in my build notes!

             

            If this is indeed what you find then the underlying cause is re-cloning without having first de-registered the old Oracle Homes from the global inventory - I don't think the instructions tell you to do this, but if you remove the old Oracle Homes then it is necessary - otherwise the clone configuration script will silently skip the section which would otherwise re-write these files.

            • 3. Re: Forms won't start after patch 21539521. Error while executing the perl script txkChkFormsDeployment.pl
              2738168

              I have checked all 4 files listed by your message and the Oracle home is set correctly in each one of them to point to the new instance which in this case is QA.

               

              Thanks,

               

              Jessie

              • 4. Re: Forms won't start after patch 21539521. Error while executing the perl script txkChkFormsDeployment.pl
                2738168

                When I start OC4J forms only with adformsctl.sh, I got the following error:

                 

                QA:/U01/oraqa/inst/apps/QA_hoth/admin/scripts>> ./adformsctl.sh start

                 

                You are running adformsctl.sh  version 120.16.12010000.3

                 

                Starting OPMN managed FORMS OC4J instance  ...

                Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...

                *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS

                *** Log File = /U01/oraqa/inst/apps/QA_hoth/logs/appl/rgf/TXK/txkChkFormsDeployment_Thu_Apr_14_15_13_37_2016/txkChkFormsDeployment_Thu_Apr_14_15_13_37_2016.log

                Program : /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Thu Apr 14 15:13:38 2016

                 

                *** Log File = /U01/oraqa/inst/apps/QA_hoth/logs/appl/rgf/TXK/txkChkFormsDeployment_Thu_Apr_14_15_13_37_2016/txkChkFormsDeployment_Thu_Apr_14_15_13_37_2016.log

                 

                File "/U01/oraqa/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...

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

                *** Latest formsapp.ear has NOT been deployed ***

                Deploying the latest EAR file...

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

                Program : /U01/oraqa/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Thu Apr 14 15:14:21 2016

                *****************************************

                *             W A R N I N G             *

                *****************************************

                Error while executing the perl script txkChkFormsDeployment.pl

                 

                We have determined that you need to redeploy Forms (using txkChkFormsDeployment.pl).

                But could not do it automatically for you, due to some issues.

                For details refer the log files.

                Follow Note: 397174.1 to redeploy Forms manually.

                *****************************************

                adformsctl.sh: exiting with status 0

                 

                 

                And the following error was found in the above mentioned log file: /U01/oraqa/inst/apps/QA_hoth/logs/appl/rgf/TXK/txkChkFormsDeployment_Thu_Apr_14_15_13_37_2016/txkChkFormsDeployment_Thu_Apr_14_15_13_37_2016.log

                 

                16/04/14 15:14:13 Notification ==>Begin adding application: forms to container runtime for: oc4j-hoth.bwes.net-20700-default

                 

                16/04/14 15:14:12 Notification ==>Operation failed with error:

                Unable to find/read file META-INF/ra.xml in /U01/oraqa/apps/tech_st/10.1.3/j2ee/forms/connectors/forms/forms archive (IO Error: error in opening zip file)

                 

                Deploy error: Deploy error: Operation failed with error:

                Unable to find/read file META-INF/ra.xml in /U01/oraqa/apps/tech_st/10.1.3/j2ee/forms/connectors/forms/forms archive (IO Error: error in opening zip file)

                 

                Application deployment failed.

                 

                I searched online for above error but didn't find anything closely related. Please help!

                 

                Thank you.

                 

                Jessie