Tuesday 30 April 2013

How to compile invalid objects?

Troubleshooting Guide - invalid objects in the E-Business Suite Environment 11i and 12 [ID 1325394.1]


if any depending objects get missed then we get invalids.we can manually compile these invalids
by running relevant alter command.
we can also perform bulk compilation by running utlrp.sql.
OR

you can use following command to compile invalid objects parallel.
This need to run with oracle user.
execute utl_recomp.recomp_parallel(4);

It is good practice to count the invalid objects before/after  compling them.

SQL> select count(*) from dba_objects where status='INVALID';

  COUNT(*)
----------
        40


SQL> execute utl_recomp.recomp_parallel(4);

PL/SQL procedure successfully completed.

SQL> show errors
No errors.
SQL> select count(*) from dba_objects where status='INVALID';

  COUNT(*)
----------
         0

SQL>

 OR
****


SQL> @/u01/db/tech_st/11.1.0/rdbms/admin/utlrp.sql

TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_BGN  2013-04-30 18:02:09

DOC>   The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC>   objects in the database. Recompilation time is proportional to the
DOC>   number of invalid objects in the database, so this command may take
DOC>   a long time to execute on a database with a large number of invalid
DOC>   objects.
DOC>
DOC>   Use the following queries to track recompilation progress:
DOC>
DOC>   1. Query returning the number of invalid objects remaining. This
DOC>      number should decrease with time.
DOC>         SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC>   2. Query returning the number of objects compiled so far. This number
DOC>      should increase with time.
DOC>         SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC>   This script automatically chooses serial or parallel recompilation
DOC>   based on the number of CPUs available (parameter cpu_count) multiplied
DOC>   by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC>   On RAC, this number is added across all RAC nodes.
DOC>
DOC>   UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC>   recompilation. Jobs are created without instance affinity so that they
DOC>   can migrate across RAC nodes. Use the following queries to verify
DOC>   whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC>   1. Query showing jobs created by UTL_RECOMP
DOC>         SELECT job_name FROM dba_scheduler_jobs
DOC>            WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC>   2. Query showing UTL_RECOMP jobs that are running
DOC>         SELECT job_name FROM dba_scheduler_running_jobs
DOC>            WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#

PL/SQL procedure successfully completed.


TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_END  2013-04-30 18:02:10


PL/SQL procedure successfully completed.

DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#

OBJECTS WITH ERRORS
-------------------
                  0

DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#

ERRORS DURING RECOMPILATION
---------------------------
                          0


PL/SQL procedure successfully completed.


PL/SQL procedure successfully completed.

SQL>



1. How many invalid objects are in the Database ?

SQL> select owner,object_type,COUNT(*) from dba_objects where status='INVALID' group by owner, object_type;
SYS              PACKAGE BODY              1
ODM              TRIGGER                   1
ORDSYS           PACKAGE BODY              4
PUBLIC           SYNONYM                   3
SYS              PROCEDURE                 1
XDB              TRIGGER                   5
APPS             MATERIALIZED VIE          2
                 W

ODM              PACKAGE BODY              7
ORDSYS           VIEW                     16

9 rows selected.

SQL>

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


2. Check for details about the invalid objects :

column owner format A9
column object_name format A31
column object_type format A15
column last_ddl_time format A10
spool invalids.lst
select OWNER, OBJECT_NAME,OBJECT_TYPE,LAST_DDL_TIME from dba_objects where status='INVALID' order by owner;

APPS      LNS_LOAN_DTLS_ALL_MV            MATERIALIZED VI 30-MAR-09
                                          EW

APPS      OE_ITEMS_MV                     MATERIALIZED VI 30-MAR-09
                                          EW

ODM       ODM_NAIVE_BAYES_MODEL           PACKAGE BODY    18-JAN-09
ODM       ODM_SUPERVISED_MODEL            PACKAGE BODY    30-NOV-08
ODM       ODM_ABN_MODEL                   PACKAGE BODY    30-NOV-08
ODM       ODM_KM_CLUSTERING_MODEL         PACKAGE BODY    18-JAN-09
ODM       ODM_NAIVE_BAYES_APPLY           PACKAGE BODY    30-NOV-08
ODM       OP_COMMON                       PACKAGE BODY    30-NOV-08
ODM       ODM_MINING_MODEL_TRIGGER        TRIGGER         26-OCT-04
ODM       ODM_MODEL_UTIL                  PACKAGE BODY    30-NOV-08
ORDSYS    ORD_DICOM_ADMIN_PRV             PACKAGE BODY    18-JAN-09
ORDSYS    ORDIMG_PKG                      PACKAGE BODY    25-MAR-09
ORDSYS    ORDIMGEXTCODEC_PKG              PACKAGE BODY    25-MAR-09
ORDSYS    ORD_DICOM_CT                    PACKAGE BODY    18-JAN-09
ORDSYS    ORDDCM_CONFORMANCE_VLD_MSGS     VIEW            18-JAN-09
ORDSYS    ORDDCM_CT_ACTION_USR            VIEW            18-JAN-09
ORDSYS    ORDDCM_CT_PRED_PAR_USR          VIEW            18-JAN-09
ORDSYS    ORDDCM_CT_PRED_SET_USR          VIEW            18-JAN-09
ORDSYS    ORDDCM_CT_PRED_USR              VIEW            18-JAN-09
ORDSYS    ORDDCM_UID_DEFS_USR             VIEW            18-JAN-09
ORDSYS    ORDDCM_RT_PREF_PARAMS_USR       VIEW            18-JAN-09
ORDSYS    ORDDCM_ANON_ATTRS_USR           VIEW            18-JAN-09
ORDSYS    ORDDCM_DOCUMENTS                VIEW            18-JAN-09
ORDSYS    ORDDCM_CONSTRAINT_NAMES         VIEW            18-JAN-09
ORDSYS    ORDDCM_DOCS_USR                 VIEW            18-JAN-09
ORDSYS    ORDDCM_STD_ATTRS_USR            VIEW            18-JAN-09
ORDSYS    ORDDCM_PRV_ATTRS_USR            VIEW            18-JAN-09
ORDSYS    ORDDCM_MAPPING_DOCS_USR         VIEW            18-JAN-09
ORDSYS    ORDDCM_MAPPED_PATHS_USR         VIEW            18-JAN-09
ORDSYS    ORDDCM_ANON_RULES_USR           VIEW            18-JAN-09
PUBLIC    ORDDCM_CONSTRAINT_NAMES         SYNONYM         09-NOV-08
PUBLIC    ORDDCM_CONFORMANCE_VLD_MSGS     SYNONYM         09-NOV-08
PUBLIC    ORDDCM_DOCUMENTS                SYNONYM         09-NOV-08
SYS       VALIDATE_ORDIM                  PROCEDURE       18-JAN-09
SYS       PRVT_WORKLOAD                   PACKAGE BODY    25-MAR-09
XDB       SERVLET$xd                      TRIGGER         09-NOV-08
XDB       include345_TAB$xd               TRIGGER         09-NOV-08
XDB       Folder23_TAB$xd                 TRIGGER         09-NOV-08
XDB       fallback340_TAB$xd              TRIGGER         09-NOV-08
XDB       fallback341_TAB$xd              TRIGGER         09-NOV-08

40 rows selected.


The shown select statements will show you any invalid object - including Triggers, Java-Classes in the DB, Views and PL/SQL Packages.

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

If you have identified a maximum of 10 invalid objects, it will be the best to try to compile them manually.
Please use following commands for the manual compilation, where the command for a package, a package body,
 a View and a Java Class is listed :

alter package <owner>.<name of the package> compile;
alter package <owner>.<name of the package> compile body;
alter view <owner>.<name of the view> compile;
alter alter java class "<owner>.<name of Java Class>" resolve;
alter procedure <owner>.<name of the procedure> compile;
alter function <owner>.<name of the function> compile;
alter materialized view <owner>.<name of the materialized view> compile;


2. Scripts to compile invalid objects :

2.1 The script 'adcompsc.pls' under the $AD_TOP/sql :

The script 'adcompsc.pls' is installed under the $AD_TOP/sql - this script is executed when you run the AD_Utility 'adadmin'
and select to compile the invalid objects.

The script can be executed manually with following options :
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 schemas. In case of an ORA-1555 error while running adcompsc.pls, restart the script.

The script can be run as follows :
cd $AD_TOP/sql
sqlplus @adcompsc.pls <SCHEMA_NAME> <SCHEMA_PASSWORD> %
Example :
sqlplus @adcompsc.pls apps <Password> %


2.3 Creating your own compilation script

With the following script, you will create a new sql-script to compile the invalid objects, which can be used to compile your individual invalid objects.
set pagesize 0 head off feedb off echo off
spool validate_all.sql

select 'alter '||object_type||' '||owner||'.'||object_name||' compile;'
from dba_objects where object_type in ('PROCEDURE','FUNCTION','VIEW','TRIGGER','MATERIALIZED VIEW')
and status='INVALID' order by owner
/
select 'alter package '||owner||'.'||object_name||' compile package;'
from dba_objects where object_type in ('PACKAGE')
and status='INVALID' order by owner
/
select 'alter package '||owner||'.'||object_name||' compile body;'
from dba_objects where object_type in ('PACKAGE BODY')
and status='INVALID' order by owner
/
select 'ALTER JAVA SOURCE "' || object_name || '" COMPILE;'
from user_objects where object_type = 'JAVA SOURCE' and status = 'INVALID';
/
select 'ALTER JAVA CLASS "' || object_name || '" RESOLVE;'
from user_objects where object_type = 'JAVA CLASS' and status = 'INVALID';
/
spool off
exit
The script 'validate_all.sql' should have been created in the directory, where you executed the select. You need to add the execution right on the created script, to start the compilation script.
chmod +x validate_all.sql
Then execute the script 'validate_all.sql' within a sqlplus session :
sqlplus apps/<Password>


What are the patches we cannot merge it?


Don't merge RDBMS patch with apps patch OR AD patches and non-AD patches cannot be merged.
Don't merge patches of different version (11.5.x, 12.1).
Don't merge ATG family product patches.

Note* : But we can merge language patches,pre-requisite and co -requisite patch into one patch.

What is ERP?
Click on this to see in details  http://abduulwasiq.blogspot.in/p/ebs-11i-r12.html


what happens when we merge 2 patches in case of drivers?


Case 1: if patch one has c,d,g drivers and patch 2 has u driver,then resultant driver is
  u_merged.drv

Case 2:if patch one has c,d,g drivers and patch 2 has only c driver,then resultant drivers are

c_merged.drv
d_merged.drv
g_merged.drv



Sunday 28 April 2013

Changing Application user password and Changing User product schema password





Chaning Application user password
====================================
FNDCPASS apps/apps 0 Y system/manager USER   VISION  WELCOME
is for changing the application level passwords like dbateam,vision,sysadmin and etc used for logging into application.

Following activities will take place

(1) update VISION’s password in FND_USER table. The new password is re-encrypted with the current applsys password.

If VISION does not exist, message for invalid application user is written in the log file.





Chaning User product schema password
===================================
FNDCPASS apps/apps 0 Y system/manager ORACLE GL  GL1
is for changing password for any other product schema like AP,AR,PO,MSC,GL and etc.

Following activities will take place

(1) update GL’s password in FND_ORACLE_USERID table.
The new password is re-encrypted with the current applsys password.

If GL does not exists, step (2) below does not happen. Message for invalid oracle user is written in the log file.
(2) alter user to change GL’s password.


How to get ALLORACLE mode in FNDCPASS ?
Apply Oracle Apps patch 4745998.


What files to change after changing Apps Password ?


1. $IAS_ORACLE_HOME\Apache\modplsql\cfg\wdbsvr.app 
2. $FND_TOP/resource/wfmail.cfg
3.$ORACLE_HOME/reports60/server/CGIcmd.dat

Please click on the below link to see how to change APPLSYS password in Oracle Application 11i/R12

FNDCPASS in– Oracle Applications 11i & R12


FNDCPASS is a utility to change/reset oracle application  user product(GL,AP and etc) schema passwords,Application(sysadmin,vision,dbateam and etc) user passwords and apps/applsys password.
FNDCPASS utility we use on Concurrent Manager Node.
We always change applsys password not apps.
APPS and APPLSYS passwords are always same.Changing applsys password will automatically change the apps password.

FNDCPASS logs are generated in the current directory.

FNDCPASS executable located in the below location.

[applmgr@apps bin]$ ls -tlrh $FND_TOP/bin/FNDCPASS
-rwxr-xr-x  1 applmgr dba 1.3M Mar 30  2009 /u02/apps/apps_st/appl/fnd/12.0.0/bin/FNDCPASS
[applmgr@apps bin]$


Changing APPLSYS password in Oracle Application 11i
=========================================
Process
=====
1. Shutdown web/forms services..
2. Shutdown the concurrent node.
3.To check syntax
use FNDCPASS and press enter it will give you the syntax.

[applmgr@apps bin]$ FNDCPASS
Usage: FNDCPASS logon 0 Y system/password mode username new_password
where logon is username/password[@connect]
system/password is password of the system account of that database
mode is SYSTEM/USER/ORACLE
username is the username where you want to change its password
new_password is the new password in unencrypted format
example

FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS WELCOME

FNDCPASS apps/apps 0 Y system/manager ORACLE GL      GL1

FNDCPASS apps/apps 0 Y system/manager USER   VISION  WELCOME
[applmgr@apps bin]$


4.Change applsys password
FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS welcome123

Note :* Changing the APPLSYS password automatically changes the APPS password.
Once you changed the applsys password in Oracle application 11i you to run autoconfig which in turn update the apps password in the below files if exists.If you don't want to run autoconfig just go and update below files if exists.

1. $IAS_ORACLE_HOME/Apache/modplsql/cfg/wdbsvr.app
2. $FND_TOP/resource/wfmail.cfg
3.$ORACLE_HOME/reports60/server/CGIcmd.dat


5.Connect to database as apps schema.
6.Start the concurrrent manager script.
7.Start web/forms services.
8.Submit a concurrent request and check that request completes successfully.

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

Following activities will take place when we changed applsys password.

(1) applsys validation. (make sure APPLSYS name is correct)
(2) re-encrypt all password in FND_USER
(3) re-encrypt all password in FND_ORACLE_USERID
(4) update applsys’s password in FND_ORACLE_USERID table.
(5) Update apps password in FND_ORACLE_USERID table.


Changing APPLSYS password in Oracle Application R12
=====================================================
Process
======
1. Shutdown all the application nodes.
2. Shutdown the concurrent node.
3.To check syntax
use FNDCPASS and press enter it will give you the syntax.

[applmgr@apps bin]$ FNDCPASS
Usage: FNDCPASS logon 0 Y system/password mode username new_password
where logon is username/password[@connect]
system/password is password of the system account of that database
mode is SYSTEM/USER/ORACLE
username is the username where you want to change its password
new_password is the new password in unencrypted format
example

FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS WELCOME

FNDCPASS apps/apps 0 Y system/manager ORACLE GL      GL1

FNDCPASS apps/apps 0 Y system/manager USER   VISION  WELCOME
[applmgr@apps bin]$


4.Change applsys password
FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS welcome123

Note :* Changing the APPLSYS password automatically changes the APPS password.

5.Connect to database as apps schema.
6.Start the concurrrent manager script.
7.Shutdown all the application nodes.
8.Submit a concurrent request and check that request completes successfully.

Note: After changing the apps password autoconfig is not require in R12 as it doesn't store apps password in the flat files.



Lets do it practically.
=======================
1)Bring down application web/forms services.

[applmgr@apps ~]$ ps -fu applmgr|grep -i http
[applmgr@apps ~]$
[applmgr@apps ~]$


2)Make sure no concurrent manager process is running.
[applmgr@apps ~]$ ps -fu applmgr|grep -i fnd
applmgr   1002 27309  0 15:14 pts/3    00:00:00 grep -i fnd
[applmgr@apps ~]$

3.To check syntax
use FNDCPASS and press enter it will give you the syntax.

[applmgr@apps bin]$ FNDCPASS
Usage: FNDCPASS logon 0 Y system/password mode username new_password
where logon is username/password[@connect]
system/password is password of the system account of that database
mode is SYSTEM/USER/ORACLE
username is the username where you want to change its password
new_password is the new password in unencrypted format
example

FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS WELCOME

FNDCPASS apps/apps 0 Y system/manager ORACLE GL      GL1

FNDCPASS apps/apps 0 Y system/manager USER   VISION  WELCOME
[applmgr@apps bin]$


4.Change applsys password

[applmgr@apps ~]$ FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS abdul123
Log filename : L393344.log


Report filename : O393344.out
[applmgr@apps ~]$ ls -tlrh L393344.log
-rw-r--r--  1 applmgr dba 661 Apr 28 14:55 L393344.log


[applmgr@apps ~]$ cat L393344.log
+---------------------------------------------------------------------------+
Application Object Library: Version : 12.0.0

Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

 module:
+---------------------------------------------------------------------------+

Current system time is 28-APR-2013 14:55:51

+---------------------------------------------------------------------------+

Working...


+---------------------------------------------------------------------------+
Concurrent request completed successfully
Current system time is 28-APR-2013 14:55:51

+---------------------------------------------------------------------------+
[applmgr@apps ~]$


Note:FNDCPASS log is generated in the current directory.

5.Connect to database as apps schema.

[applmgr@apps ~]$ sqlplus apps/abdul123

SQL*Plus: Release 10.1.0.5.0 - Production on Sun Apr 28 15:18:30 2013

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show user
USER is "APPS"
SQL> select sysdate from dual;

SYSDATE
---------------
28-APR-13

SQL>


6.Start the concurrrent manager script.
[applmgr@apps scripts]$ ps -fu applmgr|grep -i fnd|wc -l
12
[applmgr@apps scripts]$

7.Shutdown all the application nodes.

[applmgr@apps scripts]$ ps -fu applmgr|grep -i http|wc -l
11
[applmgr@apps scripts]$


8.Submit a concurrent request and check that request completes successfully.

i submited the request,its working fine.



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

Following activities will take place when we changed applsys password.

(1) applsys validation. (make sure APPLSYS name is correct)
(2) re-encrypt all password in FND_USER
(3) re-encrypt all password in FND_ORACLE_USERID
(4) update applsys’s password in FND_ORACLE_USERID table.
(5) Update apps password in FND_ORACLE_USERID table.



Thanks for watching !!!!



To compile the jsp as soon as you access jsp page


How to Enable Automatic Compilation of JSP pages in R12 Environment [ID 458338.1].

Metalink details
================
Goal
====
In Release 11i, the deployment of a (custom) JSP was done as follows:

Copy the file (for example: custom.jsp) to the web tier in the $OA_HTML directory.
Request it in the browser like URL> http://<myhost.mydomain>:<port>/OA_HTML/custom.jsp.
The result on the web tier is that:

The custom.jsp was compiled
Output files of the compilation _custom.class (and _custom.java) are saved under the _pages directory
The custom.jsp page is shown in the browser.

Performing the same steps in Release 12 environment just shows a blank screen and no compilation of the custom.jsp is done. 
The steps in this Note explain how the same behavior as in Release 11i can be achieved in Release 12.

Solution
========
In Release 12 the (automatic) compilation of a JSP is disabled and, at runtime, only the pre-compiled JSP's are picked up. Since this requires fewer checks to be done, the performance is improved and therefore this is the recommended and default setting for a Production environment where JSP's will only be replaced occasionally.

In cases where development activities are done and JSP pages are changing often this default setting makes things more complicated. Each time a JSP is deployed a manual compilation using the ojspCompile.pl is needed and the OC4J running the oacore needs a restart to pick up the changes. This will also affect other people working on the same environment.

Follow the steps below to:

Automatically have the JSP recompiled when the JSP is changed (at least the time stamp)
See the new JSP without the need to restart the OC4J running oacore
The objective is to change the setting for main_mode from justrun to recompile in

$INST_TOP /ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml.


<init-param>
         <param-name>main_mode</param-name>
         <param-value>recompile</param-value>
      </init-param>



Lets do it practically.
=============

The objective is to change the setting for main_mode from justrun to recompile in

[applmgr@apps scripts]$ grep -i s_jsp_main_mode $CONTEXT_FILE
         <jsp_debug_parameters oa_var="s_jsp_main_mode">justrun</jsp_debug_parameters>
[applmgr@apps scripts]$

 when i run autconfig it will update $INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml.

Before running autoconfig the current values in orion-web.xml is .

<init-param>
         <param-name>main_mode</param-name>
         <param-value>justrun</param-value>
</init-param>


I changed the parameter in xml file to recompile.

[applmgr@apps scripts]$ grep -i s_jsp_main_mode $CONTEXT_FILE
         <jsp_debug_parameters oa_var="s_jsp_main_mode">recompile</jsp_debug_parameters>
[applmgr@apps scripts]$

Now running autoconfig.
====================


[applmgr@apps scripts]$ ./adautocfg.sh
Enter the APPS user password:

The log file for this session is located at: /u02/inst/apps/PROD_apps/admin/log/04281239/adconfig.log

AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
        Using CONFIG_HOME location     : /u02/inst/apps/PROD_apps
        Classpath                   : /u02/apps/apps_st/comn/java/lib/appsborg2.zip:/u02/apps/apps_st/comn/java/classes

        Using Context file          : /u02/inst/apps/PROD_apps/appl/admin/PROD_a pps.xml

Context Value Management will now update the Context file

        Updating Context file...COMPLETED

        Attempting upload of Context file and templates to database...COMPLETED

Configuring templates from all of the product tops...
        Configuring AD_TOP........COMPLETED
        Configuring FND_TOP.......COMPLETED
        Configuring ICX_TOP.......COMPLETED
        Configuring MSC_TOP.......COMPLETED
        Configuring IEO_TOP.......COMPLETED
        Configuring BIS_TOP.......COMPLETED
        Configuring AMS_TOP.......COMPLETED
        Configuring CCT_TOP.......COMPLETED
        Configuring WSH_TOP.......COMPLETED
        Configuring CLN_TOP.......COMPLETED
        Configuring OKE_TOP.......COMPLETED
        Configuring OKL_TOP.......COMPLETED
        Configuring OKS_TOP.......COMPLETED
        Configuring CSF_TOP.......COMPLETED
        Configuring IGS_TOP.......COMPLETED
        Configuring IBY_TOP.......COMPLETED
        Configuring JTF_TOP.......COMPLETED
        Configuring MWA_TOP.......COMPLETED
        Configuring CN_TOP........COMPLETED
        Configuring CSI_TOP.......COMPLETED
        Configuring WIP_TOP.......COMPLETED
        Configuring CSE_TOP.......COMPLETED
        Configuring EAM_TOP.......COMPLETED
        Configuring FTE_TOP.......COMPLETED
        Configuring ONT_TOP.......COMPLETED
        Configuring AR_TOP........COMPLETED
        Configuring AHL_TOP.......COMPLETED
        Configuring OZF_TOP.......COMPLETED
        Configuring IES_TOP.......COMPLETED
        Configuring CSD_TOP.......COMPLETED
        Configuring IGC_TOP.......COMPLETED

AutoConfig completed successfully.
[applmgr@apps scripts]$


Once autoconfig completed check context file and orion-web.xml.

[applmgr@apps scripts]$ grep -i s_jsp_main_mode $CONTEXT_FILE
         <jsp_debug_parameters oa_var="s_jsp_main_mode">recompile</jsp_debug_parameters>
[applmgr@apps scripts]$


orion-web.xml.
=============

<init-param>
         <param-name>main_mode</param-name>
         <param-value>recompile</param-value>
</init-param>



Note: JSP’s are compiled automatically after patching (whenever patch updates one or more jsp it calls ojspCompile.pl to compile JSP)

Happy learning!!!!!!!!!!!



To compile jsp's manually in R12 click on the below link and also jsp logs.
http://abduulwasiq.blogspot.in/2013/04/how-to-compile-jsp-in-r12.html



Thursday 25 April 2013

Please bounce OPMN Services/Apache bounce in ebsdev instance?



Why OPMN bounce/Apache bounce?
Developers deployed new objects in JAVA_TOP which require a full OPMN bounce
these are for OAF objects which require a full bounce for middle tier caching
and the objects consists of .class files and .xml files.when we bounce these objects
will get reflected.


[applmgr@apps scripts]$ adopmnctl.sh status

You are running adopmnctl.sh version 120.6

Checking status of OPMN managed processes...

Processes in Instance: PROD_apps.apps.user.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |     N/A | Down
OC4JGroup:default_group          | OC4J:forms         |     N/A | Down
OC4JGroup:default_group          | OC4J:oacore        |     N/A | Down
HTTP_Server                      | HTTP_Server        |     N/A | Down

Make sure no process are running.
[applmgr@apps scripts]$ ps -fu applmgr
UID        PID  PPID  C STIME TTY          TIME CMD
applmgr  26766 26765  0 17:33 pts/1    00:00:00 -bash
applmgr  28635 26766  0 18:17 pts/1    00:00:00 ps -fu applmgr
[applmgr@apps scripts]$

Start all service.
==========


[applmgr@apps scripts]$ adopmnctl.sh status

You are running adopmnctl.sh version 120.6

Checking status of OPMN managed processes...

Processes in Instance: PROD_apps.apps.user.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |     774 | Alive
OC4JGroup:default_group          | OC4J:forms         |     708 | Alive
OC4JGroup:default_group          | OC4J:oacore        |     629 | Alive
HTTP_Server                      | HTTP_Server        |     577 | Alive


adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /u02/inst/apps/PROD_apps/logs/appl/admin/log/adopmnctl.txt for more information ...

[applmgr@apps scripts]$




How to compile jsp manually in R12?



Bring down application service's and make sure no processes are running.

[applmgr@apps scripts]$ ps -fu applmgr
UID        PID  PPID  C STIME TTY          TIME CMD
applmgr  26766 26765  0 17:33 pts/1    00:00:00 -bash
applmgr  28635 26766  0 18:17 pts/1    00:00:00 ps -fu applmgr
[applmgr@apps scripts]$

cd $FND_TOP/patch/115/bin


[applmgr@apps bin]$ perl ojspCompile.pl --compile --flush -p 4
logfile set: /u02/inst/apps/PROD_apps/logs/appl/rgf/ojsp/ojspc_error.log
starting...(compiling all)
using 10i internal ojsp ver: 10
synchronizing dependency file:
  loading deplist...8048
  enumerating jsps...8048
  updating dependency...0
initializing compilation:
  eliminating children...5979 (-2069)
translating and compiling:
  translating jsps...5979/5979 in 2m44s
  compiling jsps...5979/5979 in 4m28s
Finished!

[applmgr@apps bin]$
/u02/apps/apps_st/appl/fnd/12.0.0/patch/115/bin
[applmgr@apps bin]$


JSP Compilation logs 
=============

In 11i, all jsp compilation errors are logged in 
$IAS_ORACLE_HOME/Apache/Jserv/logs/mod_jserv.log

In R12, all jsp compilation errors are logged in $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1/application.log

how to check OATM enabled or not?


SQL> show user
USER is "APPS"
SQL>  select IS_NEW_TS_MODE from apps.fnd_product_groups;

I
-
Y

SQL> select name from v$database;

NAME
---------
PROD

SQL>

How to find OPP log and current maximum Java heap size?



If concurrent program ends in warning due to any OPP service failure, run below sql by passing request id.

The actual error returned by the XML Publisher Core engine is captured in the OPP log file.
One of the easiest way to obtain the OPP log file is to run the below script from the database by providing request_id.

SELECT fcpp.concurrent_request_id req_id, fcp.node_name, fcp.logfile_name
FROM fnd_conc_pp_actions fcpp, fnd_concurrent_processes fcp
WHERE fcpp.processor_id = fcp.concurrent_process_id
AND fcpp.action_type = 6 AND fcpp.concurrent_request_id = &request_id;

===================
SELECT service_id, service_handle, developer_parameters
FROM fnd_cp_services
WHERE service_id = (SELECT manager_type
FROM fnd_concurrent_queues
WHERE concurrent_queue_name = 'FNDCPOPP');


SERVICE_ID SERVICE_
---------- --------
DEVELOPER_PARAMETERS
--------------------------------------------------------------------------------
1080 FNDOPP
J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx512m

Please execute poxrespo.sql in ebsdev instance which is located at $PO_TOP/sql?



For instruction or for more assistance you can below metalink id.
==================================================
How To Reset a Purchase Order or Requisition From In Process or Pre-Approved 
To Incomplete/Requires Reapproval For Isolated Cases [ID 390023.1]

1)For instruction check metalink id  [ID 390023.1]
2)Go to cd $PO_TOP/sql and run poxrespo.sql in apps schema.

cd $PO_TOP/sql


SQL> select name,user from v$database;

NAME USER
--------- ------------------------------
ebsdev APPS

SQL>

SQL> @poxrespo.sql
DOC> | Copyright (c) 1997 Oracle Corporation Redwood Shores, California, USA|
DOC> | All rights reserved. |
DOC> +=======================================================================*/
DOC>
DOC> This script will:
DOC>* reset the document to incomplete/requires reapproval status.
DOC>* delete/update action history as desired (refere note 390023.1 for more details).
DOC>* abort all the related workflows
DOC>
DOC>If using encumbrance it will also:
DOC>* correct po encumbrance values if corrupted
DOC>* Suggest gl manual postings to have the gl data in synch.
DOC>*/


Please enter the PO number to reset : 435750237
Please enter the organization id to which the PO belongs (Default NULL) : 1155
Do you want to delete the action history since the last approval ? (Y/N) N

table already exists, hence not creating again

PL/SQL procedure successfully completed.

SQL>

To check old post click on older post in the bottom of the page.

Provide ouput of APListh.sql file?


1)Download APListh.sql from metalink.
Standalone APList - Payables Data Collection Test [ID 148388.1]

2)connect to database as apps schema and run it and will require atleast one input as Invoice Id.

3)It will run for some minutes and generate and HTML report.

4)Give this HTML report to User.



SQL>select name from v$database;

NAME
---------
EBSOLTP

SQL>

SQL> show user
USER is "APPS"
SQL>



SQL> @APListh.sql

RDBMS Version = 11.2.0.3.
ERROR - The Script requires RDBMS version 8.1.6 or higher
ACTION - Type Ctrl-C to exit the script.
RDBMS Version = 11.2.0.3.
NLS Character Set = UTF8
ERROR - The HTML version of this script is incompatible with this Character Set
for RDBMS version 8.1.7.3 and lower
ACTION - Please run the Text version of this script.
Are you entering an Invoice Number, Check Number, Check Id or Invoice_id?
Enter 1 for Invoice Number
Enter 2 for Check Number
Enter 3 for Check Id
Enter 4 for Invoice Id
DEFAULT=1>4
Press Enter
>
Press Enter
>
Enter the Invoice ID:
>704864

Print NULL Columns (Y or N)?
DEFAULT=Y>

Show Spaces (Y or N)?
DEFAULT=N>

Details Layout: Portrait or Landscape (P or L)?
DEFAULT=L>

GL Details (Y or N)?
DEFAULT=N>

Related Details (Y or N)?
DEFAULT=Y>

Max number of rows returned?
Default=500>


Running...

Output spooled to filename APListh_704864_04241351_diag.html

SQL>


To check old post click on older post in the bottom of the page.

Wednesday 24 April 2013

ORA-00257: archiver error. Connect internal only, until freed.


Cause: The archiver process received an error while trying to archive a redolog. 
If the problem is not resolved soon,the database will stop executing transactios.The most likely cause of this message is the destination device is out of space 
to store the redo log file.

Connect to database as sysdba privilege.

1)archive log list 
if the destination is full,please change archive detinstion using 
(alter system set )

2)Once the detination change succcessfully check for  check archives.it will generate in the changed destination.



ORA-01089: immediate shutdown in progress - no operations are permitted while rman backup is running?


Error reported: ORA-01089: immediate shutdown in progress

Cause: when rman backup is running some like dba has shutdown the database might be
because of outage window for patching or maintainance activity.


ORA-01089 occurs when all Oracle operation have been terminated. 
This means someone (likely your DBA) has used the SHUTDOWN IMMEDIATE 
command to shut down an Oracle instance. You will need for your DBA to 
restart the instance in order to resolve ORA-01089.

Solution:Start the database and fire rman backup.

Tuesday 23 April 2013

As part of the preclone what files need to be backup?

Preclone:
The steps which you performed before clonning is called preclone.

====


Create one directory with today date and backup all files.as i want to clone ebstest from ebsoltp instance which is mine production/source.

mkdir ebstest_23apr2013
chmod -R 777 ebstest_23apr2013
cd ebstest_23apr2013
mkdir backup
cd backup
mkdir appl 10.1.2 10.1.3 db inst
chmod 777 *
cd db
mkdir rdbms
chmod -R 777 rdbms
cd rdbms
cd ../../appl

cp $APPL_TOP/*.env .
cp $APPL_TOP/admin/adovars.env .
cp $APPL_TOP/admin/adpltfrm.txt .
cp $APPL_TOP/admin/topfile.txt .
cp $INST_TOP/appl/admin/*.env .
cp $FND_TOP/resource/wf* .
cp $FND_TOP/resource/WF* .
cp -R $FND_TOP/secure/* .
cp $OA_HTML/env.txt .
cp $APPL_TOP/admin/adconfig.txt .
mkdir oahtml fndtop msc
cp $FND_TOP/admin/template/appsweb*.cfg ./fndtop
cp $OA_HTML/bin/appsweb*.cfg ./oahtml
cp $MSC_TOP/bin/MSCSLD* ./msc
cd ../10.1.2
cp -rp $INST_TOP/ora/10.1.2/network/admin/*.ora .
cp -rp $INST_TOP/ora/10.1.2/network/admin/*.cfg .
cp -rp $INST_TOP/ora/10.1.2/forms/server/*.env .
cp -rp $INST_TOP/ora/10.1.2/forms/server/*.cfg .
cp -rp $INST_TOP/ora/10.1.2/forms/server/*.sh .
cd ../10.1.3
cp -rp $INST_TOP/ora/10.1.3/network/admin/*.ora .
cp -rp $ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/*.conf .
cp -rp $ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/osso .
cp -rp $INST_TOP/ora/10.1.3/opmn/conf/*.xml .
cp -rp $INST_TOP/ora/10.1.3/config/* .
cp -rp $INST_TOP/ora/10.1.3/*.env .
cp -rp $INST_TOP/ora/10.1.3/deconfig/* .
cp -rp $INST_TOP/ora/10.1.3/j2ee/* .
cp -rp $INST_TOP/ora/10.1.3/javacache/admin .

cp -rp /u01/ebsapp/inst/* . &

Database side backup below files
==================================

cp $ORACLE_HOME/*.env .
cp $TNS_ADMIN/*.ora .
cp $ORACLE_HOME/appsutil/*.xml .
cp $TNS_ADMIN/*.ora .
cp $ORACLE_HOME/dbs/init*.ora .
cp $ORACLE_HOME/appsutil/*.xml .
cp $ORACLE_HOME/dbs/init*.ora .

Responsiblities if needed
===========================

nohup FNDLOAD apps/******** 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct user_resp_ebstest.dat FND_USER &

nohup FNDLOAD apps/****** 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct profile_ebstest.dat PROFILE & 

==========

Export of any schema,dblinks and etc.

Postclone steps:
The steps which are performed after clonning is called postclone steps.

To check postclone steps click here
http://abduulwasiq.blogspot.in/p/postclone-steps.html


Thanks for visiting my blog....

Programs not running by showing status as INACTIVE, NOMANAGER in ebstest instance.

when i check the mount point it is filled up.


apptest@ctssd $ df -h .
Filesystem                size used avail capacity Mounted on
/dev/vx/dsk/ebstestdg/erpcsf
                          32G 32G 0K 100% /u01/ebscsf

cleanup old request/out files from this location cd $APPLCSF/$APPLLOG
cd $APPLCSF/$APPLOUT.

 find . -name "*.req/out" -mtime +30 -exec rm {} \;

i removed the files which are older than 30days and mount point issue resolved.

apptest@ctssd $ df -h .
Filesystem             size used avail capacity Mounted on
/dev/vx/dsk/ebstestdg/erpcsf
                       32G 25G 7.4G 78% /u01/ebscsf



I did the sanity instance is working fine and also asked user to check from his side
its working fine.


Thank you so much for visiting my site !!!!

Monday 22 April 2013

Routine CALL_STORED_PROCEDURE cannot initialize concurrent request information for 170348145/ Concurrent manager showing INACTIVE Nomanager?




Concurrent Manager showing status inactive nomanager
=============================================
user reported below error:
=====================

"Routine CALL_STORED_PROCEDURE cannot initialize concurrent request information for 170348145. Review the concurrent manager log file for more detailed information.

Symtomps: Concurrent manager unable to write anything in the logfile and mount point filled up.


appdev@ctssd $ df -h .
Filesystem                size used avail capacity Mounted on
/dev/vx/dsk/ebsdevdg/erpcsf
                          32G 32G 0K 100% /u01/ebscsf



Solution: Clear/remove unwanted files from this location cd $APPLCSF/$APPLLOG  or cd $APPLCSF/$APPLOUT.

 find . -name "*.req/out" -mtime +30 -exec rm {} \;



appdev@ctssd $ df -h .
Filesystem             size used avail capacity Mounted on
/dev/vx/dsk/ebsdevdg/erpcsf
                       32G  25G 8G     76% /u01/ebscsf



I did the sanity requests are processing  fine and also ask user to check from his side
and got positive response from user saying requests are Running Normal


Thank you so much for visiting my blog!!!!

Concrrent request are not completing and running from long time?

When i go and check concurrent manager logfile i found below statements.



Cause: cleanup_node failed due to ORA-00600: internal error code, arguments: [pesldl01_Get_Object: shm_open: errno 2 e
rrmsg No such file or di], [], [], [], [], [], [], [], [], [], [], [].

Symtomps:
Not able to get the sufficient amount of  shared memory.Because of that programs 
are running from long time.

Solution: Bounce database.    

Check that your system has enough resources to start a concurrent manager proces?/Concurrent Managers are not coming up?

When i go and check concurrent manager logfile i found below statements.


The SQL statement
Could not initialize the Service Manager FNDSM_CTSSP_EBSOLPT. Verify that CTSSP has been registered for concur
rent processing.
ORACLE error 600 in cleanup_node

Cause: cleanup_node failed due to ORA-00600: internal error code, arguments: [pesldl01_Get_Object: shm_open: errno 2 e
rrmsg No such file or di], [], [], [], [], [], [], [], [], [], [], [].

The SQL statem
Routine AFPEIM encountered an error while starting concurrent manager GEPSWFBG with library /u01/ebsapp/appl/fnd/1
1.5.0/bin/FNDLIBR.

Check that your system has enough resources to start a concurrent manager process. Contact your system administrator :
30-JAN-2013 13:11:58
Starting GEPSWFBG Concurrent Manager : 30-JAN-2013 13:11:58

ORACLE error 600 in insert_fcp.


Symtomps:
unable to get the shared memory and unable to bring up the concurrent managers.
                    (OR)
issue with memory.

Re create password file



orapwd file=/u01/oracle/product/10.2.3/dbs/orapwdprod password=sys entries=5

To find sga details


To find sga details
============

SQL> set linesize 500
SQL> set pages 200
SQL> col name for a35
col value for a35
 SQL> select name, value from v$parameter2 where name in ('sga_target','java_pool_size','large_pool_size','shadow_core_dump','db_cac
2 he_size','sga_max_size','sga_target','shared_pool_reserved_size','shared_pool_size');

NAME VALUE
----------------------------------- -----------------------------------
sga_max_size 3221225472
shared_pool_size 1677721600
large_pool_size 218103808
java_pool_size 536870912
shared_pool_reserved_size 335544320
sga_target 0
shadow_core_dump NONE

7 rows selected.

SQL>

SQL> select name from v$database;

NAME
-----------------------------------
EBSTEST

FND_DCP.REQUEST_SESSION_LOCK/DBMS_LOCK.Request resultCall to establish_icm failed/function FND_DCP .Request_Session_Lock.



Error in Concurrent manager logfile
===================================
Routine &ROUTINE has attempted to start the internal concurrent manager. The ICM is already running. Contact you syste
m administrator for further assistance.afpdlrq received an unsuccessful result from PL/SQL procedure or function FND_DCP
.Request_Session_Lock.
Routine FND_DCP.REQUEST_SESSION_LOCK received a result code of 1 from the call to DBMS_LOCK.Request.
Possible DBMS_LOCK.Request resultCall to establish_icm failed
The Internal Concurrent Manager has encountered an error.

Review concurrent manager log file for more detailed information. : 16-APR-2013 17:30:57.
You can resolve above issue in two ways

1)bounce the database



Concurrent Processing - The Concurrent Manager Fails to Start on GSM Enabled Due to DBMS_LOCK.Request ResultCall Failed to Establish ICM [ID 245563.1]
=====================================================================================================================================================

Metalink says:


fact: Oracle Application Object Library
fact: Concurrent:GSM Enabled = Y
symptom: The Concurrent Manager fails to start
symptom: Routine &ROUTINE has attempted to start the internal
concurrent manager.
symptom: The ICM is already running.  Contact you system administrator for
further assistance.
symptom: a fpdlrq received an unsuccessful result from PL/SQL procedure or
function FND_DCP.Request_Session_Lock.
symptom: Routine FND_DCP.REQUEST_SESSION_LOCK received a result code of 1
from the call to DBMS_LOCK.Request.
symptom: Possible DBMS_LOCK.Request resultCall to establish_icm failed
symptom: The Internal Concurrent Manager has encountered an error.
change: Cloned Instance
cause: Database Locking issue



fix:

1. Stop all services and concurrent managers
2. Stop and restart the database
3. Restart the services and concurrent managers
4. Verify if the issue remains


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

2) Without bouncing the database.
i)Bring down Concurrent Manager but there are no (FND)process that are runing after getting above issue in CM logfile.
ii)check for locks related to CM if any please kill it and run cmclean.sql with apps user and start Concurrent manager.
iii)above issue will fix.


Check for CM lock using below query
==================================


SQL> SELECT v$access.sid, v$session.serial#
FROM v$session,v$access
WHERE v$access.sid = v$session.sid and v$access.object = 'FND_CP_FNDSM'
GROUP BY v$access.sid, v$session.serial#; 2 3 4

SID SERIAL#
---------- ----------
1639 19

SQL> alter system kill session '1639,19';

System altered.

SQL>



Run cmclean.sql
===========

SQL> show user
USER is "APPS"
SQL> @/u01/.wasiq/scripts/cmclean.sql
DOC>
DOC>WARNING : Do not run this script without explicit instructions
DOC>from Oracle Support
DOC>
DOC>
DOC>*** Make sure that the managers are shut down ***
DOC>*** before running this script ***
DOC>
DOC>*** If the concurrent managers are NOT shut down, ***
DOC>*** exit this script now !! ***
DOC>
DOC>#
If you wish to continue type the word 'dual':
If you wish to continue type the word 'dual': dual



-----------------------------------------------------------------------
-- Updating invalid process status codes in FND_CONCURRENT_PROCESSES

0 rows updated.


-----------------------------------------------------------------------
-- Updating running processes in FND_CONCURRENT_QUEUES
-- Setting running_processes = 0 and max_processes = 0 for all managers

54 rows updated.


-----------------------------------------------------------------------
-- Updating invalid control_codes in FND_CONCURRENT_QUEUES

Manager short name Control code
-------------------- ------------
FNDCRM N
FNDSCH N
STANDARD N
PODAMGR N
RCVOLTM N
PASMGR N
GEPSNOTML N
INVMGR N
INVTMRPM N
MRPMGR N
CRPINQMGR N
WFWSSVC N
WFALSNRSVC N
WFMLRSVC N
FNDCPOPP N
FNDSM_CTSSD N

16 rows updated.


54 rows updated.


-----------------------------------------------------------------------
-- Updating any Running or Terminating requests to Completed/Error

0 rows updated.


-----------------------------------------------------------------------
-- Updating any Runalone flags to 'N'

Updated 0 rows of runalone_flag in fnd_conflicts_domain to 'N'

-----------------------------------------------------------------------
Updates complete.
Type commit now to commit these updates, or rollback to cancel.
-----------------------------------------------------------------------

SQL> commit;

Commit complete.

SQL>

Start concurrent manager and retest the issue.Issue will fix now no need of db bounce !!!


Friday 12 April 2013

How to find deprecated parameters in Oracle?



SQL> select name from v$database;

NAME
---------
PROD

SQL>

SQL> select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
CORE    11.1.0.7.0      Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production




Below are the list of deprecated parameters in 11g.
====================================

SQL> SELECT name FROM v$parameter WHERE isdeprecated ='TRUE';

NAME
--------------------------------------------------------------------------------
lock_name_space
instance_groups
resource_manager_cpu_allocation
buffer_pool_keep
buffer_pool_recycle
max_commit_propagation_delay
log_archive_start
standby_archive_dest
log_archive_local_first
parallel_server
parallel_server_instances

NAME
--------------------------------------------------------------------------------
fast_start_io_target
serial_reuse
max_enabled_roles
remote_os_authent
global_context_pool_size
cursor_space_for_time
plsql_v2_compatibility
plsql_debug
background_dump_dest
user_dump_dest
commit_write

NAME
--------------------------------------------------------------------------------
sql_trace
parallel_automatic_tuning
sql_version
drs_start

26 rows selected.

Below  command is not displaying the deprecated parameters.
=======================================


SQL> select name from v$obsolete_parameter where isspecified='TRUE';

no rows selected

SQL>



Note:Parameters which are replaced in 11g.

1. BACKGROUND_DUMP_DEST (replaced by DIAGNOSTIC_DEST)
2. OMMIT_WRITE
3. CORE_DUMP_DEST (replaced by DIAGNOSTIC_DEST)
4. INSTANCE_GROUPS
5. LOG_ARCHIVE_LOCAL_FIRST
6. PLSQL_DEBUG (replaced by PLSQL_OPTIMIZE_LEVEL)
7. PLSQL_V2_COMPATIBILITY
8. REMOTE_OS_AUTHENT
9. STANDBY_ARCHIVE_DEST
10. TRANSACTION_LAG (attribute of the CQ_NOTIFICATION$_REG_INFO object)
11. USER_DUMP_DEST (replaced by DIAGNOSTIC_DEST)