Application Release :-
Using Apps User.
SQL> select release_name from apps.fnd_product_groups;
RELEASE_NAME
————————————————–
12.2.2
Done
Thanks
For the people who think differently Welcome aboard
Application Release :-
Using Apps User.
SQL> select release_name from apps.fnd_product_groups;
RELEASE_NAME
————————————————–
12.2.2
Done
Thanks
I installed Oracle E-business suite on Linux 64bit Operating system version 6.7 without any issue and the EBS version was R12.2.0 and the default database version which is 11.2.0.3.
But i choose to upgrade to EBS R12.2.4 and Oracle database 12c both done without any issues or even small error in the logs , auto config done successfully without any issue as well, the application started without any single error.
But when trying to access to the EBS application Link
I tried to compile the JSP but :-
[oracle@ammebs scripts]$ tail -f /u01/oracle/tbdlamm/fs_ne/EBSapps/log/adop/16/apply_20160114_142741/20518047/log/u20518047.log
enumerating jsps…7829
updating dependency…6473
parsing jsp…6473
writing deplist…7829
initializing compilation:
eliminating children…5954 (-1875)
searching uncompiled…5682 (2253 were stale)
translating and compiling:
searching untranslated…5622 (3369 were stale)
translating jsps… 85% complete: 4800/5622 ETA: 53s
translating jsps…5622/5622 in 7m31s
compiling jsps…
The Logs shows only this error :-
[213441] !!SEVERE WARNING!! TIMEOUT[600 seconds] EXPIRED DURING COMPILATION
I increased the apache timeout in the context file for nothing .
When access the EBS Application Link :-
From RFC 2068 Hypertext Transfer Protocol — HTTP/1.1:
10.4.5 404 Not FoundThe server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
I opened SR and now it’s 45 days without any solution !!!!
Any idea
Thank you guys 🙂
Osama
NOTE.362473.1 : Cloning E-Business Suite Using Hot Backup for Minimal
NOTE.216212.1 : Business Continuity for Oracle Applications Release 11i
NOTE.233428.1 : Sharing the Application Tier File System in Oracle
NOTE.230672.1 : Cloning Oracle Applications Release 11i with Rapid Clone
NOTE.216664.1 : FAQ: Cloning Oracle Applications Release 11i
NOTE.135792.1 : Cloning Oracle Applications Release 11i
Patching
NOTE.174436.1 : Oracle Applications Patching FAQ
NOTE.175485.1 : How to Apply an 11i Patch When adpatch is Already Running
NOTE.181665.1 : Release 11i Adpatch Basics
Autoconfig:
NOTE.218089.1 : Autoconfig FAQ
NOTE.165195.1 : Using AutoConfig to Manage System Configurations with
NOTE.270519.1 :Customizing an AutoConfig Environment
General Notes:
165195.1 “Using Autoconfig to Manage System Configurations with Oracle Applications 11i”.
218089.1 “Frequently Asked Questions about Using Autoconfig with Oracle Applications Release 11i”.
217368.1 “Advanced Configurations and Topologies for Enterprise Deployments of E-Business Suite 11i”.
362135.1 “Configuring Oracle Applications Release 11i with 10g Release2 Real Application Clusters and Automatic Storage Management”
123718.1 “A Guide to Understanding and Implementing SSL with Oracle Applications 11i”.
125767.1 “Upgrading Developer 6i with Oracle Applications 11i”.189708.1 Oracle Reports 6i Setup Guide for Oracle Applications 11i
273888.1 Steps to Upgrade Oracle Apps 11.5.4 to Latest Version or 11.5.9
437794.1 Database Status Check Before, During And After Migrations and Upgrades
362202.1 Oracle Applications Release 11i with Oracle 10g(10.1.0.4)
165195.1 for more information on how to run autoconfig
233436.1 Installing Oracle Application Server 10g with Oracle E-Business Suite Release 11i
313418.1 Using Discoverer 10.1.2 with Oracle E-Business Suite 11i.
352843.1 HOW TO RUN A PATCH IMPACT ANALYSIS IN OAM
Select request_id,oracle_process_id,phase_code,status_code from
apps.fnd_concurrent_requests where status_code=’R’
where request_id in(Request_ID #1,Request_ID #2,Request_ID #3);select r.request_id,
r.oracle_process_id spid,
r.oracle_session_id,s.inst_id,
r.os_process_id process,
s.sid,
s.serial#,
s.status,to_char(logon_time,’YYYYMMDD HH24:MI:SS’) time,s.program,s.sql_address,
s.paddr
from apps.fnd_concurrent_requests r,
gv$session s
where r.request_id =31082866
and r.oracle_session_id = s.audsid(+);
Thank you
Osama Mustafa
This is Bug 9707317.
Posting Performance issue caused by Rule Hint being hard coded in the glsasi.lpc file.
The program uses the “/*+ rule */” hint, but it should be using “/*+ CHOOSE */” or none, which is shown in the tkprof’d trace file explain plan.
Also the wrong index is being used, it is using GL_ACCOUNT_HIERARCHIES_01 when it should be using the GL.GL_ACCOUNT_HIERARCHIES_U2 index.
To implement the solution, please execute the following steps:
1. Download and review the readme and pre-requisites for the relevant patch.
For 12.0.x patch 9707317:R12.GL.A
For 12.1.x patch 9707317:R12.GL.B
Note: If a password is required to download the patch, please open a service request to get the proper password.
2. Ensure that you have taken a backup of your system before applying the recommended patch.
3. Apply the patch in a test environment.
4. Confirm the following file versions:
For 12.0 Patch 9707317:R12.GL.A
src/post glpmai.opc 120.21.12000000.2
src/summary glsasi.lpc 120.3.12000000.2
For 12.1 Patch 9707317:R12.GL.B
src/post glpmai.opc 120.24.12010000.1
src/summary glsasi.lpc 120.3.12010000.1
You can use the commands like the following:
strings -a $XX_TOP/filename |grep ‘$Header’
5. Retest the issue.
6. Migrate the solution as appropriate to other environments.
Enjoy
thank you
Osama mustafa
sql > SELECT OWNER,TABLE_NAME,STATTYPE_LOCKEDFROM DBA_TAB_STATISTICSWHERE STATTYPE_LOCKED IS NOT NULL;
sql> exec dbms_stats.unlock_schema_stats(‘schema_owner’);e.g : sql> exec dbms_stats.unlock_schema_stats(‘apps’);
sql> exec dbms_stats.unlock_schema_stats(‘table_owner’,’table_name’);e.g : sql > exec dbms_stats.unlock_schema_stats(‘AR’,’AR_REV_REC_QT’);
SQL> select a.column_name, nvl(a.hsize,254) hsizefrom FND_HISTOGRAM_COLS awhere table_name = ‘JE_BE_LINE_TYPE_MAP’order by column_name;
COLUMN_NAME HSIZE—————————— ———-SOURCE 254SOURCE 254
select table_name, column_name, count(*)from FND_HISTOGRAM_COLSgroup by table_name, column_namehaving count(*) > 1;
delete from FND_HISTOGRAM_COLSwhere table_name = ‘&TABLE_NAME’and column_name = ‘&COLUMN_NAME’and rownum=1;
delete from FND_HISTOGRAM_COLSwhere (table_name, column_name) in(select hc.table_name, hc.column_namefrom FND_HISTOGRAM_COLS hc , dba_tab_columns tcwhere hc.table_name =’&TABLE_NAME’and hc.table_name= tc.table_name (+)and hc.column_name = tc.column_name (+)and tc.column_name is null);
$FND_TOP/sql/wfver.sql
check workflow status.
set linesize 120
set pagesize 50
column COMPONENT_NAME format a45
column STARTUP_MODE format a15
column COMPONENT_STATUS format a15
select fsc.COMPONENT_NAME,fsc.STARTUP_MODE,fsc.COMPONENT_STATUS,fcq.last_update_date
from APPS.FND_CONCURRENT_QUEUES_VL fcq, fnd_svc_components fsc
where fsc.concurrent_queue_id = fcq.concurrent_queue_id(+)
order by COMPONENT_STATUS , STARTUP_MODE , COMPONENT_NAME;
col value format a20select p.parameter_id,p.parameter_name,v.parameter_value valuefrom apps.fnd_svc_comp_param_vals_v v,apps.fnd_svc_comp_params_b p,apps.fnd_svc_components cwhere c.component_type = ‘WF_MAILER’and v.component_id = c.component_idand v.parameter_id = p.parameter_idand p.parameter_name in ( ‘INBOUND_SERVER’,’ACCOUNT’, ‘REPLYTO’)order by p.parameter_name;
set linesize 170
col name format a40
col email_address format a80
select name, email_address from apps.wf_local_roles where email_address like ‘% %’;select name, email_address from apps.wf_local_roles where email_address like ‘%%’;
“If this retuning Row The there’s bad Email”
How to know mail sent to a user with details:
select name, display_name, notification_preference, email_addressfrom wf_local_roles where name = ”;
To see failed, open notifications
SELECT message_type, COUNT(1)
FROM apps.wf_notifications
WHERE 1 = 1 AND mail_status = ‘FAILED’ AND status = ‘OPEN’
GROUP BY message_type;
To check if email address, notification preference, display_name
select DISPLAY_NAME, NOTIFICATION_PREFERENCE from wf_users where EMAIL_ADDRESS = ‘HR@domainname.com‘ and STATUS = ‘ACTIVE’ and DISPLAY_NAME = ‘xxxxx’;select DISPLAY_NAME, NOTIFICATION_PREFERENCE, EMAIL_ADDRESS from wf_users where NOTIFICATION_PREFERENCE=’MAILTEXT’ and STATUS = ‘ACTIVE’;select distinct(count(*)) from wf_users where NOTIFICATION_PREFERENCE=’MAILTEXT’ and STATUS = ‘ACTIVE’ and EMAIL_ADDRESS = ‘HR@Domainname.com‘;
Thank you
Osama mustafa
select RELEASE_NAME from fnd_product_groups;
output :
RELEASE_NAME
———————–
12.1.0.1
Thank you
Osama mustafa
the Rapid Install window will show many errors for HTTP.
Checking status of OPMN managed Oracle HTTP Server (OHS) instance …
Processes in Instance: PROD_ebs.ebs.sandiego.com
——————-+——————–+———+———
ias-component | process-type | pid | status
——————-+——————–+———+———
OC4J | oafm | 21168 | Alive
OC4J | forms | 21078 | Alive
OC4J | oacore | 20943 | Alive
HTTP_Server | HTTP_Server | N/A | Down
Download and apply the patch 6078836 from OracleMetaLink to fix an issue with the Oracle HTTP Server bundled with the E-Business Suite technology stack. We unzip the patch:
[oracle@ebs oracle]$ unzip p6078836_101330_LINUX.zip
Archive: p6078836_101330_LINUX.zip
creating: 6078836/
inflating: 6078836/libdb.so.2
inflating: 6078836/README.txt[oracle@ebs oracle]$ cd 6078836/
[oracle@ebs 6078836]$ ls
libdb.so.2 README.txtThen we copy to /usr/lib.
[root@ebs 6078836] $ cp libdb.so.2 /usr/lib
[root@ebs lib]# cd /usr/lib
[root@ebs lib]# pwd
/usr/lib[root@ebs lib]# ls libdb.so*
libdb.so libdb.so.2
Processes in Instance: PROD_ebs.ebs.sandiego.com
——————-+——————–+———+———
ias-component | process-type | pid | status
——————-+——————–+———+———
OC4J | oafm | 21168 | Alive
OC4J | forms | 21078 | Alive
OC4J | oacore | 20943 | Alive
HTTP_Server | HTTP_Server | 28519 | Alive
Thank You
Osama mustafa
SELECT COUNT(*)
FROM DBA_OBJECTS
WHERE STATUS = 'INVALID';
For a more detailed query, use the following script :
SELECT OWNER, OBJECT_TYPE, COUNT(*)
FROM DBA_OBJECTS
WHERE STATUS = 'INVALID'
GROUP BY OWNER, OBJECT_TYPE;
To recompile an individual object, connect to SQL*PLUS as the owner of the object (generally apps) and use one of the following depending on the object type :
alter package compile; (package specification)
alter package compile body; (package body)
alter view compile; (view)
If the object compiles with warnings, use either of the following to see the errors that caused the warnings :
show errors
OR
select * from user_errors where name = '';
Another way to correct invalid objects is to run the adadmin utility as follows:
1. Log in as APPS User : /
2. Start the adadmin-Utility from the Unix prompt with this command :
adadmin
The utility will then ask you a series of questions.
3. Under the Maintain Applications Database Objects Menu, select Compile APPS schema(s)
Other Way :
Also try running $ORACLE_HOME/rdbms/admin/utlrp.sql ( as sysdba )
Within Applications, there is a script to compile INVALID objects – called ADCOMPSC.pls
Arguments for ADCOMPSC.pls :
1 – Schema to run in
2 – Password for schema
3 – Check errors for objects starting with #3
NOTE: The order in which to compile Invalid Objects in schemas is SYS, SYSTEM, APPS and then all others. APPS_DDL and APPS_ARRAY_DDL should exist in all schema’s. In case of an ORA-1555 error while running adcompsc.pls, restart the script.
The script can be run as followed :
cd $AD_TOP/sql
sqlplus @adcompsc.pls SCHEMA_NAME SCHEMA_PASSWORD %Example : SQL> @adcompsc.pls apps apps %
After the script completes, check for invalid objects again. If the number has decreased, but invalid objects still exist, run adcompsc.pls again. Keep running adcompsc.pls until number of invalid objects stops decreasing.
If there are any objects still left INVALID, verify them by using the script ‘aderrchk.sql’ to record the remaining INVALID objects. ‘Aderrchk.sql’ uses the same syntax as ‘adcompsc.pls’. This script is also supplied with the Applications. Send the aderrchk.sql to a file using the spool command in sqlplus.
e.g. sqlplus x/y @aderrchk.sql SCHEMA_NAME SCHEMA_PASSWORD %
For objects which will not compile, try the following :
select text
from user_source
where name = 'OBJECTNAME'
and text like '%Header%';
This script will provide the script that creates the packages/recreates the packages.
SQL>@packageheader
SQL>@packagebody
If recreating the package does not make the package valid, analyze the user_errors table to determine the cause of the invalid package :
select text
from user_errors
where name = '';
Thank You
Osama Mustafa