Sunday, 25 January 2015

adsplice

USE PROD instance

------- Pre-install Tasks -----------
You must shut down all Application tier services before performing the tasks in this section.



--------AD Splicer---------
• AD Splicer registers off-cycle product as a valid Oracle Applications product for the given release
• The splicing process enables AutoPatch and AD Administration to recognize the off-cycle product
• AD Splicer uses control files to manage the splicing process

– These are not related to the database control files
AD Splicer Control Files
Off-cycle products are generally released as patches. All product files and control files necessary to splice in the product are included in the patch.
There is one product configuration file, called newprods.txt. The product configuration file must be edited for your specific system before the off-cycle product can be properly spliced.
Note: The product definition files must not be altered.

There are two product definition files per off-cycle product. They are
• <prod>prod.txt: which contains language-independent information for product <prod>
• <prod>terr.txt: which contains language-dependent information for product <prod> <prod> represents the product abbreviation for an Applications product. For example GL for General Ledger and PO for Purchasing.
The AD Splicer control files must copied from the patch to the APPL_TOP/admin directory.



-------Editing newprod.txt (Controlfile)-------------

-bash-3.2$ more newprods.txt

%%% Splicer control file format 12.0.A
#
# $Header: newprods.txt 120.1 2006/09/20 12:57:45 jaobrien noship $
#
#
# Section for Oracle Support Diagnostic Tools

product=izu
base_product_top=*APPL_TOP*
oracle_schema=izu
sizing_factor=100
main_tspace=APPS_TS_TX_DATA
index_tspace=APPS_TS_TX_IDX
temp_tspace=TEMP1
default_tspace=APPS_TS_TX_DATA

# end of Oracle Support Diagnostic Tools



------Post-Splice Steps--------
After the new product is spliced in, the files and objects for this product can be installed. To do this you need to:
• Log out and log back in so that you are using the new environment file (or registry entries) to set up your environment
• Verify that <PROD>_TOP environment variables are set for your newly-spliced product
• Run AutoPatch to install files and database objects for your new product




Example : Patch - ADSPLICE PATCH FOR IZU - Release 12 - 6280873
IZU Splice Preparation Tasks for R12
Customers with multi-node installations of eBusiness Suite should apply this
adsplice patch on all nodes.

Before you run adpatch you must complete the steps below:

1. Unzip this patch and you will get directory 6280873.

2. Copy the following text files from 6280873/izu/admin to the admin directory under APPL_TOP.
     izuprod.txt
     izuterr.txt
     newprods.txt

3. Change directory to the admin directory under APPL_TOP.
   Review newprods.txt and verify that the tablespaces listed exist and are the ones planned for use by this product. If changes are required, edit the file as appropriate and save it.

   cd $APPL_TOP/admin
   vi newprod.txt

4. You must run "adsplice" from the admin directory under your APPL_TOP.
   When you are asked to enter the name of your AD Splicer control file, enter newprods.txt
   adsplice
   Filename [adsplice.log]

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

-bash-3.2$ cd $APPL_TOP/admin

-bash-3.2$ adsplice

                     Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA

                                   AD Splicer

                                 Version 12.0.0

NOTE: You may not use this utility for custom development
      unless you have written permission from Oracle Corporation.

Your default directory is '/u01/oracle/VIS/apps/apps_st/appl'.
Is this the correct APPL_TOP [Yes] ?

AD Splicer records your AD Splicer session in a text file
you specify.  Enter your AD Splicer log file name or press [Return]
to accept the default file name shown in brackets.

Filename [adsplice.log] : izu_adsplice.log

************* Start of AD Splicer session *************
AD Splicer version: 12.0.0
AD Splicer started at: Sun Jan 25 2015 12:39:45

APPL_TOP is set to /u01/oracle/VIS/apps/apps_st/appl

Change DB = YES.


Please enter the name of the Oracle Applications System that this
APPL_TOP belongs to.

The Applications System name must be unique across all Oracle
Applications Systems at your site, must be from 1 to 30 characters
long, may only contain alphanumeric and underscore characters,
and must start with a letter.

Sample Applications System names are: "prod", "test", "demo" and
"Development_2".

Applications System Name [VIS] : VIS *


NOTE: If you do not currently have certain types of files installed
in this APPL_TOP, you may not be able to perform certain tasks.

Example 1: If you don't have files used for installing or upgrading
the database installed in this area, you cannot install or upgrade
the database from this APPL_TOP.

Example 2: If you don't have forms files installed in this area, you cannot
generate them or run them from this APPL_TOP.

Example 3: If you don't have concurrent program files installed in this area,
you cannot relink concurrent programs or generate reports from this APPL_TOP.


Do you currently have or want to install files  used for installing or upgrading
the database in this APPL_TOP [YES] ? YES *


Do you currently have or want to install Java and HTML files for HTML-based
functionality in this APPL_TOP [YES] ? YES *


Do you currently have or want to install Oracle Applications forms files
in this APPL_TOP [YES] ? YES *


Do you currently have or want to install concurrent program files
in this APPL_TOP [YES] ? YES *


Please enter the name Oracle Applications will use to identify this APPL_TOP.

The APPL_TOP name you select must be unique within an Oracle Applications
System, must be from 1 to 30 characters long, may only contain
alphanumeric and underscore characters, and must start with a letter.

Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1".

APPL_TOP Name [oracle] : oracle *



You are about to install or upgrade Oracle Applications product tables
in your ORACLE database 'VIS'
using ORACLE executables in '/u01/oracle/VIS/apps/tech_st/10.1.2'.

Is this the correct database [Yes] ?

AD Splicer needs the password for your 'SYSTEM' ORACLE schema
in order to determine your installation configuration.

Enter the password for your 'SYSTEM' ORACLE schema:


The ORACLE username specified below for Application Object Library
uniquely identifies your existing product group: APPLSYS

Enter the ORACLE password of Application Object Library [APPS] :

AD Splicer is verifying your username/password.
The status of various features in this run of AD Splicer is:

                                           <-Feature version in->
Feature                          Active?   APPLTOP    Data model    Flags
------------------------------   -------   --------   -----------   -----------
CHECKFILE                        Yes       1          1             Y N N Y N Y
PREREQ                           Yes       6          6             Y N N Y N Y
CONCURRENT_SESSIONS              No        2          2             Y Y N Y Y N
PATCH_TIMING                     Yes       2          2             Y N N Y N Y
PATCH_HIST_IN_DB                 Yes       6          6             Y N N Y N Y
SCHEMA_SWAP                      Yes       1          1             Y N N Y Y Y
JAVA_WORKER                      Yes       1          1             Y N N Y N Y
CODELEVEL                        Yes       1          1             Y N N Y N Y



Reading product information from file...

Reading language and territory information from file...

Reading language information from applUS.txt ...

AD Splicer warning:
 Product Data File
 /u01/oracle/VIS/apps/apps_st/appl/admin/zfaprod.txt
 does not exist for product "zfa".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.


AD Splicer warning:
 Product Data File
 /u01/oracle/VIS/apps/apps_st/appl/admin/zsaprod.txt
 does not exist for product "zsa".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.


AD Splicer warning:
 Product Data File
 /u01/oracle/VIS/apps/apps_st/appl/admin/jtsprod.txt
 does not exist for product "jts".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.


Reading database to see what industry is currently installed.

Reading FND_LANGUAGES to see what is currently installed.
Currently, the following language is installed:

Code   Language                                Status
----   --------------------------------------- ---------
US     American English                        Base

Your base language will be AMERICAN.

Setting up module information.
Reading database for information about the modules.
Saving module information.
Reading database for information about the products.
Reading database for information about how products depend on each other.
Reading topfile.txt ...

Saving product information.

Please enter the directory where your AD Splicer control file is located.

The default directory is [/u01/oracle/VIS/apps/apps_st/appl/admin] :

Please enter the name of your AD Splicer control file [newprods.txt] :


Processing file /u01/oracle/VIS/apps/apps_st/appl/admin/newprods.txt...
  Loading information for product 'izu'...

Warning: Because the database is in new tablespace mode, AD Splicer is ignoring the tablespace settings in your control file!

Successfully read file /u01/oracle/VIS/apps/apps_st/appl/admin/newprods.txt.


Verifying localizations...

Validating inter-product dependency information...

Re-organizing product information lists...


Adding new languages into FND_LANGUAGES...

Saving module actions...done.

Saving product actions...done.

Product top directory for product "izu" exists.
Directory is /u01/oracle/VIS/apps/apps_st/appl/izu/12.0.0

  Directory "log" for product "izu" exists.
  Directory "out" for product "izu" exists.
  Directory "mesg" for product "izu" exists.
  Directory "sql" for product "izu" exists.
    File "sql/IZUNLINS.sql" for product "izu" exists.
  Directory "admin/sql" for product "izu" exists.
    File "admin/sql/IZUNLADD.sql" for product "izu" exists.
  Directory "admin/driver" for product "izu" exists.


Do you wish to regenerate your environment file [Yes] ?

Checking if AutoConfig is enabled....

Running AutoConfig on : All products ...

The log file is located at:
/u01/oracle/VIS/apps/apps_st/appl/admin/VIS/log/autoconfig_1.log

Please check the log file for more details about the run of AutoConfig.

AD Splicer is complete.

Errors and warnings are listed in the log file
/u01/oracle/VIS/apps/apps_st/appl/admin/VIS/log/izu_adsplice.log

and in other log files in the same directory.

You have new mail in /var/spool/mail/oraapp

-bash-3.2$

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



5. AD Splicer will regenerate the environment file or registry. If you have made manual modifications to your environment file or your registry, you will need to apply those changes again.



APPLY THE PATCH
----------------------------
1. cd $ADMIN_SCRIPTS_HOME
sh adstpall.sh apps/apps

2. Enable Maintenance Mode

3. adpatch




Verifying splicing of IZU
---------------------------------
A. Log out and log back in so that you are using the new environment
  file (or registry entries ) to set up your environment
  exit
  su - oraapp
  . ./APPSVIS_oracle.env

B. Verify that IZU_TOP environment variable is set for your newly-spliced product IZU


C. Verify that the product has been correctly created in the database by connection as "APPS" user.
select fa.APPLICATION_ID, STATUS
from fnd_application fa, fnd_product_installations fpi
where fa.APPLICATION_ID=fpi.APPLICATION_ID and APPLICATION_SHORT_NAME = 'IZU' ;

This statement should return one row:
APPLICATION_ID S
-------------- -
278 I


D. Verify you can connect to the database as izu/izu using SQLPLUS.


Tuesday, 20 January 2015

Oracle 11g GoldenGate Installation. Part 1

 MY ENV.

2 DB 10g on two different
Machine 192.168.2.29    (10g)
Machine 192.168.2.30    (10g)
Each & every node install GG  because of the purpose to replicate a data. And tns / Listener configure.

Oracle 11g GoldenGate Installation.
Download the GoldenGate software from Oracle Edelivery.

Select a Product Pack: Oracle Fusion Middleware
Platform: Linux X86


Download the Oracle GoldenGate media pack.

Create the directory for GoldenGate.


1.
$ mkdir -p /u01/app/gg


2.
  Make changes in your bash profile.
  Add path variable.Like this.
  # PATH=/usr/sbin:/u01/app/gg:$PATH; export PATH
  # PATH=$ORACLE_HOME/bin:/u01/app/gg:$PATH; export PATH

  PATH=/u01/app/gg:$PATH; export PATH

  LD library entry should look something like this.
  # LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/u01/app/gg; export LD_LIBRARY_PATH

  LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/u01/app/gg; export LD_LIBRARY_PATH

3.
  Reload bash profile
  $ . ./.bash_profile

export PATH
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
GG_HOME=/u01/app/gg; export GG_HOME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_SID=ORCLDB; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:/u01/app/gg:$PATH; export PATH
PATH=$ORACLE_HOME/bin:/u01/app/gg:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/u01/app/gg; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

4.
   copy the tar file to the "gg" directory and untar

   tar -xvof fbo_ggs_Linux_x86_ora11g_32bit.tar 

   Invoke the GoldenGate Software Command Interface.

-------------------------------------------------------------------------------------------------------------------------------------
5.
Using DB10g and GG11g
./ggsci      #Below Getting Error
./ggsci
./ggsci: error while loading shared libraries: libnnz11.so:
cannot open shared object file: No such file or directory

10g
[oracle@localhost gg]$ ln -s /u01/app/oracle/product/10.2.0/db_1/lib/libnnz10.so libnnz11.so
[oracle@localhost gg]$ ln -s /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1 libclntsh.so.11.1

11g
ln -s /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so libnnz11.so
ln -s /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1 libclntsh.so.11.1


[oracle@localhost gg]$ pwd
/u01/app/gg
[oracle@localhost gg]$ ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100 
Linux, x86, 32bit (optimized), Oracle 11g on Oct 4 2011 23:53:33

Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.



GGSCI (localhost) 1> create subdirs
Code:
Creating subdirectories under current directory /u01/app/gg

Parameter files                /u01/app/gg/dirprm: created
Report files                   /u01/app/gg/dirrpt: created
Checkpoint files               /u01/app/gg/dirchk: created
Process status files           /u01/app/gg/dirpcs: created
SQL script files               /u01/app/gg/dirsql: created
Database definitions files     /u01/app/gg/dirdef: created
Extract data files             /u01/app/gg/dirdat: created
Temporary files                /u01/app/gg/dirtmp: created
Veridata files                 /u01/app/gg/dirver: created
Veridata Lock files            /u01/app/gg/dirver/lock: created
Veridata Out-Of-Sync files     /u01/app/gg/dirver/oos: created
Veridata Out-Of-Sync XML files /u01/app/gg/dirver/oosxml: created
Veridata Parameter files       /u01/app/gg/dirver/params: created
Veridata Report files          /u01/app/gg/dirver/report: created
Veridata Status files          /u01/app/gg/dirver/status: created
Veridata Trace files           /u01/app/gg/dirver/trace: created
Stdout files                   /u01/app/gg/dirout: created

GGSCI (localhost) 2> exit

Before going any further make sure your database is in
archivelog mode.

Prepare your database for replication.

In order to extract committed transactions from the source database
the database must be configured with supplemental logging on primary
key columns.

SQL> alter database add supplemental log data (primary key) columns;

Database altered.

Do a logswitch to start supplemental logging.

SQL> alter system switch logfile;

System altered.

SQL> select supplemental_log_data_min, supplemental_log_data_pk,
supplemental_log_data_ui from v$database;


SUPPLEME SUP SUP
-------- --- ---
IMPLICIT YES NO


SUPPLEMENTAL_LOG_DATA_MIN: Ensures that logminer will have sufficient information.
SUPPLEMENTAL_LOG_DATA_PK: Indicates whether all columns of the primary key are placed into
the redo log whenever an update is performed.
SUPPLEMENTAL_LOG_DATA_UI: Indicated whether all columns belonging to the unique key are placed
into the redo log if any of the unique columns are modified.

Create a Tablespace and user for GoldenGate.

SQL> create tablespace golden datafile'/u01/app/oracle/oradata/orcl/golden01.dbf' size 100m
2 autoextend on
3 extent management local
4 segment space management auto;

Tablespace created.

SQL> create user ggs_admin identified by ggs_admin temporary tablespace temp default tablespace golden quota unlimited on golden;

User created.


SQL> grant dba to ggs_admin;

Grant succeeded.

SQL> alter system set recyclebin=off scope=spfile;

System altered.

--Set recyclebin to off, Necessary for DDL Replication from Oracle 10g onwards.


SQL> shutdown immediate
SQL> startup




Installing GoldenGate for Oracle RAC (Doc ID 966181.1)

How do I install GoldenGate on an Oracle RAC?

There are multiple variations of installing GoldenGate for Oracle RAC.


Installing GoldenGate on Shared Drives

This approach works very well. The software is installed on shared drives that all the RAC nodes have access to. The manager and GoldenGate processes can be started from one of the nodes. If the node that the GoldenGate processes were started from fails, the checkpoints are maintained. The manager and GoldenGate processes then can be started from another node without making any modifications to any parameter files. If the database alone crashes on the node that GoldenGate was installed, then the manager process will need to be stopped on that node before it be restarted on another node.

Installing GoldenGate on local disk

This approach will not work in a fail over situation. If there was a database failure alone on this node, the software could be installed on a different node. For the replicat , all the trails would need to be moved to that node. The extract and replicat could be added and positioned to that last known good checkpoint. If there were a complete node failure, this would be very difficult to recover from. It would be impossible to know what the last good checkpoint was and we would have no access to any trails that were located on those local disks.

Connecting to the RAC instance from a application server using SQL*Net

The software is installed on a separate machine. GoldenGate is setup to connect to the RAC Instance via the Global Database name which is setup in TNSNAME.ORA. By connecting to the Global Database using SQL*Net, Oracle will handle the fail over. For extract, the oracle logs will need to be located on shared disk that this server has access to.

When adding your online Extract groups, be sure to specify the THREADS option on the ADD command.



Part 2

Wednesday, 14 January 2015

Upgrading ASM from Oracle 10g to Oracle 11g Release 2

This note describes the steps for upgrading ASM running on Oracle 10.2.0.4 to Oracle 11.2.0.1 on a HP UX platform.

To upgrade the ASM, we need to install the 11g R2 Grid Infrastructure software as ASM is now no longer part of the database software as was the case in Oracle 10g.

We launch the installer from Grid Infrastructure software directory - unzip the file hpia64_11gR2_grid.zip which we have downloaded from OTN.



Optional -------------------- When you are using HP UX platform normally ignore this step
This error “Unable to get the current group” when we launch the installer is a known error for HP UX which is resolved by applying the OS patch OS patch PHCO_40381



----------------------------------------------------------------------------------------------

Ensure the “Upgrade Grid Infrastructure” is chosen

 
The OUI detects the running 10g ASM instance and automatically the Upgrade Grid Infrastructure option is selected.



Specify the password for ASMSNMP user



Select the appropriate group – we use dba group for all three – ignore the warning message which will follow. 




One of the new 11g OUI features is that it generates some fix-up scripts which can be run to change or modify certain kernel parameter settings.

Click on the “Fix and Check Again” button



A fix-up script runfixup.sh has been generated which needs to be run as root – note some parameters cannot be changed on the fly and require a system reboot.

After running the script, we click on OK and then on Check Again.



Even after running the fix-up script, some kernel parameters cannot be modified without a reboot.

Since this is a test, we do not do a machine reboot at this stage and we check the Ignore All box and click on Next


Note that Migrate ASM is showing the value true








root@inpsidt1# ./rootupgrade.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /data/oracle/product/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2011-05-17 12:24:49: Checking for super user privileges
2011-05-17 12:24:49: User has super user privileges
2011-05-17 12:24:49: Parsing the host name
Using configuration parameter file: /data/oracle/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
stty: : Not a typewriter
stty: : Not a typewriter
stty: : Not a typewriter
mesg: cannot change mode
LOCAL ADD MODE
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
CSS appears healthy
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
CRS-4664: Node inpsidt1 successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting

inpsidt1     2011/05/17 12:26:18     /data/oracle/product/11.2.0/grid/cdata/inpsidt1/backup_20110517_122618.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
Updating inventory properties for clusterware
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 7591 MB    Passed
The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /home/oracle/oraInventory
'UpdateNodeList' was successful.





Automatic Storage Management Configuration Assistant ASMCA is a new tool in Oracle 11g for performing ASM administration.

Previously we used to do the same via DBCA in Oracle 10g.

From the installation log files we can see that ASM is being upgraded by the ASMCA which has been invoked by the OUI.


INFO: Starting 'Automatic Storage Management Configuration Assistant'
INFO: Starting 'Automatic Storage Management Configuration Assistant'
INFO: Executing ASMCA
INFO: Command /data/oracle/product/11.2.0/grid/bin/asmca -silent -oui_internal -upgradeASM
INFO: ... GenericInternalPlugIn.handleProcess() entered.
INFO: ... GenericInternalPlugIn: getting configAssistantParmas.
INFO: ... GenericInternalPlugIn: checking secretArguments.
INFO: ... GenericInternalPlugIn: starting read loop.
INFO: Read: ASMSNMP_PASSWORD_PROMPT
INFO: Processing: ASMSNMP_PASSWORD_PROMPT for argument tag –asmMonitorPassword
INFO: End of argument passing to stdin
INFO: Read:
INFO: Read: ASM upgraded and started successfully.
INFO: Read:
INFO: Completed Plugin named: Automatic Storage Management Configuration Assistant




We can see that the oratab file has also been updated and the ORACLE_HOME for the ASM instance is now showing the 11g Oracle Home
.
root@inpsidt1# cat /etc/oratab |grep ASM

+ASM:/data/oracle/product/11.2.0/grid:N


Let us now add a new disk to the previously existing disk group DATA which was created in 10g ASM.

We launch ASMCA via asmca from Grid Infrastructure software home









Note there are two types of compatibility for the diskgroup. One is the ASM compatibility and the other is Database compatibility.
  • ASM Compatibility: The minimum version of the ASM software that can access the disk group. In 11g, the default setting is 10.1.
  • Database Compatibility:            The minimum COMPATIBLE database initialization parameter setting for any database instance that uses the disk group. In 11g, the default setting is 10.1.


Note – before performing the ASM upgrade, shut down any Oracle databases on the same machine or they will be abnormally shutdown when communication to the ASM instance is lost as the existing 10g ASM instance is shutdown as part of the ASM upgrade process.

We can see lines like this in the database alert log:


Errors in file /data/oracle/product/10.2.0.4.5/admin/test11g/bdump/test11g_asmb_15099.trc:
ORA-15064: communication failure with ASM instance
ORA-03113: end-of-file on communication channel
Tue May 17 12:25:08 2011
ASMB: terminating instance due to error 15064

Tuesday, 13 January 2015

TWO DIFFR EBS USER AT SAME TIME

Whenever we login with two different EBS users at the same time in the same machine,for the second user everything is working fine,but for the first user if we select any responsibility it showing the error message :

Two Method 

1.running on two different explorer.


2. Below the steps.







Errors and resolution in OAF

You have insufficient privileges for the current operation. Please contact your System Administrator.


You cannot run a page which is not SelfSecured when the MAC fails.



Solution:
=========


Set the profiles of the below three to 'None'


FND Validation Level
FND Function Validation Level
Framework Validation Level



=======
Error:
=======

when I am running, the fwktutorial.jsp, i am getting the links for hello world, etc. However when i click on the links, i am getting the follwoing error;

error:

Unexpected URL parameters have been detected and will be ignored. 



Solution:
=========

Go to Tools-->Embedded OC4J Preferences-->Global-->Startup-->Select Default Local IP Address.

MULLTI-NODE CLONING R12


Means Application and Batch processing in different -different Node.  and database on different node.

NOTE: Independent apps ,concurrent server both start and stop independently server.

On VM limited resource on your PC then follow cloning.
Multi node clonning Shared APPLICATION.

Multi Machine-
DB
hostname oracle.com
ip: 192.168.0.20
hostfile entry: 192.168.0.20     oracle.com    oracle
VM NAME: R12

APPS
hostname linux.com
ip: 192.168.0.21
hostfile entry: 192.168.0.21     linux.com    linux
VM NAME: AppsNode


1. After that you have plan the cloning multi node middle tier i.e
CM and OPMN service  is same on DB  node
APPS is another node i.e AppsNode
It's multi node system.

2. DB and APPS on running state on
    run adpreclone.sh on application tier.

3. after completeing stop application and db
./adstpall.sh apps/apps      - APPS
./addlnctl.sh stop PROD   - DB Listener
./addbctl.sh stop    - DB


After That both Node host file entry is
hostfile entry: 192.168.0.20     oracle.com    oracle
hostfile entry: 192.168.0.21     linux.com    oracle

communicate both machine ping with host name like :
ping oracle
ping linux

7. Start both machine
Check NFS mount point accessible

8. Start db on VM Node R12

9.  perl  adcfgclone.pl  appsTier on Node R12

--------------------------------------------------------------------------------------------------------------------------
Purpose:-running batch processing and opmn service on db side user available and both apps and inst exist else scp source to target node in my case AppsNode To R12.

-bash-3.2$ perl adcfgclone.pl appsTier

                     Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA

                        Oracle Applications Rapid Clone

                                 Version 12.0.0

                      adcfgclone Version 120.20.12000000.11

Enter the APPS password :

Running:
/u01/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/PROD/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_7098.lst -stage /u01/oracle/PROD/apps/apps_st/comn/clone  2> /tmp/adcfgclone_7098.err; echo $? > /tmp/adcfgclone_7098.res

Log file located at /u01/oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_11041534.log

Provide the values required for creation of the new APPL_TOP Context file.

Target System Hostname (virtual or normal) [oracle] :

Target System Database SID : PROD

Target System Database Server Node [oracle] :

Target System Base Directory : /u01/oracle/PROD

Target System Forms ORACLE_HOME Directory [/u01/oracle/PROD/apps/tech_st/10.1.2] :

Target System Web ORACLE_HOME Directory [/u01/oracle/PROD/apps/tech_st/10.1.3] :

Target System APPL_TOP Mountpoint [/u01/oracle/PROD/apps/apps_st/appl] :

Target System COMMON_TOP Directory [/u01/oracle/PROD/apps/apps_st/comn] :

Target System Instance Home Directory [/u01/oracle/PROD/inst] :

Target System Root Service [enabled] :

Target System Web Entry Point Services [enabled] : disabled

Target System Web Application Services [enabled] : disabled

Target System Batch Processing Services [enabled] :

Target System Other Services [disabled] :

Do you want to preserve the Display [linux:0.0] (y/n) ? : n

Target System Display [oracle:0.0] :

Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n

Target System Port Pool [0-99] : 0

Checking the port pool 0
done: Port Pool 0 is free
Report file located at /u01/oracle/PROD/inst/apps/PROD_oracle/admin/out/portpool.lst
Complete port information available at /u01/oracle/PROD/inst/apps/PROD_oracle/admin/out/portpool.lst

UTL_FILE_DIR on database tier consists of the following directories.

1. /usr/tmp
2. /usr/tmp
3. /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/outbound/PROD_oracle
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] :

Creating the new APPL_TOP Context file from :
  /u01/oracle/PROD/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /u01/oracle/PROD/inst/apps/PROD_oracle/appl/admin/PROD_oracle.xml

Log file located at /u01/oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_11041534.log
Check Clone Context logfile /u01/oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_11041534.log for details.

Running Rapid Clone with command:
perl /u01/oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/u01/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/u01/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/PROD/inst/apps/PROD_oracle/appl/admin/PROD_oracle.xml showProgress contextValidated=true
Running:
perl /u01/oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/u01/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/u01/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/PROD/inst/apps/PROD_oracle/appl/admin/PROD_oracle.xml showProgress contextValidated=true
APPS Password :

Beginning application tier Apply - Tue Nov  4 15:40:44 2014

/u01/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true  -Doracle.installer.oui_loc=/oui -classpath /u01/oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/ojmisc.jar  oracle.apps.ad.clone.ApplyAppsTier -e /u01/oracle/PROD/inst/apps/PROD_oracle/appl/admin/PROD_oracle.xml -stage /u01/oracle/PROD/apps/apps_st/comn/clone    -showProgress
APPS Password : Log file located at /u01/oracle/PROD/inst/apps/PROD_oracle/admin/log/ApplyAppsTier_11041540.log
  \     73% completed

Completed Apply...
Tue Nov  4 15:53:17 2014

Starting application Services for PROD:
Running:
/u01/oracle/PROD/inst/apps/PROD_oracle/admin/scripts/adstrtal.sh -nopromptmsg

You are running adstrtal.sh version 120.13.12000000.3

Executing service control script:
/u01/oracle/PROD/inst/apps/PROD_oracle/admin/scripts/adopmnctl.sh start
script returned:
****************************************************

You are running adopmnctl.sh version 120.4.12000000.3

Starting Oracle Process Manager (OPMN) ...

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_oracle/logs/appl/admin/log/adopmnctl.txt for more information ...


.end std out.

.end err out.

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


Executing service control script:
/u01/oracle/PROD/inst/apps/PROD_oracle/admin/scripts/adalnctl.sh start
script returned:
****************************************************

adalnctl.sh version 120.3

Checking for FNDFS executable.
Starting listener process APPS_PROD.

adalnctl.sh: exiting with status 0


adalnctl.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_oracle/logs/appl/admin/log/adalnctl.txt for more information ...


.end std out.

.end err out.

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


Executing service control script:
/u01/oracle/PROD/inst/apps/PROD_oracle/admin/scripts/adcmctl.sh start
script returned:
****************************************************

You are running adcmctl.sh version 120.14

Starting concurrent manager for PROD ...
Starting PROD_1104@PROD Internal Concurrent Manager
Default printer is noprint

adcmctl.sh: exiting with status 0


adcmctl.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_oracle/logs/appl/admin/log/adcmctl.txt for more information ...


.end std out.

.end err out.

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


Executing service control script:
/u01/oracle/PROD/inst/apps/PROD_oracle/admin/scripts/jtffmctl.sh start
script returned:
****************************************************

You are running jtffmctl.sh version 120.3

Validating Fulfillment patch level via /u01/oracle/PROD/apps/apps_st/comn/java/classes
Fulfillment patch level validated.
Starting Fulfillment Server for PROD on port 9300 ...

jtffmctl.sh: exiting with status 0


.end std out.

.end err out.

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


All enabled services for this node are started.

adstrtal.sh: Exiting with status 0

adstrtal.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_oracle/logs/appl/admin/log/adstrtal.log for more information ...



--------------------------------------------------------------------------------------------------------------------------


10. perl adcfgclone.pl appsTier on AppsNode

-bash-3.2$ perl adcfgclone.pl appsTier

                     Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA

                        Oracle Applications Rapid Clone

                                 Version 12.0.0

                      adcfgclone Version 120.20.12000000.11

Enter the APPS password :

Running:
/u01/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/PROD/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_7249.lst -stage /u01/oracle/PROD/apps/apps_st/comn/clone  2> /tmp/adcfgclone_7249.err; echo $? > /tmp/adcfgclone_7249.res

Log file located at /u01/oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_11041604.log

Provide the values required for creation of the new APPL_TOP Context file.

Target System Hostname (virtual or normal) [linux] :

Target System Database SID : PROD

Target System Database Server Node [linux] : oracle

Target System Base Directory : /u01/oracle/PROD

Target System Forms ORACLE_HOME Directory [/u01/oracle/PROD/apps/tech_st/10.1.2] :

Target System Web ORACLE_HOME Directory [/u01/oracle/PROD/apps/tech_st/10.1.3] :

Target System APPL_TOP Mountpoint [/u01/oracle/PROD/apps/apps_st/appl] :

Target System COMMON_TOP Directory [/u01/oracle/PROD/apps/apps_st/comn] :

Target System Instance Home Directory [/u01/oracle/PROD/inst] :

Target System Root Service [enabled] : disabled

Target System Web Entry Point Services [enabled] :

Target System Web Application Services [enabled] :

Target System Batch Processing Services [enabled] : disabled

Target System Other Services [disabled] : enabled

Do you want to preserve the Display [linux:0.0] (y/n) ? : n

Target System Display [linux:0.0] :

Target System Port Pool [0-99] : 0

Checking the port pool 0
done: Port Pool 0 is free
Report file located at /u01/oracle/PROD/inst/apps/PROD_linux/admin/out/portpool.lst
Complete port information available at /u01/oracle/PROD/inst/apps/PROD_linux/admin/out/portpool.lst

UTL_FILE_DIR on database tier consists of the following directories.

1. /usr/tmp
2. /usr/tmp
3. /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/outbound/PROD_oracle
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] :

Creating the new APPL_TOP Context file from :
  /u01/oracle/PROD/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /u01/oracle/PROD/inst/apps/PROD_linux/appl/admin/PROD_linux.xml

Log file located at /u01/oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_11041604.log
Check Clone Context logfile /u01/oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_11041604.log for details.

Running Rapid Clone with command:
perl /u01/oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/u01/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/u01/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/PROD/inst/apps/PROD_linux/appl/admin/PROD_linux.xml showProgress contextValidated=true
Running:
perl /u01/oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/u01/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/u01/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/PROD/inst/apps/PROD_linux/appl/admin/PROD_linux.xml showProgress contextValidated=true
APPS Password :

Beginning application tier Apply - Tue Nov  4 16:09:31 2014

/u01/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true  -Doracle.installer.oui_loc=/oui -classpath /u01/oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/u01/oracle/PROD/apps/apps_st/comn/clone/jlib/ojmisc.jar  oracle.apps.ad.clone.ApplyAppsTier -e /u01/oracle/PROD/inst/apps/PROD_linux/appl/admin/PROD_linux.xml -stage /u01/oracle/PROD/apps/apps_st/comn/clone    -showProgress
APPS Password : Log file located at /u01/oracle/PROD/inst/apps/PROD_linux/admin/log/ApplyAppsTier_11041609.log
  -     89% completed

Completed Apply...
Tue Nov  4 16:28:01 2014

Starting application Services for PROD:
Running:
/u01/oracle/PROD/inst/apps/PROD_linux/admin/scripts/adstrtal.sh -nopromptmsg

You are running adstrtal.sh version 120.13.12000000.3

Executing service control script:
/u01/oracle/PROD/inst/apps/PROD_linux/admin/scripts/adapcctl.sh start
script returned:
****************************************************

You are running adapcctl.sh version 120.6.12000000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_linux/logs/appl/admin/log/adapcctl.txt for more information ...


.end std out.

.end err out.

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


Executing service control script:
/u01/oracle/PROD/inst/apps/PROD_linux/admin/scripts/adoacorectl.sh start
script returned:
****************************************************

You are running adoacorectl.sh version 120.11.12000000.2

Starting OPMN managed OACORE OC4J instance  ...

adoacorectl.sh: exiting with status 0

adoacorectl.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_linux/logs/appl/admin/log/adoacorectl.txt for more information ...


.end std out.

.end err out.

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


Executing service control script:
/u01/oracle/PROD/inst/apps/PROD_linux/admin/scripts/adformsctl.sh start
script returned:
****************************************************

You are running adformsctl.sh  version 120.12.12000000.3

Starting OPMN managed FORMS OC4J instance  ...

adformsctl.sh: exiting with status 0

adformsctl.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_linux/logs/appl/admin/log/adformsctl.txt for more information ...


.end std out.

.end err out.

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


Executing service control script:
/u01/oracle/PROD/inst/apps/PROD_linux/admin/scripts/adoafmctl.sh start
script returned:
****************************************************

You are running adoafmctl.sh version 120.6.12000000.2

Starting OPMN managed OAFM OC4J instance  ...

adoafmctl.sh: exiting with status 0

adoafmctl.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_linux/logs/appl/admin/log/adoafmctl.txt for more information ...


.end std out.

.end err out.

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


All enabled services for this node are started.

adstrtal.sh: Exiting with status 0

adstrtal.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_linux/logs/appl/admin/log/adstrtal.log for more information ...


.
.
.
All services running and working fine now Enjoy..?