28
Copyright © 2007, Oracle. All rights reserved. Generate Applications Files Tasks

R12 d49656 gc10-apps dba 10

Embed Size (px)

DESCRIPTION

Oracle Applications, Oracle Database, D49656, Oracle Applications DBA

Citation preview

Page 1: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.

Generate Applications Files Tasks

Page 2: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 2

Objectives

At the end of this module, you should be able

to do the following:

• Describe AD Administration

• View log files

• List file generation tasks you can perform with AD Administration

• Generate message, form, report and product jar files

Page 3: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 3

Module Overview

This module consists of the following topics:

• Describe AD Administration

• Perform preliminary steps

• Respond to prompts

• Describe the Generate Applications Files menu tasks

Page 4: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 4

AD Administration

AD Administration is divided into the following categories:

• File generation tasks

• File system maintenance tasks

• Database maintenance tasks

• Database entities compilation and reloading tasks

These tasks are performed by:

• Database administrators

• System administrators

• Technical specialists

Page 5: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 5

Preliminary Tasks

AD Administration preliminary tasks include:

• Logging on as applmgr

• Running the environment file

• Verifying that $ORACLE_HOME is set properly

• Verifying that $TWO_TASK identifies the correct database

• Ensuring that $ORACLE_HOME/bin and $AD_TOP/bin are in your PATH

• Shutting down concurrent managers when relinking certain files or performing certain database tasks

• Ensuring there is sufficient temporary disk space

Page 6: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 6

AD Administration Prompts

AD Administration asks you for:

• The correct APPL_TOP

• The name of the log file

• Your preference on whether to notify you by email if an error occurs during parallel worker execution

• The batchsize or default number of rows to process and commit during certain SQL operations

• The correct Oracle Applications database

• The password for the SYSTEM schema

• The password for the APPLSYS schema

Page 7: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 7

AD Administration Log Files

$APPL_TOP

admin

<SID>

log

adadmin.log

Page 8: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 8

AD Administration Log Files

• If an error occurs or if you are unsure of messages returned by AD Administration, review the main AD Administration log file adadmin.log

• This log file is located in the $APPL_TOP/admin/<SID>/log directory

• If errors exist in the main log file, check the appropriate log file listed in the next slide to determine the cause of the error

Page 9: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 9

AD Administration Log Files

In addition to the main AD Administration log file, other log files include:

• adrelink.log - stores information on relinking tasks

• adworkXXX.log - these are the worker log files where XXX is the number of the worker (for example, 007)

– For database and generation tasks run in parallel, check these log files for details

Page 10: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 10

AD Administration Main Menu

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

Page 11: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 11

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

Generate Applications Files Menu

Page 12: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 12

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

Generate Message Files

Page 13: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 13

Generate Message Files

• This task generates message binary files (extension .msb) from Oracle Application Object Library tables

• Oracle Applications uses the message binary files to display messages

Page 14: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 14

Generate Message FilesDo you want to generate Oracle Message files

using this character set [Yes] ?

Enter list of products ('all' for all products) [all] : QA CS CE

...

Setting up environment...

Generating message files...

Creating the AD_UTIL_PARAMS table...

...

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

..

Starting worker processes.

Worker process 1 started.

..

AD Worker version: 12.0.0

AD Worker started at: Wed Jul 11 2007 03:28:05 ..

Page 15: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 15

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

Generate Form Files

Page 16: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 16

Generate Form Files

• This task generates binary Oracle Forms files (extension .fmx) for all installed languages from the form definition files (extension .fmb)

• Oracle Applications uses the binary form files to display data entry forms

• Perform this task whenever you have issues with a form or set of forms

Page 17: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 17

Generate Form Files

When generating forms, AD Administration:

• Prompts for the number of parallel workers

• Displays the current character set (from NLS_LANG)

• Asks whether you want to generate Oracle Forms objects in this character set

• Asks whether you want to regenerate Oracle Forms PL/SQL library files

• Asks whether you want to regenerate Oracle Formsmenu files

Page 18: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 18

Generate Form Files

AD Administration also:

• Asks whether you want to regenerate Oracle Forms executable files

• Asks for which products to generate Oracle Forms objects

• Asks whether you want to generate specific forms objects for each selected product

Page 19: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 19

Generate Form Files

• If you did not choose to generate all forms objects, it displays a list of Oracle Forms objects and allows you to select specific objects

• It then generates all selected Oracle Forms objects for all selected products in parallel

Page 20: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 20

Generate Form Files

Your current character set is ‘WE8ISO8859P1’.. . .Do you want to regenerate Oracle Forms executable files [Yes] ?

Enter list of products (‘all’ for all products) [all]:

Generate specific form objects for each selected product [No] ?

reading product form information...Selecting Oracle Forms PL/SQL library files and menu files to generate...

Selecting library and menu files for Applications Object Library...

Page 21: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 21

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

Generate Report Files

Page 22: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 22

Generate Report Files

This task generates the binary Oracle Reports report files (extension .rdf) for all installed languages. It performs the following actions:

• Displays the current character set (from NLS_LANG)

• Asks whether you want to generate Oracle Reports objects using the current character set

• Asks whether you want to regenerate Oracle Reports PL/SQL library files

• Asks whether you want to regenerate Oracle Reports executable files

• Asks for which products you want to generate Oracle Reports objects

Page 23: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 23

Generate Report Files

This task performs the following actions:

• It asks whether you want to generate specific Oracle Reports objects for each selected product

• If you did not choose to generate all Oracle Reports objects, it displays the list of Oracle Reports objects and allows you to select specific objects

• Generates all selected Oracle Reports objects for all selected products

Page 24: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 24

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

Generate Product JAR Files

Page 25: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 25

Generate Product JAR Files

This task:

• Generates product JAR files under $JAVA_TOP and copies them to $APPL_TOP

• Copies Oracle Forms registry file (Registry.dat) from $ORACLE_HOME/forms/java to $JAVA_TOP/oracle/forms/registry

• Signs JAR files, if on the Web server

• Recreates appsborg.zip and appsborg2.zip under $APPL_TOP and $JAVA_TOP

Page 26: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 26

Module Summary

In this module, you should have learned how

to do the following:

• Describe AD Administration

• View log files

• Generate message, form, report, and product jar files

Page 27: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 27

Module Discussion

• Describe the features of AD Administration

• Describe the flexibility of the generate files options

Page 28: R12 d49656 gc10-apps dba 10

Copyright © 2007, Oracle. All rights reserved.1 - 28

Module Practice

• Starting AD Administration

• Generating forms files