Sunday 7 April 2013

How to Regenerate Message files in Apps R12 using adadmin


[apdba@oracledb1 ~]$
[apdba@oracledb1 ~]$ cd $GL_TOP
[apdba@oracledb1 12.0.0]$ ls
admin  forms  html  lib  mds    mesg  patch    sql
bin    help   java  log  media  out   reports
[apdba@oracledb1 12.0.0]$ cd me
-bash: cd: me: No such file or directory
[apdba@oracledb1 12.0.0]$ cd me
media/ mesg/
[apdba@oracledb1 12.0.0]$ cd mesg/
[apdba@oracledb1 mesg]$ ls
US.msb
[apdba@oracledb1 mesg]$
[apdba@oracledb1 mesg]$
[apdba@oracledb1 mesg]$
[apdba@oracledb1 mesg]$ mv US.msb US.msb.bkp1
[apdba@oracledb1 mesg]$
[apdba@oracledb1 mesg]$
[apdba@oracledb1 mesg]$ ls
US.msb.bkp1
[apdba@oracledb1 mesg]$
[apdba@oracledb1 mesg]$ adadmin

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

                     Oracle Applications AD Administration

                                 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/apdba/apps/apps_st/appl'.
Is this the correct APPL_TOP [Yes] ?

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

Filename [adadmin.log] :

************* Start of AD Administration session *************
AD Administration version: 12.0.0
AD Administration started at: Mon Apr 08 2013 08:26:57

APPL_TOP is set to /u01/apdba/apps/apps_st/appl

You can be notified by email if a failure occurs.
Do you wish to activate this feature [No] ?

Please enter the batchsize [1000] :


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 [PROD] : PROD *


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 files used for installing or upgrading the database
installed in this APPL_TOP [YES] ? YES *


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


Do you currently have Oracle Applications forms files installed
in this APPL_TOP [YES] ? YES *


Do you currently have concurrent program files installed
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 [oracledb1] : oracledb1 *



You are about to use or modify Oracle Applications product tables
in your ORACLE database 'PROD'
using ORACLE executables in '/u01/apdba/apps/tech_st/10.1.2'.

Is this the correct database [Yes] ?

AD Administration 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 Administration is verifying your username/password.
The status of various features in this run of AD Administration 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



Identifier for the current session is 19770

Reading product information from file...

Reading language and territory information from file...

Reading language information from applUS.txt ...

AD Administration warning:
 Product Data File
 /u01/apdba/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 Administration warning:
 Product Data File
 /u01/apdba/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 Administration warning:
 Product Data File
 /u01/apdba/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.

AD code level : [B.1]

            AD Administration Main Menu
   --------------------------------------------------

   1.    Generate Applications Files menu

   2.    Maintain Applications Files menu

   3.    Compile/Reload Applications Database Entities menu

   4.    Maintain Applications Database Entities menu

   5.    Change Maintenance Mode

   6.    Exit AD Administration



Enter your choice [6] : 1

         Generate Applications Files
   ----------------------------------------

   1.    Generate message files

   2.    Generate form files

   3.    Generate report files

   4.    Generate product JAR files

   5.    Return to Main Menu

Enter your choice [5] : 1


AD utilities can support a maximum of 999 workers. Your
current database configuration supports a maximum of 73 workers.
Oracle recommends that you use between 4 and 8 workers.


Enter the number of workers [4] :

Your current character set is "UTF8".

Do you want to generate Oracle Message files
using this character set [Yes] ?


Enter list of products ('all' for all products) [all] : GL


The current set of installed languages is: US

Please select languages for generating Oracle Message files.
You may select all of the above languages, or just a subset.

Enter list of languages ('all' for all of the above) [all] : US


You selected the following languages: US

Is this the correct set of languages [Yes] ?


Setting up environment...

Generating message files...



Creating the AD_UTIL_PARAMS table...
Table AD_UTIL_PARAMS already exists, so dropping the table and recreating it.

Creating FND_INSTALL_PROCESSES table...

Writing dependencies of jobs to run to appldep.txt file...

There are now 1 jobs remaining (current phase=admin):
    0 running, 1 ready to run and 0 waiting.

Reading completed jobs from restart file (if any).

There are now 1 jobs remaining (current phase=admin):
    0 running, 1 ready to run and 0 waiting.


Determining which java executables are supported by adJavaWorker...

Starting worker processes.

Worker process 1 started.

Worker process 2 started.

Worker process 3 started.

Worker process 4 started.

Checking if all jobs have their actual and symbolic arguments in sync....

Done.

Writing jobs to run to restart file.

Reading jobs from FND_INSTALL_PROCESSES table ...


Done reading jobs from FND_INSTALL_PROCESSES table ...

Telling workers to read 'todo' restart file.
************* Start of AD Worker session *************
AD Worker version: 12.0.0
AD Worker started at: Mon Apr 08 2013 08:28:29

APPL_TOP is set to /u01/apdba/apps/apps_st/appl

************* Start of AD Worker session *************
AD Worker version: 12.0.0
AD Worker started at: Mon Apr 08 2013 08:28:29

APPL_TOP is set to /u01/apdba/apps/apps_st/appl

************* Start of AD Worker session *************
AD Worker version: 12.0.0
AD Worker started at: Mon Apr 08 2013 08:28:29

APPL_TOP is set to /u01/apdba/apps/apps_st/appl

************* Start of AD Worker session *************
AD Worker version: 12.0.0
AD Worker started at: Mon Apr 08 2013 08:28:29

APPL_TOP is set to /u01/apdba/apps/apps_st/appl

Done.

Starting phase 1000 (admin): Administration


There are now 1 jobs remaining (current phase=admin):
    0 running, 1 ready to run and 0 waiting.

 Assigned: file US.msb       on worker  1 for product gl  username GL.
Completed: file US.msb       on worker  1 for product gl  username GL.

Telling workers to quit...


All workers have quit.


Dropping FND_INSTALL_PROCESSES table...


FND_INSTALL_PROCESSES table dropped.


Dropping AD_DEFERRED_JOBS table...


AD_DEFERRED_JOBS table dropped.

Review the messages above, then press [Return] to continue.

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

         Generate Applications Files
   ----------------------------------------

   1.    Generate message files

   2.    Generate form files

   3.    Generate report files

   4.    Generate product JAR files

   5.    Return to Main Menu

Enter your choice [5] :

            AD Administration Main Menu
   --------------------------------------------------

   1.    Generate Applications Files menu

   2.    Maintain Applications Files menu

   3.    Compile/Reload Applications Database Entities menu

   4.    Maintain Applications Database Entities menu

   5.    Change Maintenance Mode

   6.    Exit AD Administration



Enter your choice [6] :



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

sqlplus -s APPS/***** @/u01/apdba/apps/apps_st/appl/ad/12.0.0/sql/adtimrpt.sql 19770 adt19770

A job timing report has been generated for the current session.
You should check the file
    /u01/apdba/apps/apps_st/appl/admin/PROD/out/adt19770.lst

for details.


Purging timing information for prior sessions.

sqlplus -s APPS/***** @/u01/apdba/apps/apps_st/appl/ad/12.0.0/sql/adtpurge.sql 10 1000

Done purging timing information for prior sessions.

AD Administration is complete.

Errors and warnings are listed in the log file
/u01/apdba/apps/apps_st/appl/admin/PROD/log/adadmin.log

and in other log files in the same directory.

[apdba@oracledb1 mesg]$ ls
US.msb  US.msb.bkp1
[apdba@oracledb1 mesg]$

No comments: