R12 d49656 gc10-apps dba 13

17
Copyright © 2007, Oracle. All rights reserved. AD Administration: Compile/Reload Database Entities Tasks AD Utilities Topics

description

Oracle Applications, Oracle Database, D49656, Oracle Applications DBA

Transcript of R12 d49656 gc10-apps dba 13

Page 1: R12 d49656 gc10-apps dba 13

Copyright © 2007, Oracle. All rights reserved.

AD Administration: Compile/Reload Database Entities Tasks

AD Utilities Topics

Page 2: R12 d49656 gc10-apps dba 13

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

Objectives

At the end of this module, you should be able to do the following:

• List the compile/reload database entities tasks you can perform with AD Administration

• Compile APPS schemas

• Compile menu information

• Compile flexfield data

• Reload JAR files to the database

Page 3: R12 d49656 gc10-apps dba 13

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

Module Overview

This module includes the following topics:

• Compiling APPS schemas

• Compiling menu information

• Compiling flexfield data

• Reloading JAR files to the database

Page 4: R12 d49656 gc10-apps dba 13

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

Compile/Reload Database Entities

Compile/Reload Applications Database Entities

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

1. Compile APPS schema

2. Compile menu information

3. Compile flexfield data

4. Reload JAR files to database

5. Return to Main Menu

Page 5: R12 d49656 gc10-apps dba 13

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

Compile APPS Schema

Compile/Reload Applications Database

Entities

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

1. Compile APPS schema

2. Compile menu information

3. Compile flexfield data

4. Reload JAR files to database

5. Return to Main Menu

Page 6: R12 d49656 gc10-apps dba 13

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

Compile APPS Schema

• For one reason or another you may have invalid objects within your APPS schema

• When this occurs, running the Compile APPS schema task spawns parallel workers to compile invalid database objects in the APPS schema

• The output from the Validate APPS schema task mentioned earlier will provide you with a list of invalid objects

• You may perform this task with multiple workers

Page 7: R12 d49656 gc10-apps dba 13

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

Compile APPS Schema

This task is most effective if run:

• When custom packages are moved to the APPS schema and need to be compiled

• During the upgrade process

Page 8: R12 d49656 gc10-apps dba 13

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

Compile Menu Information

Compile/Reload Applications Database Entities

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

1. Compile APPS schema

2. Compile menu information

3. Compile flexfield data

4. Reload JAR files to database

5. Return to Main Menu

Page 9: R12 d49656 gc10-apps dba 13

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

Compile Menu Information

• This option compiles menu data structures

• Choose this task after uploading menu entries or if Compile Security concurrent requests submitted from the Menus form (after changing menu entries) fail

• AD Administration asks if you want to force compilation of all menus

– If you choose the default (No), only menus with changes are compiled

– If you enter Yes, all menus are compiled (generally not needed)

Page 10: R12 d49656 gc10-apps dba 13

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

Compile Flexfield Data in AOL Tables

Compile/Reload Applications Database Entities

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

1. Compile APPS schema

2. Compile menu information

3. Compile flexfield data

4. Reload JAR files to database

5. Return to Main Menu

Page 11: R12 d49656 gc10-apps dba 13

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

Compile Flexfield Data in AOL Tables

This task:

• Compiles flexfield data structures in Applications Object Library (AOL) tables

• Is not required as flexfields automatically compile the first time they are accessed

• Can be run to avoid the one-time minimal performance impact or to validate that flexfield data have no referential integrity issues

Page 12: R12 d49656 gc10-apps dba 13

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

Compile Flexfield Data in AOL Tables

Enter your choice [5] : 3

Deleting existing compiled flexfield information.

Compiling all application flexfields.

/u01/app/ebiz/gsiax/apps/apps_st/appl/fnd/12.0.0/

bin/fdfcmp APPS/***** 0 Y

Done.

Review the messages above, then press [Return] to

continue.

Page 13: R12 d49656 gc10-apps dba 13

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

Reload JAR Files to Database

Compile/Reload Applications Database Entities

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

1. Compile APPS schema

2. Compile menu information

3. Compile flexfields

4. Reload JAR files to database

5. Return to Main Menu

Page 14: R12 d49656 gc10-apps dba 13

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

Reload JAR Files to Database

• This option runs the loadjava utility to reload all appropriate Oracle Applications JAR files into the database

• Use this option if all Oracle Applications Java classes have been removed from your database

– This can happen if your database becomes corrupt and the database Java Virtual Machine is reloaded

Page 15: R12 d49656 gc10-apps dba 13

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

Module Summary

In this module, you should have learned how to do the following:

• List the compile/reload database entities tasks you can perform with AD Administration

• Compile APPS schemas

• Compile menu information

• Compile flexfield data

• Reload JAR files to the database

Page 16: R12 d49656 gc10-apps dba 13

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

Module Discussion

• Name two database compile/reload tasks you can perform with AD Administration and describe them.

• When is it necessary to compile flexfields?

Page 17: R12 d49656 gc10-apps dba 13

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

Module Practice

• Compiling APPS schema

• Compiling Flexfields