Scenario:
Got the Forms error while adding responsibility to a user and so, I did the workflow sync validation and it does not fixed. So, I ran autoconfig in Apps tier and it end up with Error and ran in db node and that too endup with the same error.
1. Auto config in apps Node completed with the following Error:
WARNING: [AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /Doyen5/app/PROJ06/fs2/FMW_Home/webtier/perl/bin/perl -I /Doyen5/app/PROJ06/fs2/FMW_Home/webtier/perl/lib/5.10.0 -I /Doyen5/app/PROJ06/fs2/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I /Doyen5/app/PROJ06/fs2/EBSapps/appl/au/12.0.0/perl -I /Doyen5/app/PROJ06/fs2/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /Doyen5/app/PROJ06/fs2/inst/apps/PROJ06_tlvda2/admin/scripts/adexecsql.pl sqlfile=/Doyen5/app/PROJ06/fs2/inst/apps/PROJ06_tlvda2/admin/install
afwebprf.sql INSTE8_PRF 1
AutoConfig is exiting with status 1
2. Autoconfig in the DB node completed with the following error:
WARNING: [AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /Doyen5/orahome/Doyen5db/11.2.0.4/appsutil/install/PROJ06_testdb2
afdbprf.sh INSTE8_PRF 1
AutoConfig is exiting with status 1
Now when i tried running the script (afwebprf.sql) manually which errored out in apps autoconfig and i faced the same error which we got in forms.
Now i tried running the script (afdbprf.sh) manually which errored out in db node and found the same error:
[oraDoyen5@testdb2:DOYEN5_testdb2]# sh afdbprf.sh
afdbprf.sh started at Thu Jun 22 19:54:29 IDT 2017
The environment settings are as follows ...
ORACLE_HOME : /Doyen5/orahome/Doyen5db/11.2.0.4
ORACLE_SID : PROJ06
PATH : /Doyen5/orahome/Doyen5db/11.2.0.4/perl/bin:/Doyen5/orahome/Doyen5db/11.2.0.4/perl/bin:/Doyen5/orahome/Doyen5db/11.2.0.4/bin:/usr/bin:/usr/sbin:/Doyen5/orahome/Doyen5db/11.2.0.4/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:.:.
Library Path : /Doyen5/orahome/Doyen5db/11.2.0.4/lib:/usr/X11R6/lib:/usr/openwin/lib:/Doyen5/orahome/Doyen5db/11.2.0.4/lib:/usr/dt/lib:/Doyen5/orahome/Doyen5db/11.2.0.4/ctx/lib
Executable : /Doyen5/orahome/Doyen5db/11.2.0.4/bin/sqlplus
Enter the APPS username: apps
Enter the APPS password:
SQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 22 19:54:33 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Connected.
[ FND_DB_WALLET_DIR ]
Application Id : 0
Profile Value : /Doyen5/orahome/Doyen5db/11.2.0.4/appsutil/wallet
Level Name: SITE
INFO : Updated/created profile option value.
.
[ ECX_UTL_XSLT_DIR ]
Application Id : 174
Profile Value : /usr/tmp
Level Name: SITE
INFO : Updated/created profile option value.
.
[ ECX_UTL_LOG_DIR ]
Application Id : 174
Profile Value : /usr/tmp
Level Name: SITE
INFO : Updated/created profile option value.
.
[ BIS_DEBUG_LOG_DIRECTORY ]
Application Id : 0
Profile Value : /usr/tmp
Level Name: SITE
INFO : Updated/created profile option value.
.
[ UTL_FILE_LOG ]
Application Id : 1
Profile Value : /usr/tmp, /Doyen5/logout/tmp, /tmp/, /Doyen5/oratmp/tempdata,
/Doyen5/logout/Agile, /Doyen5/logout/Agile/in, /Doyen5/logout/Agile/out,
/Doyen5/winshare/APAC/AP, /Doyen5/winshare/crm/scorecard,
/Doyen5/winshare/APAC/WESTPAC, /Doyen5/logout/cm,
/Doyen5/orahome/Doyen5db/11.2.0.4/appsutil/outbound/PROJ06_testdb2
Level Name : SITE
INFO : Error updating/creating profile option value.
.
begin
*
ERROR at line 1:
ORA-04063: rule set "APPLSYS.WF_JAVA_DEFERRED_R" has errors
ORA-06512: at "APPS.WF_EVENT", line 1194
ORA-06512: at "APPS.FND_WF_ENGINE", line 1025
ORA-06512: at "APPS.FND_PROFILE", line 1102
ORA-06512: at "APPS.FND_PROFILE", line 2353
ORA-06512: at "APPS.ADX_PRF_PKG", line 192
ORA-06512: at line 42
The above error seems to be an issue with the WF Ruleset.
Solution:
Checked the following Rule Set is valid and found to be invalid.
select object_name, object_type, status from dba_objects where object_name='WF_JAVA_DEFERRED_R';
WF_JAVA_DEFERRED_RRULE SETINVALID
This is because of the issues with the Workflow queues. So i did the clean up and enque processes as suggested in the below Note id.
After following the following noteid , It fixed the issue:
Fixing Invalid Workflow Rule Sets such as WF_DEFERRED_R and Related Errors on Workflow Queues:ORA-24033 (Doc ID 337294.1)
Once it is done, I have checked the status of the Ruleset and it is valid.
select object_name, object_type, status from dba_objects where object_name='WF_JAVA_DEFERRED_R';
WF_JAVA_DEFERRED_RRULE SETVALID
Now , Ran the Autoconfig and it has completed Normal.
Got the Forms error while adding responsibility to a user and so, I did the workflow sync validation and it does not fixed. So, I ran autoconfig in Apps tier and it end up with Error and ran in db node and that too endup with the same error.
1. Auto config in apps Node completed with the following Error:
WARNING: [AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /Doyen5/app/PROJ06/fs2/FMW_Home/webtier/perl/bin/perl -I /Doyen5/app/PROJ06/fs2/FMW_Home/webtier/perl/lib/5.10.0 -I /Doyen5/app/PROJ06/fs2/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I /Doyen5/app/PROJ06/fs2/EBSapps/appl/au/12.0.0/perl -I /Doyen5/app/PROJ06/fs2/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /Doyen5/app/PROJ06/fs2/inst/apps/PROJ06_tlvda2/admin/scripts/adexecsql.pl sqlfile=/Doyen5/app/PROJ06/fs2/inst/apps/PROJ06_tlvda2/admin/install
afwebprf.sql INSTE8_PRF 1
AutoConfig is exiting with status 1
2. Autoconfig in the DB node completed with the following error:
WARNING: [AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /Doyen5/orahome/Doyen5db/11.2.0.4/appsutil/install/PROJ06_testdb2
afdbprf.sh INSTE8_PRF 1
AutoConfig is exiting with status 1
Now when i tried running the script (afwebprf.sql) manually which errored out in apps autoconfig and i faced the same error which we got in forms.
Now i tried running the script (afdbprf.sh) manually which errored out in db node and found the same error:
[oraDoyen5@testdb2:DOYEN5_testdb2]# sh afdbprf.sh
afdbprf.sh started at Thu Jun 22 19:54:29 IDT 2017
The environment settings are as follows ...
ORACLE_HOME : /Doyen5/orahome/Doyen5db/11.2.0.4
ORACLE_SID : PROJ06
PATH : /Doyen5/orahome/Doyen5db/11.2.0.4/perl/bin:/Doyen5/orahome/Doyen5db/11.2.0.4/perl/bin:/Doyen5/orahome/Doyen5db/11.2.0.4/bin:/usr/bin:/usr/sbin:/Doyen5/orahome/Doyen5db/11.2.0.4/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:.:.
Library Path : /Doyen5/orahome/Doyen5db/11.2.0.4/lib:/usr/X11R6/lib:/usr/openwin/lib:/Doyen5/orahome/Doyen5db/11.2.0.4/lib:/usr/dt/lib:/Doyen5/orahome/Doyen5db/11.2.0.4/ctx/lib
Executable : /Doyen5/orahome/Doyen5db/11.2.0.4/bin/sqlplus
Enter the APPS username: apps
Enter the APPS password:
SQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 22 19:54:33 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Connected.
[ FND_DB_WALLET_DIR ]
Application Id : 0
Profile Value : /Doyen5/orahome/Doyen5db/11.2.0.4/appsutil/wallet
Level Name: SITE
INFO : Updated/created profile option value.
.
[ ECX_UTL_XSLT_DIR ]
Application Id : 174
Profile Value : /usr/tmp
Level Name: SITE
INFO : Updated/created profile option value.
.
[ ECX_UTL_LOG_DIR ]
Application Id : 174
Profile Value : /usr/tmp
Level Name: SITE
INFO : Updated/created profile option value.
.
[ BIS_DEBUG_LOG_DIRECTORY ]
Application Id : 0
Profile Value : /usr/tmp
Level Name: SITE
INFO : Updated/created profile option value.
.
[ UTL_FILE_LOG ]
Application Id : 1
Profile Value : /usr/tmp, /Doyen5/logout/tmp, /tmp/, /Doyen5/oratmp/tempdata,
/Doyen5/logout/Agile, /Doyen5/logout/Agile/in, /Doyen5/logout/Agile/out,
/Doyen5/winshare/APAC/AP, /Doyen5/winshare/crm/scorecard,
/Doyen5/winshare/APAC/WESTPAC, /Doyen5/logout/cm,
/Doyen5/orahome/Doyen5db/11.2.0.4/appsutil/outbound/PROJ06_testdb2
Level Name : SITE
INFO : Error updating/creating profile option value.
.
begin
*
ERROR at line 1:
ORA-04063: rule set "APPLSYS.WF_JAVA_DEFERRED_R" has errors
ORA-06512: at "APPS.WF_EVENT", line 1194
ORA-06512: at "APPS.FND_WF_ENGINE", line 1025
ORA-06512: at "APPS.FND_PROFILE", line 1102
ORA-06512: at "APPS.FND_PROFILE", line 2353
ORA-06512: at "APPS.ADX_PRF_PKG", line 192
ORA-06512: at line 42
The above error seems to be an issue with the WF Ruleset.
Solution:
Checked the following Rule Set is valid and found to be invalid.
select object_name, object_type, status from dba_objects where object_name='WF_JAVA_DEFERRED_R';
WF_JAVA_DEFERRED_RRULE SETINVALID
This is because of the issues with the Workflow queues. So i did the clean up and enque processes as suggested in the below Note id.
After following the following noteid , It fixed the issue:
Fixing Invalid Workflow Rule Sets such as WF_DEFERRED_R and Related Errors on Workflow Queues:ORA-24033 (Doc ID 337294.1)
Once it is done, I have checked the status of the Ruleset and it is valid.
select object_name, object_type, status from dba_objects where object_name='WF_JAVA_DEFERRED_R';
WF_JAVA_DEFERRED_RRULE SETVALID
Now , Ran the Autoconfig and it has completed Normal.