13 December 2017

Step by Step R12.2 Custom Top registration

Download Configuration files from brlow patch 3636980

copy three .txt files from the patch 3636980\izu\admin directory to your own temp location

Rename izuterr.txt to CUSTOM_TOPterr.txt
Rename izuprod.txt to CUSTOM_TOPprod.txt

vi 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=xbol
base_product_top=*APPL_TOP*
oracle_schema=xbol #-  Change Your Customtop Name
sizing_factor=100
main_tspace=XBOL   #-  Change your Tablespace name
index_tspace=XBOL   #-  Change your Index Tablespace name
temp_tspace=TEMP
default_tspace=XBOL   #-  Change your default Tablespace name

vi CUSTOM_TOPterr.txt to change izu to CUSTOM_TOP

Linux  : %s/izu/CUSTOM_TOP/g -  press enter

:%s/IZU/CUSTOM_TOP/g -  press enter then save and Quit

vi izuprod.txt change the izu to CUSTOM_TOP

Copy three text file from temp location to appl_top location

cp *.txt $APPL_TOP/admin

Then run adsplice to register custom top

$ adsplice

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

                                   AD Splicer

                                 Version 12.2.0

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

Your default directory is '/web03/TEST/fs1/EBSapps/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] :

************* Start of AD Splicer session *************
AD Splicer version: 12.2.0
AD Splicer started at: Mon Dec 11 2017 11:08:31

APPL_TOP is set to /web03/TEST/fs1/EBSapps/appl

Change DB = YES.


Backing up restart files, if any......Done.


Your previous AD Splicer session did not run to completion.
Do you wish to continue with your previous AD Splicer session [Yes] ? no

You chose to disregard your previous AD Splicer session
and to restart AD Splicer from the beginning.

Enter Yes to confirm that you wish to overwrite your previous
AD Splicer session and begin a new AD Splicer session.

Enter No to continue with your previous AD Splicer session. [No] : yes


Please enter the name of the Oracle E-Business Suite 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 [TEST] : TEST *


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 E-Business Suite 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 E-Business Suite will use to identify this APPL_TOP.

The APPL_TOP name you select must be unique within an Oracle E-Business Suite
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 [AT_epswdev] : AT_epswdev *



You are about to install or upgrade Oracle E-Business Suite product tables
in your ORACLE database 'TEST'
using ORACLE executables in '/web03/TEST/fs1/EBSapps/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 ...

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.
*** Edition Enabled User ***


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

The default directory is [/web03/TEST/fs1/EBSapps/appl/admin] :

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


Processing file /web03/TEST/fs1/EBSapps/appl/admin/newprods.txt...
  Loading information for product 'xbol'...

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

Successfully read file /web03/TEST/fs1/EBSapps/appl/admin/newprods.txt.


Verifying localizations...

Validating inter-product dependency information...

Re-organizing product information lists...


Adding new languages into FND_LANGUAGES...


Creating ORACLE usernames for products...

AD Splicer is creating or updating the ORACLE username XBOL
with password ***** for Oracle Support Diagnostic Tools tables.
        New product XBOL spliced. Use FNDCPASS to change the password.

Granting privileges for tablespaces...

Granting required system privileges and creating APPS*DDL packages...

sqlplus -s XBOL/***** @/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adsqlwrapper.sql '/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adaddls.pls ***** XBOL *****'

Done running adaddls.pls for XBOL

sqlplus -s XBOL/***** @/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adsqlwrapper.sql '/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adaaddls.pls ***** XBOL *****'

Done running adaaddls.pls for XBOL

sqlplus -s XBOL/***** @/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adsqlwrapper.sql '/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adaddlb.pls ***** XBOL *****'

Done running adaddlb.pls for XBOL

sqlplus -s XBOL/***** @/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adsqlwrapper.sql '/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adaaddlb.pls ***** XBOL *****'

Done running adaaddlb.pls for XBOL

Registering ORACLE usernames/passwords.

**
**Inserting application information for new products...
**


**** Running Seed Table Prepare for FND_APPLICATION ****

**** Running Seed Table Prepare for FND_APPLICATION_TL ****
INSERT INTO  FND_OAM_CONTEXT_CUSTOM (OA_VAR,CTX_TYPE,OA_TYPE,NAME,DEFAULT_VALUE,TITLE,DESCRIPTION) VALUES ('c_xbol','A','PROD_TOP','c_xbol','/web03/TEST/fs1/EBSapps/appl/xbol/12.0.0','custom prod top xbol','this is spliced custom prod top')  Temporarily resetting CLASSPATH to:
  "/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/java/adjava.zip:/web03/TEST/fs1/EBSapps/comn/util/jdk32/lib/dt.jar:/web03/TEST/fs1/EBSapps/comn/util/jdk32/lib/tools.jar:/web03/TEST/fs1/EBSapps/comn/util/jdk32/jre/lib/rt.jar:/web03/TEST/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/web03/TEST/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/web03/TEST/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/web03/TEST/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/web03/TEST/fs1/EBSapps/comn/java/classes:/web03/TEST/fs1/EBSapps/10.1.2/forms/java:/web03/TEST/fs1/EBSapps/10.1.2/forms/java/frmall.jar:/web03/TEST/fs1/EBSapps/10.1.2/jlib/ewt3.jar:/web03/TEST/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar"

  Calling /web03/TEST/fs1/EBSapps/comn/util/jdk32/jre/bin/java ...

Running fnd_application_pkg.add_language ...
**
**Updating product information for new products...
**


Populating INSTALL_GROUP_NUM column to FND_ORACLE_USERID table.

**
**Updating product dependency information...
**


Recording modules in the database...done.

**
**Updating Data Groups...
**


Reading existing data groups from database.

Registering any new data groups.


Registering any new data group units.


Updating Data Group "Standard" to point to
APPS #1 Account (ORACLE ID = 900)


Updating Patch Advisor tables to include new product information ..

sqlplus -s APPS/***** @/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adsqlwrapper.sql '/web03/TEST/fs1/EBSapps/appl/ad/12.0.0/sql/adpaseed.sql *****'

Done.

Saving module actions...done.

Saving product actions...done.

Making product top directory for product "xbol"...
Directory will be /web03/TEST/fs1/EBSapps/appl/xbol/12.0.0

  Making directory "log" for product "xbol"...
  Making directory "out" for product "xbol"...
  Making directory "mesg" for product "xbol"...
  Making directory "sql" for product "xbol"...
    Creating stub file "sql/XBOLNLINS.sql" for product "xbol"...
  Making directory "admin/sql" for product "xbol"...
    Creating stub file "admin/sql/XBOLNLADD.sql" for product "xbol"...
  Making directory "admin/driver" for product "xbol"...

 Recording ADSPLICE action for product: xbol


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

Checking if AutoConfig is enabled....

Running AutoConfig on : All products ...

The log file is located at:
/web03/TEST/fs1/EBSapps/appl/admin/TEST/log/autoconfig_1.log

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

If you added new products, use FNDCPASS to change their default passwords.

AD Splicer is complete.

Errors and warnings are listed in the log file
/web03/TEST/fs1/EBSapps/appl/admin/TEST/log/adsplice.log

and in other log files in the same directory.

$ echo $XBOL_TOP

$ . $HOME/.profile

  E-Business Suite Environment Information
  ----------------------------------------
  RUN File System           : /web03/TEST/fs1/EBSapps/appl
  PATCH File System         : /web03/TEST/fs2/EBSapps/appl
  Non-Editioned File System : /web03/TEST/fs_ne


  DB Host: epswdev.lth.gov.my  Service/SID: TEST


  Sourcing the RUN File System ...

$ echo $XBOL_TOP
/web03/TEST/fs1/EBSapps/appl/xbol/12.0.0
$ cd /web03/TEST/fs1/EBSapps/appl/xbol/12.0.0
$ ls
admin  log    mesg   out    sql

No comments: