Creating Schemas Repository Creation Utility
Creating Schemas Repository Creation Utility
Creating Schemas Repository Creation Utility
12c (12.2.1.4.0)
E95101-16
October 2023
Oracle Fusion Middleware Creating Schemas with the Repository Creation Utility, 12c (12.2.1.4.0)
E95101-16
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software, software documentation, data (as defined in the Federal Acquisition Regulation), or related
documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S.
Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software,
any programs embedded, installed, or activated on delivered hardware, and modifications of such programs)
and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end
users are "commercial computer software," "commercial computer software documentation," or "limited rights
data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation
of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated
software, any programs embedded, installed, or activated on delivered hardware, and modifications of such
programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and
limitations specified in the license contained in the applicable contract. The terms governing the U.S.
Government's use of Oracle cloud services are defined by the applicable contract for such services. No other
rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle®, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be
trademarks of their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc,
and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered
trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise
set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be
responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,
products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface
Intended Audience vii
Documentation Accessibility vii
Diversity and Inclusion vii
Related Documents viii
Conventions viii
iii
Configure RCU to Use Java Access Bridge 1-14
iv
A Repository Creation Utility Screens
Welcome A-2
Create Repository A-2
Create Repository A-2
Drop Repository A-3
Database Connection Details A-3
Connection Credentials for Oracle Databases and Oracle Databases with Edition-
Based Redefinition A-4
Connection Credentials for Microsoft SQL Server Databases A-7
Connection Credentials for IBM DB2 Databases A-8
Connection Credentials for an Autonomous Transaction Processing Database A-8
Select Components (for Create Operation) A-10
Select Components (for Drop Operation) A-11
Schema Passwords A-11
Custom Variables A-12
Custom Variables for Oracle Data Integrator A-13
Custom Variables for Oracle SOA Suite A-14
Custom Variable for Oracle WebCenter Portal Analytics A-14
Custom Variables for Oracle GoldenGate Studio A-14
Map Tablespaces A-15
Default Tablespace Mappings A-16
Changing Default and Temporary Tablespaces A-16
Viewing and Changing Additional Tablespaces A-16
Managing Tablespaces and Datafiles A-17
Adding, Modifying, and Removing Tablespaces A-17
Adding, Modifying, and Removing Datafiles A-17
Encrypting Tablespaces A-18
Summary (for Create Operation) A-19
Summary (for Drop Operation) A-20
Completion Summary (for Create Operation) A-21
Completion Summary (for Drop Operation) A-22
v
Pure JDBC Scripts C-2
SQL*Plus Scripts C-3
External Processes C-3
Java Code Using JavaAction C-4
RCU Configuration Files C-4
XML DTDs Defined by RCU C-5
Component Descriptor Configuration File C-5
Repository Configuration File C-7
Primary List of Supported Components C-7
Storage Attributes Configuration File C-9
Component Repository Configuration File C-11
Component List Configuration File C-17
Soft-Prerequisite Support C-29
Default Tablespaces Configuration File C-30
RCU Script Writing Guidelines C-30
Guidelines for RCU JDBC Engine Compliant SQL*Plus Scripts C-31
Guidelines for Pure JDBC Scripts C-32
Guidelines for SQL*Plus Scripts C-32
Guidelines for SQL Server-Based Scripts C-32
vi
Preface
The Creating Schemas with the Repository Creation Utility book contains overview
information and usage instructions for Oracle Repository Creation Utility (RCU).
• Intended Audience
• Documentation Accessibility
• Diversity and Inclusion
• Related Documents
• Conventions
Intended Audience
This guide is intended for users who are installing Oracle Fusion Middleware products and
are comfortable running some system administration operations, such as creating users and
groups, adding users to groups, and installing operating system patches on the computer
where Oracle Fusion Middleware products will be installed. Users on UNIX systems need
root access to run some scripts.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility
Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
vii
Preface
Related Documents
For additional information, see the following resources:
• Preparing for an Oracle Fusion Middleware Installation in Planning an Installation
of Oracle Fusion Middleware
This document contains important information about planning and preparing for
Oracle Fusion Middleware product installations.
• Installing the Infrastructure Software in Installing and Configuring the Oracle
Fusion Middleware Infrastructure
The Repository Creation Utility is included with the Oracle Fusion Middleware
Infrastructure distribution.
Conventions
The following text conventions are used in this document:
Convention Meaning
Boldface Boldface type indicates graphical user interface elements associated with an action, or
terms defined in text or the glossary.
Italic Italic type indicates book titles, emphasis, or placeholder variables for which you
supply particular values.
Monospace Monospace type indicates commands within a paragraph, URLs, code in examples,
text that appears on the screen, or text that you enter.
viii
1
About the Repository Creation Utility
Many of the Oracle Fusion Middleware components require the existence of schemas in a
database before configuration. These schemas are created and loaded in your database by
using the Repository Creation Utility (RCU).
The following topics introduce you to the concepts and features that you should be familiar
with before you use RCU:
• Verifying RCU System and Database Requirements
Use the certification and system requirements documents to find important information
about supported platforms for RCU, certified databases, and database configuration
information.
• Preparing for Schema Creation
Before you create your schemas, ensure that you understand the concepts regarding
schema creation and organization.
• Prerequisites for Schema Creation on an Autonomous Transaction Processing Database
Before you create schemas on an Autonomous Transaction Processing database (both
Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle Autonomous
Transaction Processing-Shared (ATP-S)), you must modify the wallet settings and set the
environment variables, and apply patches on ORACLE HOME.
• Using RCU with Java Access Bridge (Windows Only)
Java Access Bridge enables assistive technologies, such as JAWS screen reader, to
read Java applications that run on the Windows platform.
1-1
Chapter 1
Verifying RCU System and Database Requirements
1-2
Chapter 1
Preparing for Schema Creation
You can then set the password of the user (for example, dev_stb) by running the
following commands as root:
passwd -u dev_stb
passwd dev_stb
1-3
Chapter 1
Preparing for Schema Creation
Note:
If you need to generate the script for system load, you can only create
schemas on Oracle and Oracle EBR databases; the system load script is
not supported on any other database.
If you are performing the system load with full SYS or SYSDBA
privileges, then you can create the schemas on any certified database.
After the product load phase is complete, status is changed to VALID, if there is no
post -product load for that component.
• Optional Post-Product Load Phase
1-4
Chapter 1
Preparing for Schema Creation
This step is only needed for components that generate the script_postDataLoad.sql
script that requires DBA privileges during the system load phase. After the product load
phase is complete, someone with SYS or SYSDBA privileges should execute the
script_postDataLoad.sql script.
This step is required for the following components:
– Audit Services (IAU)
– Oracle Enterprise Scheduler (ESS)
Note:
The Repository Creation Utility fails to load schemas for SOAINFRA when you run
schemas on an Oracle hardened database. See SOAINFRA Schema Creation Fails
on a Hardened Database.
Note:
This user will be used for connecting to the system for queries, but the generated
scripts from the system load phase must be run by someone with DBA privileges.
Note:
You may encounter a Table or view does not exist error message when you execute
the last command; this can be ignored.
After you perform the system load, grant the following permission to the same user in order
for them to perform data load:
1-5
Chapter 1
Preparing for Schema Creation
Note:
For important information regarding custom prefixes in IBM DB2 databases,
see Additional Requirements for IBM DB2 Databases.
The prefix is prepended to and separated from the schema name with an underscore
(_) character, as shown below:
prefix_schemaname
Prefixes:
• Can only contain alpha-numeric characters; no spaces or other special characters.
• Must begin with a letter.
• Must not be longer than 12 characters.
Note:
The total length of the prefixed schema name (your custom prefix plus
the component schema name) must not be longer than 30 characters.
The default prefix used by RCU is DEV; if DEV has already been used, then RCU
defaults to DEV1, then DEV2, and so on. Prefixes are used to create and organize
logical groups of schemas. For example, you may want to create a test version of the
Metadata Services (schema name MDS) called TEST_MDS; then, when you are ready for
your production version, you can create a second version of the schema called
PROD_MDS. Both TEST_MDS and PROD_MDS may reside on the same or separate
databases.
You are only allowed to use a prefix once per schema within a single database. For
example, if you have a version of the Metadata Services schema called DEV_MDS, then
you cannot use the DEV prefix again to create another version of the Metadata
Services schema (for example, DEV_MDS2).
If you want to create another version of the schema using the same prefix, you must
first drop the existing schema and then create the schema again.
The mapping between the prefixes and schemas is maintained in
schema_version_registry.
1-6
Chapter 1
Preparing for Schema Creation
the fields on the screen, thus saving you the need to manually populate that data yourself.
Once created, service tables are used to wire Oracle Fusion Middleware components
together. For more information about wiring various components together, see Wiring
Components to Work Together in Administering Oracle Fusion Middleware.
1-7
Chapter 1
Preparing for Schema Creation
APPHOST
WebLogic Domain
Administration Server
Enterprise Manager
Cluster (infra_cluster_1)
Machine (infra_machine_1)
Infrastructure Infrastructure
DBHOST
DEV_MDS
DEV_IAU
DEV_IAU_APPEND
DEV_IAU_VIEWER
DEV_OPSS
DEV_STB
DEV_WLS_RUNTIME
Database with schemas
Machine (infra_machine_1)
Infrastructure Infrastructure
1-8
Chapter 1
Preparing for Schema Creation
You can use the same schema prefix (in this case, DEV) can be used to group these related
schemas together, even across multiple databases.
APPHOST
DBHOST
DEV1_MDS DEV2_MDS
DEV1_IAU DEV2_IAU
DEV1_IAU_APPEND DEV2_IAU_APPEND
DEV1_IAU_VIEWER DEV2_IAU_VIEWER
DEV1_OPSS DEV2_OPSS
DEV1_STB DEV2_STB
Database with schemas
In this example, the prefixes are grouped together by using DEV1 for one set of schemas
(used by WebLogic Domain 1), and DEV2 for the second set (used by WebLogic Domain 2).
It is not possible to share a single set of schemas across multiple domains; each domain
must have its own set of schemas.
1-9
Chapter 1
Prerequisites for Schema Creation on an Autonomous Transaction Processing Database
APPHOST
DBHOST 1 DBHOST 2
DEV_MDS DEV_MDS
DEV_IAU DEV_IAU
Database Database
DEV_IAU_APPEND DEV_IAU_APPEND
with with
DEV_IAU_VIEWER DEV_IAU_VIEWER
schemas schemas
DEV_OPSS DEV_OPSS
DEV_STB DEV_STB
In this scenario, it is possible to have separate domains on the same host that use
schemas with the same name and prefix (DEV), since the schemas are located on
different databases.
1-10
Chapter 1
Prerequisites for Schema Creation on an Autonomous Transaction Processing Database
Note:
For Oracle Internet Directory, to connect to an Autonomous database, see Settings
to connect to an Autonomous Transaction Processing Database for Oracle Internet
Directory.
Note:
/users/test/wallet_dbname/ directory is an example of wallet location. You
can download the wallet to the desired location.
You must ensure that the wallet contains keystore for JDBC connection.
2. In the wallet, modify the wallet location in the sqlnet.ora file as follows:
WALLET_LOCATION = (SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY="/users/test/
wallet_dbname/")))
Note:
If you downloaded the wallet to a different location, change the directory
location to your wallet location.
3. In the wallet, add the following command at the end of the ojdbc.properties file:
SSL_SERVER_DN_MATCH=yes
1-11
Chapter 1
Prerequisites for Schema Creation on an Autonomous Transaction Processing Database
Note:
In the command to export TNS_ADMIN, change /users/test/
wallet_dbname/ directory to your wallet location.
1-12
Chapter 1
Prerequisites for Schema Creation on an Autonomous Transaction Processing Database
1-13
Chapter 1
Using RCU with Java Access Bridge (Windows Only)
Note:
For Oracle Identity Management, ensure that you first apply the generic
patches, 31676526 and 30540494, followed by OPatch 28186730, and then
the OIM Bundle Patch. You must follow this sequence for OIM Bundle Patch
12.2.1.4.210428 and OIM Bundle Patch 12.2.1.4.220115.
For Oracle Internet Directory, ensure that you first apply the generic patches,
31676526 and 30540494, followed by OPatch 28186730, and then the OID
Bundle Patch.
1-14
Chapter 1
Using RCU with Java Access Bridge (Windows Only)
5. In the Variable Value field, enter the full path for theaccess-bridge.jar and
jaccess-1_4.jar.
Use a semicolon to separate the two paths. Do not use quotes or character spaces.
6. Click OK.
1-15
2
Obtaining and Running Repository Creation
Utility
Use these instructions to obtain and run the Repository Creation Utility (RCU) to create and
drop schemas.
• Obtaining RCU
In 12c, RCU is available with the Oracle Fusion Middleware Infrastructure distribution.
• Starting RCU
After you install Oracle Fusion Middleware Infrastructure and create your Oracle home,
you can start RCU from the ORACLE_HOME/oracle_common/bin directory.
• Creating Schemas
Follow these instructions to create schemas in the database and verify that they are
installed properly.
• Creating Schemas for WebLogic Server on an ATP-S Database
Follow these instructions to create schemas for WebLogic Server on an Oracle
Autonomous Transaction Processing-Shared (ATP-S) database, and verify that they are
installed properly.
• Dropping Schemas
Follow these instructions to drop schemas from the database.
Obtaining RCU
In 12c, RCU is available with the Oracle Fusion Middleware Infrastructure distribution.
For information about how to install and obtain RCU, see Installing the Infrastructure
Software in Installing and Configuring the Oracle Fusion Middleware Infrastructure.
2-1
Chapter 2
Starting RCU
Starting RCU
After you install Oracle Fusion Middleware Infrastructure and create your Oracle
home, you can start RCU from the ORACLE_HOME/oracle_common/bin directory.
Note:
• If you run the RCU by using a non-English database, you will need to set
the following language environment variables: LANG, LC_ALL, and
NLS_LANG. Use the environment commands that are appropriate for
your environment.
For example, for UNIX operating systems running csh run the following:
setenv LANG en_US.UTF8
setenv LC_ALL $LANG
setenv NLS_LANG american_america
Be sure to replace the JDK location in this example with the actual JDK
location on your system.
Note:
For Oracle Autonomous Transaction Processing-Shared (ATP-S) database,
Oracle Data Integrator supports only RCU silent mode for schema loading.
For more information, see Starting the Repository Creation Utility (RCU).
2-2
Chapter 2
Creating Schemas
For more information about using the Command Line Interface (CLI), see Running Repository
Creation Utility from the Command Line.
Creating Schemas
Follow these instructions to create schemas in the database and verify that they are installed
properly.
Note:
The following sections are not applicable when you create schemas for Oracle
GoldenGate products on Autonomous Transaction Processing database (both
Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle
Autonomous Transaction Processing-Shared (ATP-S)) as you need to run RCU in
silent mode for Oracle GoldenGate. See Run RCU for Oracle GoldenGate on ATP
databases in silent mode.
To create schemas for WebLogic Server on an Oracle Autonomous Transaction
Processing-Shared (ATP-S), see Creating Schemas for WebLogic Server on an
ATP-S Database and Run RCU for Oracle WebLogic Server on ATP-S database in
silent mode.
Screen Description
Welcome This screen introduces you to RCU.
2-3
Chapter 2
Creating Schemas
Screen Description
Create Repository Select Create Repository, then select System Load and Product Load.
If you do not have full SYS or SYSDBA privileges on the database, select Prepare
Scripts for System Load and follow the schema creation instructions in Creating
Schemas as a User With Limited Database Privileges.
For an Autonomous Transaction Processing database (both Oracle Autonomous
Transaction Processing-Dedicated (ATP-D) and Oracle Autonomous Transaction
Processing-Shared (ATP-S)), you must create schemas as a Normal user, and
though, you do not have full SYS or SYSDBA privileges on the database, you must
select System Load and Product Load.
Database Connection Details Specify your database connection credentials.
Remember that if you are creating schemas on an IBM DB2 database, you must
have already created one operating system user for each schema that you want to
create. See Additional Requirements for IBM DB2 Databases for more information.
Click Next when you have specified your credentials. A separate dialog window
appears while RCU checks connectivity and the database prerequisites. When the
database checking has passed without errors, click OK to dismiss the dialog
window and go to the next screen.
If you are creating schemas on an Autonomous Transaction Processing database
(both Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle
Autonomous Transaction Processing-Shared (ATP-S)), you receive a warning
message on selecting the database user role as Normal. You can ignore the
warning and continue with the schema creation. For more information, see
Troubleshooting Tips for Schema Creation on an Autonomous Transaction
Processing Database.
Select Components (for Select the components for which you want to create schemas, and specify a prefix
Create Operation) to group them together.
You must remember the prefix and schema names for the components you are
installing; you need this information during the configuration phase of your product
installation. Oracle recommends that you write down these values.
Schema Passwords Specify the passwords for your schema owners.
You must remember the passwords you enter on this screen; you need this
information during the configuration phase of your product installation. Oracle
recommends that you write down these values.
Custom Variables Use the Custom Variables screen to specify additional product configuration
information.
The Custom Variables screen appears only if you selected one or more of the
following components on the Select Components screen. You can select a
component on the Select Components screen only if the Oracle home in which
RCU was started contains that component.
• If you selected Oracle Data Integrator, the Custom Variables for Oracle Data
Integrator are visible.
• If you selected SOA Suite, the Custom Variables for Oracle SOA Suite are
visible.
• If you selected WebCenter Portal - Analytics, the Custom Variable for Oracle
WebCenter Portal Analytics is visible.
• If you selected Oracle GoldenGate - Repository, the Custom Variables for
Oracle GoldenGate Studio are visible.
• If you selected Oracle Data Integrator, SOA Suite, and WebCenter Portal -
Analytics, the custom variables for Oracle Data Integrator, Oracle SOA Suite,
and Oracle WebCenter Portal Analytics are visible on this screen.
2-4
Chapter 2
Creating Schemas
Screen Description
Map Tablespaces Use this screen to configure the desired tablespace mapping for the schemas that
you want to create.
When you click Next, a separate dialog window appears asking you to confirm that
you want to create these tablespaces. Click OK to proceed and dismiss the dialog
window.
A second dialog window appears showing the progress of tablespace creation.
After the tablespaces are created, click OK to dismiss this window and go to the
next screen.
Summary (for Create Verify the information on this screen, then click Create to begin schema creation.
Operation)
Completion Summary (for Review the information on this screen to verify that the operation was completed
Create Operation) successfully. Click Close to complete the schema creation and dismiss RCU.
Note:
To create schemas in PDB using a user other than SYSDBA, RCU users need to
create a common user and grant DBA to that common user, before running RCU.
Local user with DBA privilege will not work correctly.
To create schemas on an Autonomous Transaction Processing database (both
Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle
Autonomous Transaction Processing-Shared (ATP-S)), a user with limited database
privileges needs to follow the steps in Create Repository in Table 2-1.
Screen Description
Welcome This screen introduces you to RCU.
Create Repository Select Create Repository, then select Prepare Scripts for System Load.
See About System Load and Product Load for more information about these
operations.
2-5
Chapter 2
Creating Schemas
Screen Description
Database Connection Details Specify your database connection credentials.
Click Next when you have specified your credentials. A separate dialog window
appears while RCU checks connectivity and the database prerequisites. When the
database checking has passed without errors, click OK to dismiss the dialog
window and go to the next screen.
Note:
Performing system load and product load separately
is only supported on Oracle and Oracle EBR
databases.
Select Components (for Select the components for which you want to create schemas, and specify a prefix
Create Operation) to group them together.
You must remember the prefix and schema names for the components you are
installing; you need this information during the configuration phase of your product
installation. Oracle recommends that you write down these values.
Custom Variables Use the Custom Variables screen to specify additional product configuration
information.
The Custom Variables screen appears only if you selected one or more of the
following components on the Select Components screen. You can select a
component on the Select Components screen only if the Oracle home in which
RCU was started contains that component.
• If you selected SOA Suite, the Custom Variables for Oracle SOA Suite are
visible.
• If you selected WebCenter Portal - Analytics, the Custom Variable for Oracle
WebCenter Portal Analytics is visible.
• If you selected SOA Suite and WebCenter Portal - Analytics, the custom
variables for Oracle SOA Suite and Oracle WebCenter Portal Analytics are
visible on this screen.
Map Tablespaces Use this screen to configure the desired tablespace mapping for the schemas that
you want to create.
Summary (for Create Verify the information on this screen, then click Generate to begin script
Operation) generation.
By default, the scripts are generated in the
RCUdate_timestamp_random_number/logs directory inside the temporary
directory on your system. For example, on UNIX operating systems, the scripts are
generated in the /tmp/RCUdate_timestamp_random_number/logs directory, by
default. If you want to specify a different location, click Browse and select a
location on your system.
The names of the scripts generated are script_systemLoad.sql and
script_postDataLoad.sql.
Completion Summary (for Review the information on this screen to verify that the operation was completed
Create Operation) successfully. Click Close to complete the script generation and dismiss RCU.
2-6
Chapter 2
Creating Schemas
Screen Description
N/A After the scripts are created, user with SYS or SYSDBA privileges must execute
the script_systemLoad.sql script:
1. Sign in to SQL*Plus.
2. Enter the following command to execute the script_systemLoad.sql script
(replace the path to the script if you chose to save it in a custom location):
@/tmp/RCUdate_timestamp_random_number/logs/script_systemLoad.sql
3. While the script is running, the user is prompted to set the schema password
for each schema being created. Specify the passwords as prompted.
You are returned to your system prompt when the script has been executed.
N/A After the script is executed, start RCU again and perform the product load phase to
complete schema creation.
Welcome This screen introduces you to RCU.
Create Repository Select Create Repository, then select Perform Product Load.
See About System Load and Product Load for more information about these
operations.
Database Connection Details Specify your database connection credentials.
Click Next when you have specified your credentials. A separate dialog window
appears while RCU checks connectivity and the database prerequisites. When the
database checking has passed without errors, click OK to dismiss the dialog
window and go to the next screen.
Select Components (for From the drop-down list, select the prefix you specified earlier in this procedure.
Create Operation) Then, select the components for which you want to perform the product load.
Schema Passwords Specify the passwords for your schema owners.
Ensure to specify the same passwords that were entered while running the
script_systemLoad.sql script through SQL*Plus.
You must remember the passwords you enter on this screen; you need this
information during the configuration phase of your product installation. Oracle
recommends that you write down these values.
Custom Variables Use the Custom Variables screen to specify additional product configuration
information.
The Custom Variables screen appears only if you selected one or more of the
following components on the Select Components screen. You can select a
component on the Select Components screen only if the Oracle home in which
RCU was started contains that component.
• If you selected Oracle Data Integrator, the Custom Variables for Oracle Data
Integrator are visible.
• If you selected SOA Suite, the Custom Variables for Oracle SOA Suite are
visible.
• If you selected WebCenter Portal - Analytics, the Custom Variable for Oracle
WebCenter Portal Analytics is visible.
• If you selected Oracle GoldenGate - Repository, the Custom Variables for
Oracle GoldenGate Studio are visible.
• If you selected Oracle Data Integrator, SOA Suite, and WebCenter Portal -
Analytics, the custom variables for Oracle Data Integrator, Oracle SOA Suite,
and Oracle WebCenter Portal Analytics are visible on this screen.
2-7
Chapter 2
Creating Schemas
Screen Description
Summary (for Create Verify the information on this screen, then click Data Load to begin schema
Operation) creation.
Completion Summary (for Review the information on this screen to verify that the operation was completed
Create Operation) successfully. Click Close to complete the schema creation and dismiss RCU.
N/A This optional step is needed for components that generate and must execute
product load scripts requiring DBA privileges. After the product load phase is
complete, someone with SYS or SYSDBA privileges must execute the
script_postDataLoad.sql script.
This step is needed for the Audit Services (IAU) and Oracle Enterprise Scheduler
(ESS) components.
1. Sign in to SQL*Plus.
2. Enter the following command to execute the script_postDataLoad.sql
script (replace the path to the script if you chose to save it in a custom
location):
@/tmp/RCUdate_timestamp_random_number/logs/script_postDataLoad.sql
You are returned to your system prompt when the script has been executed.
The comp_name argument retrieves the name of the component, and version retrieves
the version number. For example:
SQL> select comp_name, version from schema_version_registry;
COMP_NAME
--------------------------------------------------------------------------------
VERSION
------------------------------
Audit Service
12.2.1.4.0
COMP_NAME
2-8
Chapter 2
Creating Schemas for WebLogic Server on an ATP-S Database
--------------------------------------------------------------------------------
VERSION
------------------------------
Metadata Services
12.2.1.4.0
Service Table
12.2.1.4.0
COMP_NAME
--------------------------------------------------------------------------------
VERSION
------------------------------
User Messaging Service
12.2.1.0.0
WebLogic Services
12.2.1.4.0
8 rows selected.
2-9
Chapter 2
Creating Schemas for WebLogic Server on an ATP-S Database
Screen Description
Welcome This screen introduces you to RCU.
Create Repository Select Create Repository, then select System Load and Product Load.
Database Connection Details Specify your database connection credentials using the Connection String format
only. See Settings to connect to an Autonomous Transaction Processing Database.
After you have specified your credentials, click Next. The user privileges warning is
displayed. You can ignore the warning and continue with the schema creation. For
more information, see Troubleshooting Tips for Schema Creation on an
Autonomous Transaction Processing Database.
Select Components (for Select the components for which you want to create schemas, and specify a prefix
Create Operation) to group them together.
You must remember the prefix and schema names for the components you are
installing; you need this information during the configuration phase of your product
installation. Oracle recommends that you write down these values.
Schema Passwords Specify the passwords for your schema owners.
You must remember the passwords you enter on this screen; you need this
information during the configuration phase of your product installation. Oracle
recommends that you write down these values.
Map Tablespaces Use this screen to configure the desired tablespace mapping for the schemas that
you want to create.
Note: If you created the schemas using an existing prefix. override the default and
temporary tablespaces by selecting DATA from the drop-down list in the Default
Tablespace column, and TEMP from the drop-down list in the Temp Tablespace
column. In case of additional tablespaces, override the tablespace name by
selecting DATA from the drop-down list in the Tablespace Name column.
When you click Next, the user privileges warning is displayed. You can ignore the
warning and continue with the schema creation. For more information, see
Troubleshooting Tips for Schema Creation on an Autonomous Transaction
Processing Database.
On the confirmation window, click OK to confirm that you want to create these
tablespaces. You can view progress of tablespace creation. After the tablespaces
are created, click Next to go to the next screen.
Summary (for Create Verify the information on this screen, then click Create to begin schema creation.
Operation)
Completion Summary (for Review the information on this screen to verify that the operation was completed
Create Operation) successfully. Click Close to complete the schema creation and dismiss RCU.
2-10
Chapter 2
Creating Schemas for WebLogic Server on an ATP-S Database
Note:
To create schemas in PDB using a user other than a user with full database
privileges, Repository Creation Utility (RCU) users need to create a common user
and grant DBA to that common user, before running RCU. Local user with DBA
privilege will not work correctly.
The comp_name argument retrieves the name of the component, and version retrieves the
version number. For example:
SQL> select comp_name, version from schema_version_registry;
COMP_NAME
--------------------------------------------------------------------------------
VERSION
------------------------------
Audit Service
12.2.1.4.0
COMP_NAME
--------------------------------------------------------------------------------
VERSION
------------------------------
Metadata Services
12.2.1.4.0
Service Table
12.2.1.4.0
COMP_NAME
--------------------------------------------------------------------------------
VERSION
------------------------------
User Messaging Service
12.2.1.0.0
2-11
Chapter 2
Dropping Schemas
WebLogic Services
12.2.1.4.0
8 rows selected.
Dropping Schemas
Follow these instructions to drop schemas from the database.
To see detailed information for a particular screen, click on the screen name. Unless
otherwise noted, click Next to continue to the next screen.
2-12
Chapter 2
Dropping Schemas
If you then drop the DEV_IAU schema, the DEV_IAS_TEMP tablespace would not be dropped
since it is also used by the DEV_MDS schema.
2-13
3
Running Repository Creation Utility from the
Command Line
The command-line interface (CLI) is necessary for integration with both the Oracle Fusion
Middleware installer and Enterprise Manager during application deployment. Additionally, you
can use the CLI in cases where Xserver is not configured or if you are using a telnet terminal
that does not have proper display capabilities.
For more information on how to run RCU from the command line, see the following topics:
• Command-Line Syntax and Parameters
To run RCU from the command line, you need to specify a mode, an operation, and any
necessary parameters. Make sure that you understand the syntax and the various
command-line parameters you can use for your operation.
• Using the -silent Command
Use the -silent command if you want to run RCU with minimal interaction once you
have entered the command.
• Using the -interactive Command
Use the -interactive command to run the RCU graphical interface. This is the default
value if neither -silent nor -interactive is specified.
• Using Response Files
Before you run RCU, you can provide information that is required to perform a specific
operation in a response file. For example, you can provide your database connection
details, a list of components to be added or dropped, and the schema prefix to RCU
through a response file.
• Creating a Repository from the Command Line
If you are a user with full SYS or SYSDBA privileges, use the -createRepository
operation to create a repository.
• Generating a System Load Script From the Command Line
If you are a user without SYS or SYSDBA privileges, use the -generateScript
operation to generate a script. A user with DBA privileges can run the script later to
complete the system load phase.
• Loading Data Into the Repository From the Command Line
After the system load scripts are run by a user with DBA privileges, any user can then
use the -dataLoad operation to load data into a repository.
• Dropping a Repository from the Command Line
Use the -dropRepository operation to drop a repository.
• Generating a List of Components in an Oracle Home from the Command Line
Use the -listComponents command to generate a list of valid components that are
available in a given Oracle home. This command displays the name, component ID, and
the supported database types for each component that is available in the Oracle home in
which RCU was started.
• Generating a List of Schemas in a Database from the Command Line
Use the -listSchemas command to generate a list of valid schemas in a given database.
3-1
Chapter 3
Command-Line Syntax and Parameters
There are two modes (-silent and -interactive) and eight operations (-
generateResponseFile, -responseFile, -createRepository, -generateScript, -
dataLoad, -dropRepository, -listComponents, and -listSchemas). So, the command
can be written out as follows:
rcu [-silent | -interactive] [-generateResponseFile | -responseFile | -
createRepository | -generateScript | -dataLoad |
-dropRepository | -listComponents | -listSchemas]
{parameters}
The following topics describe each of the modes, operations, and parameters:
• RCU Modes Available from the Command Line
There are two RCU modes available from the command line, -silent mode and -
interactive mode.
• RCU Operations Available from the Command Line
There are eight RCU operations that are available from the command-line.
• RCU Command Line Parameters
You can pass the RCU command-line parameters to RCU as input by directly
entering the parameters on the command line or by using a response file.
Command Description
-silent Run RCU with minimal or no interaction from the command line.
For more information about silent mode, see Using the -silent Command.
3-2
Chapter 3
Command-Line Syntax and Parameters
Table 3-1 (Cont.) RCU Modes Available from the Command Line
Command Description
-interactive Run the RCU graphical interface. This is the default if neither -silent nor -
interactive is specified.
This command (whether specified or not) allows you to prepopulate certain screens
with the information that is specified in the response file or from the command line.
You can prepopulate the Create Repository and Database Connection Details
screens.
For more information about graphical mode, see Using the -interactive Command.
Command Description
-generateResponseFile Run RCU with -silent to generate a RCU response file that contains all valid RCU
command line parameters.
See Creating a RCU Response File from the Command Line
-responseFile Run RCU with either -silent or -interactive to perform a RCU operation using
a response file.
See Performing RCU Operations by Using a Response File
-createRepository Run RCU with either -silent or -interactive to create a repository.
See Creating a Repository from the Command Line.
-generateScript Run RCU with either -silent or -interactive to generate a script for system
load.
See Generating a System Load Script From the Command Line.
-dataLoad Run RCU with either -silent or -interactive to load data into the repository.
See Loading Data Into the Repository From the Command Line.
-dropRepository Run RCU with either -silent or -interactive to drop a repository.
See Dropping a Repository from the Command Line.
-listComponents Run RCU with -silent to generate a list of components for a given Oracle home.
See Generating a List of Components in an Oracle Home from the Command Line.
-listSchemas Run RCU with -silent to list the schemas in a given database.
See Generating a List of Schemas in a Database from the Command Line.
3-3
Chapter 3
Command-Line Syntax and Parameters
-dataLoad
-dropRepository
-listSchemas
3-4
Chapter 3
Command-Line Syntax and Parameters
3-5
Chapter 3
Command-Line Syntax and Parameters
3-6
Chapter 3
Command-Line Syntax and Parameters
3-7
Chapter 3
Command-Line Syntax and Parameters
3-8
Chapter 3
Using the -silent Command
In this scenario, RCU prompts you for the database and component schema passwords from
the command line. If you specify multiple components, you are prompted for the passwords in
the order in which the components are specified.
Instead of directly entering all the RCU parameters on the command line, you can provide the
location and name of a file that contains certain input values. This file (called a response file)
allows you to pass values for all valid command-line parameters to RCU through a text file.
When you run RCU with a response file, all values are read from the file to create or drop
your schemas. For more information about response file, see Using Response Files.
If you want to avoid all interaction from the command line, you can create a text file contains
all the necessary passwords (one password per line) and then use the -f option to pass this
password file to RCU. For example, if you create a file called passwordfile.txt, you can use
the command below:
rcu -silent -createRepository -connectString database_connect_string -dbUser
database_user -component component1_name -component
component2_name -f < passwordfile.txt
When schemas are created for multiple components, -tablespace and -tempTablespace has
to be declared for each component individually.
For example:
It is important to make sure that the passwords in the file are specified in the same order as
the components on the command line.
Once the installation is complete, the password file must be removed. The passwords are
maintained in cleartext format, and therefore present a security risk if the password file is left
in place after installation.
3-9
Chapter 3
Using the -silent Command
Instead of using a plain text password file, you can also create an Oracle Wallet file
that contains all the necessary passwords and then use the -walletDir parameter to
pass this file to RCU. In this case, RCU does not prompt you for any passwords that
are stored in the wallet. For more information about using wallet, see Using a Wallet to
Store Passwords.
For more information on running RCU in -silent mode, see the following topics:
Note:
To create schemas on an Autonomous Transaction Processing database
(both Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and
Oracle Autonomous Transaction Processing-Shared (ATP-S)) for Oracle
GoldenGate, you can use only the silent command and cannot use the
Repository Creation Utility screens (GUI mode).
For example, use the following command to run RCU in silent mode:
./rcu -silent -createRepository -connectString
'(description=(CONNECT_TIMEOUT=120)(RETRY_COUNT=20)(RETRY_DELAY=3) \
(TRANSPORT_CONNECT_TIMEOUT=3)(ADDRESS_LIST=(LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=protocol_name) \
(HOST=host_name)(PORT=port_number)))(CONNECT_DATA=(SERVICE_NAME=service_name))) -
dbUser admin -dbRole normal \
-useSSL -sslArgs javax.net.ssl.trustStore=/home/opc/veridata/
cwallet.sso,javax.net.ssl.trustStoreType=SSO, \
javax.net.ssl.keyStore=/home/opc/veridata/
cwallet.sso,javax.net.ssl.trustStoreType=SSO,oracle.net.ssl_server_dn_match=true,
\
oracle.net.ssl_version=1.2 -useSamePasswordForAllSchemaUsers true -
selectDependentsForComponents true \
-schemaPrefix OGG1ATP -component UCSUMS \
-component OPSS -component IAU -component STB -component WLS -component
IAU_APPEND -component IAU_VIEWER -component MDS -component VERIDATA \
-serverDN "CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS
US,O=OracleCorporation,L=Redwood City,ST=California,C=US"
Run RCU for Oracle WebLogic Server on ATP-S database in silent mode
Use the following command to run RCU in silent mode:
./rcu -silent -createRepository -databaseType ORACLE -connectString
jdbc:oracle:thin:@dbname_tp?TNS_ADMIN=/users/test/wallet_dbname/ -dbUser admin -
dbRole normal \
-useSamePasswordForAllSchemaUsers true -selectDependentsForComponents true \
-schemaPrefix WLS1001 -component STB -tablespace DATA -tempTablespace TEMP \
-component WLS -tablespace DATA -tempTablespace TEMP \
-component IAU_APPEND -tablespace DATA -tempTablespace TEMP \
-component IAU_VIEWER -tablespace DATA -tempTablespace TEMP \
-component OPSS -tablespace DATA -tempTablespace TEMP \
-component IAU -tablespace DATA -tempTablespace TEMP \
-component MDS -tablespace DATA -tempTablespace TEMP \
-f < ~/<rcu_atp_password>
3-10
Chapter 3
Using the -silent Command
If a prerequisite check fails, RCU returns a non-zero exit code and prints the issue to the
console. You can refer to the command output and log file to manually fix the issue, and then
rerun the —validate command to ensure that all checks are successful.
3-11
Chapter 3
Using the -silent Command
3-12
Chapter 3
Using the -silent Command
When you pass the wallet to RCU, RCU expects all the necessary passwords required to
perform an operation to be in the wallet, which include your:
• Database user password
• Schema passwords
• Custom Variable passwords (for Oracle Data Integrator)
In this example, the wallet should contain passwords for the database user (sys), the
Metadata Services (MDS) schema, and the Service Table (STB) schema. If a wallet does not
contain all the necessary passwords, you are prompted to enter the missing passwords on
the command line.
3-13
Chapter 3
Using the -interactive Command
You can specify information from the command line that would be populated in the
graphical interface to expedite your RCU operation.
For example, if you run RCU with the following command, the Database Connection
Details screen contains blank fields.
./rcu
But if you run RCU with a few parameters using the following command, the Database
Connection Details screen contains the information supplied from the command line.
./rcu -interactive -createRepository -connectString
examplehost.exampledomain.com:1521:example_sid -dbUser SYS -component MDS
When you run the RCU graphical interface, you can provide the location and name of
a file (called a response file) that contains certain input values (for example, your
database connection information). When you use the graphical interface, you are
prompted for these values. The values you enter in a response file can be used to
populate certain RCU screens. For more information about using response file, see
Using Response Files.
3-14
Chapter 3
Using Response Files
Because the response file needs to contain password information, RCU provides the Save
Passwords in Wallet option to securely store any passwords that you provide on the RCU
screens in a wallet. You can use the wallet later in silent situations to provide the necessary
passwords to RCU so that you do not have to directly enter your passwords on the command
line. When you run RCU from the command line, the wallet location can be passed to RCU
on the command line or through a response file. If a wallet directory is not passed to RCU,
you are prompted for the required passwords.
The full syntax for the RCU command-line interface to generate a RCU response file is
shown below:
rcu -silent -generateResponseFile
[-responseFileDir absolute_path_of_response_file_directory]
[-schemaPrefix schema_prefix]
[-componentList list_of_component_IDs]
[-createWallet]
[-useSamePasswordForAllSchemaUsers [true|false]]
[-selectDependentsForComponents [true|false]]
[-dbUser database_username]
If the —createWallet parameter is provided, then values for —dbUser and —schemaPrefix are
required. Otherwise, the —dbUser and —schemaPrefix parameters are optional. RCU uses the
prefixed schema name and the database user name as the key or alias to store schema
passwords and the database user password in the wallet, respectively.
3-15
Chapter 3
Using Response Files
3-16
Chapter 3
Creating a Repository from the Command Line
Note:
• If you provide a value for a parameter on the command line and in the response
file, RCU uses the value that is provided on the command line.
• Before you run RCU, ensure that you have provided the required information in
the response file. If some of the mandatory properties in the response file are
missing values when you run RCU, RCU will notify you and exit.
• When you run RCU, the dbRole parameter is not normally required to connect
to certain databases (for example, SQL Server). However, when a RCU
response file is generated, the dbRole parameter is marked as required in the
response file by default. As a result, if you use a response file, the dbRole field
must not be left blank, even if the database role is not required to connect to a
database like SQL Server.
When you specify the -component, you must use the correct component IDs, which are listed
in About Repository Creation Utility Schemas, IDs, and Tablespaces.
Before you create any schemas, you must be aware of and specify all dependencies for the
component that you are loading. For example, the SOAINFRA schema depends on the MDS and
ORASDPM schemas; if you try to load the SOAINFRA schema without specifying both the MDS and
ORASDPM schemas, or if the MDS and ORASDPM schemas do not already exist in the database,
RCU stops before any loading takes place.
Following is a sample command to create the OPSS schema on a UNIX operating system:
3-17
Chapter 3
Generating a System Load Script From the Command Line
When specifying the -component, you must use the correct component IDs, which are
listed in About Repository Creation Utility Schemas, IDs, and Tablespaces.
Before you create a script, you must be aware of and specify the all component
dependencies. For example, the SOAINFRA schema depends on the MDS and ORASDPM
schemas; if you specify the SOAINFRA schema without specifying both the MDS and
ORASDPM schemas, or if the MDS and ORASDPM schemas do not already exist in the
database, RCU stops before completing the operation.
Below is a sample command to create a system load script on a UNIX operating
system:
./rcu -silent -generateScript -databaseType ORACLE -connectString
examplehost.exampledomain.com:1521:exampleSID -dbUser sys
-dbRole sysdba -scriptLocation /tmp/RCUdate_timestamp_random_number/logs/ -
schemaPrefix TEST
-component OPSS -component MDS
3-18
Chapter 3
Loading Data Into the Repository From the Command Line
The full syntax for the RCU command-line interface to load data into a repository is shown
below:
rcu [-silent | -interactive] -dataLoad
[-compInfoXMLLocation ComponentInfo.xml_file_location]
[-storageXMLLocation Storage.xml_file_location]
[-databaseType [ORACLE|EBR]]
-connectString database_connect_string
[-edition edition_name]
-dbUser database_username
[-dbRole database_user_role]
[-skipCleanupOnFailure [Yes|No]]
[-skipTablespaceDropOnFailure [Yes|No]]
[-useSamePasswordForAllSchemaUsers [true|false]]
[-selectDependentsForComponents [true|false]]
[-variables variablename=value]
[-schemaPrefix schema_prefix]
-component component_ID
[-walletDir absolute_path_of_wallet_directory]
[-validate]
The full syntax for the RCU command-line interface to drop a repository is shown below:
rcu [-silent | -interactive] -dropRepository
[-compInfoXMLLocation ComponentInfo.xml_file_location]
[-storageXMLLocation Storage.xml_file_location]
[-databaseType [ORACLE|EBR]]
-connectString database_connect_string
[-edition edition_name]
-dbUser database_username
[-dbRole database_user_role]
[-unicodeSupport [Yes|No]]
[-selectDependentsForComponents [true|false]]
[-skipTablespaceDrop [Yes|No]]
[-variables variablename=value]
[-schemaPrefix schema prefix]
-component component_ID
[-walletDir absolute_path_of_wallet_directory]
[-validate]
You must also be aware of schema dependencies when dropping schemas (see About
Repository Creation Utility Schemas, IDs, and Tablespaces). For example, several schemas
3-19
Chapter 3
Generating a List of Components in an Oracle Home from the Command Line
require the MDS schema to be present; if you choose to drop the MDS schema, then all
the schemas that require the MDS schema stops working.
Below is a sample command to drop the OPSS schema on a UNIX operating system:
./rcu -silent -dropRepository -databaseType ORACLE -connectString
examplehost.exampledomain.com:1521:exampleSID -dbUser sys -dbRole
sysdba -schemaPrefix TEST -component OPSS
The Component ID and database type displayed for each component in the command
output are the values that you must specify with the -component and —databaseType
parameters, respectively, when you create schemas from the command line.
You can also specify a comma-separated list of prefixes using the —schemaPrefixes
argument. If provided, RCU only displays the schemas with those prefixes.
For example:
3-20
Chapter 3
RCU Environment Variables
3-21
A
Repository Creation Utility Screens
Use this information to learn more about the various features and elements of the Repository
Creation Utility (RCU) screens. Each screen will prompt you for information required to create
or drop your schemas.
Note:
The following sections are not applicable when you create schemas for Oracle
GoldenGate products on an Autonomous Transaction Processing database (both
Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle
Autonomous Transaction Processing-Shared (ATP-S)) as you can run RCU only in
silent mode for Oracle GoldenGate.
During schema creation for an Autonomous Transaction Processing database (both
Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle
Autonomous Transaction Processing-Shared (ATP-S)) database, if you encounter
warnings in the Repository Creation Utility screens, see Troubleshooting Tips for
Schema Creation on an Autonomous Transaction Processing Database.
• Welcome
The Welcome screen is the first screen that appears when you start RCU. Note the
navigation pane on the left that summarizes the tasks that RCU helps you complete.
• Create Repository
Use the Create Repository screen to select the action that you want to perform.
• Database Connection Details
Use the Database Connection Details screen to specify the connection credentials to the
database in which you will be create or drop your schemas.
• Select Components (for Create Operation)
Use the Select Components screen to select the components for which you want to
create schemas, and specify a prefix to group them together.
• Select Components (for Drop Operation)
Use the Select Components screen to select the prefix and the schemas that you want to
drop.
• Schema Passwords
Use the Schema Passwords screen to specify the passwords for your schema owners;
there are three ways to specify schema passwords on this screen.
• Custom Variables
If you are installing a product that requires custom variables, you will see the Custom
Variables screen. Use this screen to specify additional product configuration information.
• Map Tablespaces
Use the Map Tablespaces screen to configure the desired tablespace mapping for the
schemas that you want to create.
A-1
Appendix A
Welcome
Welcome
The Welcome screen is the first screen that appears when you start RCU. Note the
navigation pane on the left that summarizes the tasks that RCU helps you complete.
Each item in the navigation pane represents a specific screen that prompts you for
information that is required to create or drop your schemas.
Create Repository
Use the Create Repository screen to select the action that you want to perform.
• Create Repository
Select Create Repository to create component schemas in the database.
• Drop Repository
Select Drop Repository to remove component schemas from the database.
Create Repository
Select Create Repository to create component schemas in the database.
The following table describes the options available:
Option Description
System Load and Select this option to perform both System Load and Product Load operations.
Product Load Users must have DBA or SYSDBA permissions to select this option.
For an Autonomous Transaction Processing database (both Oracle Autonomous
Transaction Processing-Dedicated (ATP-D) and Oracle Autonomous Transaction
Processing-Shared (ATP-S)) database, you must create schemas as a Normal user, and
though, you do not have full SYS or SYSDBA privileges on the database, you must select
System Load and Product Load.
This option can be performed on any certified database.
A-2
Appendix A
Database Connection Details
Option Description
Prepare Scripts for Select this option to perform actions that require DBA or SYSDBA permissions:
System Load • Create tablespaces and schemas.
• Create the schema_version_registry (if not already present).
• Create entries in schema_version_registry for each selected component, set the
proper access permissions, and set the status of the component to LOADED in the
schema_version_registry table.
Any SYSDBA user or non-DBA user with the privileges described in Granting Permissions
to Users for Querying System Load Objects can select this option. However, DBA
privileges are required to execute the SQL script to complete the system load phase.
This option is only supported on Oracle and Oracle EBR databases.
If you create schemas on an Autonomous Transaction Processing database (both Oracle
Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle Autonomous
Transaction Processing-Shared (ATP-S)) database, you must not select this option.
Perform Product Load Select this option to load and create procedures, functions, tables, indexes and other
objects within schemas and run any action that does not require DBA access.
Any non-DBA user or the REGISTRYOWNER user can select this option.
Before you select this option, the user must be granted the following permissions to
perform data load:
Drop Repository
Select Drop Repository to remove component schemas from the database.
A-3
Appendix A
Database Connection Details
• Connection Credentials for Oracle Databases and Oracle Databases with Edition-
Based Redefinition
To connect to an Oracle database or Oracle database with edition-based
redefinition, you need to specify connection information about the database, such
as Host Name, Port, Service Name, Username, Password, and Role.
• Connection Credentials for Microsoft SQL Server Databases
To connect to a Microsoft SQL Server database, you need to specify connection
information about the database, such as Unicode Support, Server Name, Port,
Database Name, Username, and Password.
• Connection Credentials for IBM DB2 Databases
To connect to an IBM DB2 database, you need to specify connection information
about the database, such as Server Name, Port, Database Name, Username, and
Password.
• Connection Credentials for an Autonomous Transaction Processing Database
To connect to an Autonomous Transaction Processing database (both Oracle
Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle Autonomous
Transaction Processing-Shared (ATP-S)), you need to specify connection
information about the database, such as Username and Password.
Note:
MySQL database is supported for Oracle Data Integrator and Oracle
GoldenGate Studio Fusion Middleware components only.
A-4
Appendix A
Database Connection Details
Note:
To create schemas on an Autonomous Transaction Processing database (both
Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle
Autonomous Transaction Processing-Shared (ATP-S)), you can specify the
connection credentials only using the Connection String format. See
Connection Credentials for an Autonomous Transaction Processing Database.
For various database types and both Connection String Format, specify the following
connection credentials:
Username Enter the user name for your database. • Oracle Database
• Oracle Database enabled for edition-
based redefinition
• Microsoft SQL Server
• IBM DB2
• MySQL Database
Password Enter the password for your database user. • Oracle Database
Password must not be more than 31 characters long and • Oracle Database enabled for edition-
can contain alphanumeric, pound, hash, comma, based redefinition
underscore characters. It should not begin with a • Microsoft SQL Server
number or a special character. • IBM DB2
• MySQL Database
A-5
Appendix A
Database Connection Details
A-6
Appendix A
Database Connection Details
Note:
From Oracle Data Integrator Release 12.2.1.4.0 and later, MySQL connector is
upgraded to version 8.0.XX. Due to this, the new MySQL connector performs time
offset adjustments on date-time value. For this function to work, you have to either
configure your MySQL server with a canonical time zone which is recognized by
Java or override the server's time zone by setting the connection property
serverTimezone, for example, serverTimezone=UTC or any other. The new jdbc
URL is in the following format:
jdbc:mysql://<host>:<port>/<databasename>?serverTimezone=<java
recognizable time
Click Next after you have entered the connection credentials for your database. A screen
indicating the progress of the installer establishing the connection with the specified database
appears. If an error occurs while the connection is being established, the error message
appears in the Messages field on the Database Connection Details screen.
Specific database requirements for the various schemas can be found in the Oracle Fusion
Middleware System Requirements and Specifications document.
View the System Requirements and Supported Platforms for Oracle Fusion Middleware 12c
document for other certified databases that can be used with RCU. This document is
available on the Oracle Fusion Middleware Supported System Configurations page.
Field Description
Unicode Support Select Yes or No from the drop-down list.
Server Name Enter the host name, IP address, or complete server name in host\server format of the
server where your database is running.
Port Enter the port number for your database.
Database Name Specify the name of your database.
A-7
Appendix A
Database Connection Details
Field Description
Username Specify the name of a user with administrator privileges.
Password Enter the password for your database user.
Field Description
Server Name Enter the host name, IP address, or complete server name in host\server format of the
server where your database is running.
Port Enter the port number for your database.
Database Name Specify the name of your database.
Username Specify the name of a user with DB Owner privileges. The default user name for IBM DB2
databases is db2admin.
Password Enter the password for your database user.
A-8
Appendix A
Database Connection Details
Field Description
Connect String for Enter connect string in the format: jdbc:oracle:thin:@TNS_alias?TNS_ADMIN=<path
Autonomous of the wallet files, ojdbc.properties, and tnsnames.ora>.
Transaction
In the connect string, you must pass TNS_alias as the database name found in
Processing database
tnsnames.ora, and TNS_ADMIN property to the location of the wallet files,
(both Oracle
Autonomous ojdbc.properties, and tnsnames.ora.
Transaction Note: For an Oracle Autonomous Transaction Processing-Shared (ATP-S) database, you
Processing- must use only one of the database service names, <databasename>_tpurgent or
Dedicated (ATP-D) <databasename>_tp, specified in tnsnames.ora. For database service name details, see
and Oracle Database Service Names for Autonomous Transaction Processing and Autonomous JSON
Autonomous Database in Using Oracle Autonomous Database on Shared Exadata Infrastructure.
Transaction Example connect string for Oracle Autonomous Transaction Processing-Dedicated (ATP-D)
Processing-Shared database::
(ATP-S))
jdbc:oracle:thin:@dbname_medium?TNS_ADMIN=/users/test/
wallet_dbname/
Example connect string for Oracle Autonomous Transaction Processing-Shared (ATP-S)
database:
jdbc:oracle:thin:@dbname_tp?TNS_ADMIN=/users/test/wallet_dbname/
In case of Oracle Internet Directory, use the connect string specified in tnsnames.ora
(located in $ORACLE_HOME/network/admin) for your service name or TNS_alias.
Example connect string for Oracle Internet Directory for Oracle Autonomous Transaction
Processing-Dedicated (ATP-D) database:
(DESCRIPTION=(CONNECT_TIMEOUT=120)(RETRY_COUNT=20)(RETRY_DELAY=3)
TRANSPORT_CONNECT_TIMEOUT=3)
(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=<protocol_name>)
(HOST=<host_name>)
(PORT=<port_number>)))
(CONNECT_DATA=(SERVICE_NAME=<service_name>.atp.oraclecloud.com)))
Example connect string for Oracle Internet Directory for Oracle Autonomous Transaction
Processing-Shared (ATP-S) database:
(DESCRIPTION=(CONNECT_TIMEOUT=120)=(RETRY_COUNT=20)(RETRY_DELAY=3)
(ADDRESS=(PROTOCOL=<protocol_name>)
(PORT=<port_number>)(HOST=<host_name>))
(CONNECT_DATA=(SERVICE_NAME=<service_name>.adb.oraclecloud.com))
(security=(ssl_server_cert_dn="CN=example.com,
OU=<organizational_unit>, O=<organization>, L=<city>, ST=<state>,
C=<country>")))
A-9
Appendix A
Select Components (for Create Operation)
Element Description
Select existing prefix Use this option to create schemas by using an existing prefix, which you can select
from the drop-down list. If you select this option, you can only create schemas that
do not already have this prefix in the database. For example, if DEV_MDS already
exists, you are unable to select the MDS schema on the page to create it again).
Create new prefix Use this option to create a new custom prefix that can be used to group your
schema together. The prefix name must be a minimum of one character in length
and cannot exceed 12 alphanumeric characters (0-9, a-z, or A-Z) in length (not
including the underscore character). Prefixes should not start with a number. No
whitespace or special characters are allowed.
You can edit the schema name or prefix by clicking the item that you want to change
in the Schema Owner column and editing the table cell directly.
For more information about custom prefixes, see About Custom Prefixes.
Component Use the Component column in the table to select the component schema that you
want to create.
When you select a component, any other components that may be required by the
component you select are also selected. For example, if you select Oracle Platform
and Security Services, then the Audit Services schema is also automatically
selected, if it has not already been selected. The Audit Services schema is required
by the Oracle Platform and Security Services schema.
If a component has a plus sign (+) next to its name, then there are sub components
available. Click on the plus sign (+) to expand the category to view all sub
components. If you want to select a component with all its subcomponents, click on
the top-most box with the plus sign (+).
If you are creating component schemas on an IBM DB2 database, see important
information in Additional Requirements for IBM DB2 Databases.
Schema Owner This column shows the name of the schema owner for each component (custom
prefix and schema name). You can edit the schema owner value by clicking the item
that you want to change in this column and editing the table cell directly.
Note:
You must remember the Schema Owner name for the components that you
are installing; you need this information during the configuration phase of
your Oracle Fusion Middleware product installation. Oracle recommends that
you write this value down.
A-10
Appendix A
Select Components (for Drop Operation)
Click Next when you are finished specifying your prefix and schema names, and when you
are finished selecting components. The screen indicating the progress of component
prerequisite checks before schema creation appears.
If an error occurs during the prerequisite checking, the error messages appear in the
Messages field on the Select Components screen.
Click OK to dismiss this screen.
Element Description
Select schemas with Use the drop-down list in this field to select an existing custom prefix.
prefix of
Component Select the component schemas you want to remove.
Note:
Unlike create operations, schema dependencies are not
handled automatically by RCU for drop operations. When
you remove a schema, you must also remove the schemas
which depend on the schema you are removing. For
example, the Audit Services schema is required by the
Oracle Platform Security Services schema; if you remove
the Audit Services schema, the Oracle Platform Security
Services schema will no longer works.
Schema Owner This column shows the schema owner (custom prefix and schema name).
For drop operations, this column cannot be edited.
Click Next when you are finished. The screen indicating the progress of component
prerequisite checks appears.
If an error occurs during the prerequisite checking, the error message(s) appear in the
Messages field on the Select Components screen.
Click OK to dismiss this screen.
Schema Passwords
Use the Schema Passwords screen to specify the passwords for your schema owners; there
are three ways to specify schema passwords on this screen.
The following table describes the three ways that you can specify schema passwords:
A-11
Appendix A
Custom Variables
Option Description
Use same password for all Select this option if you want to use a single password for all schemas and
schemas their auxiliary schemas. In the Password field, enter your password. Enter your
password again in the Confirm Password field.
Use main schema passwords Select this option if you want to specify different passwords for the main
for auxiliary schemas schemas, but still have the same password used for their respective auxiliary
schemas. If you select this option, only the main schemas are visible in the
table. For each schema, you must enter each schema's password in the
Schema Password column in the table, and enter the same password in the
Confirm Password column.
Specify different passwords for Select this option if you want to specify unique passwords for the main
all schemas schemas and auxiliary schemas. If you select this option, all main schemas
and auxiliary schemas are visible in the table. For each schema and auxiliary
schema, you must enter the password in the Schema Password column in the
table, and enter the same password in the Confirm Password column.
Note:
You must remember the passwords you enter on this screen; you need this
information during the configuration phase of your product installation. Oracle
recommends that you write down these values.
For an Autonomous Transaction Processing database (both Oracle
Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle
Autonomous Transaction Processing-Shared (ATP-S)), password must be
minimum 12 characters, and must contain at least one uppercase, one lower
case, and one number.
Custom Variables
If you are installing a product that requires custom variables, you will see the Custom
Variables screen. Use this screen to specify additional product configuration
information.
The Custom Variables screen appears only if you selected one or more of the following
components on the Select Components screen. You can select a component on the
Select Components screen only if the Oracle home in which RCU was started contains
that component.
• If you selected Oracle Data Integrator, the custom variables for Oracle Data
Integrator are visible.
• If you selected SOA Suite, the custom variables for Oracle SOA Suite are visible.
• If you selected WebCenter Portal - Analytics, the custom variable for Oracle
WebCenter Portal Analytics is visible.
• If you selected Oracle GoldenGate - Repository, the custom variables for Oracle
GoldenGate Studio are visible.
• If you selected Oracle Data Integrator, SOA Suite, and WebCenter Portal -
Analytics, the custom variables for Oracle Data Integrator, Oracle SOA Suite, and
Oracle WebCenter Portal Analytics are visible on this screen.
A-12
Appendix A
Custom Variables
Variable Description
Supervisor Password Password of the supervisor user.
You must enter a password for the Supervisor Password and Confirm
Supervisor Password fields. These fields are required before you can
continue. The password should be between 6 and 12 characters.
Work Repository Type Specify how the Work Repository will be used:
• Use Development (D) for creating a development repository. This type of
repository allows management of design-time objects such as data
models and projects (including interfaces, procedures, etc.) A
development repository also includes the run-time objects (scenarios and
sessions). This type of repository is suitable for development
environments.
• Use Execution (E) for creating an execution repository: This type of
repository only includes run-time objects (scenarios, schedules and
sessions). It allows launching and monitoring of data integration jobs in
Operator Navigator. Such a repository cannot contain any design-time
artifacts. Designer Navigator cannot be used with it. An execution
repository is suitable for production environments.
This field is optional. The default value is D.
Work Repository Name A unique name for the Work Repository (for example: DEVWORKREP1).
This field is optional.
Work Repository Password Provide a password for the Work Repository. If you provide a password, you
must confirm the password on the following line.
The Work Repository Password and Confirm Work Repository Password
fields are optional.
Encryption Algorithm Select the encryption algorithmm, either AES-128 or AES-256.
This field is optional. If this field is left blank, the default value is AES-128.
A-13
Appendix A
Custom Variables
Variable Description
Database Profile Specify the database profile that you want to use for Oracle SOA Suite. This
determines the size of the SOA database.
Use the drop-down list to specify the size. The available options are Small,
Medium, or Large. The default value is Small.
Healthcare Integration Specify whether you want to enable Healthcare Integration for Oracle SOA
Suite.
The default value is No.
Variable Description
Supervisor Password Password of the supervisor user.
You must enter a password in the Supervisor Password and Confirm
Supervisor Password fields. These fields are required before you can
continue. The password should be between 6 and 12 characters.
Make a note of the password that you set on this screen; you need it later on
when you provide your Oracle GoldenGate Studio connection information to
connect to the repository after you start Oracle GoldenGate Studio.
Encryption Algorithm Select the encryption algorithm, either AES-128 or AES-256.
This field is optional. If this field is left blank, the default value is AES-128.
A-14
Appendix A
Map Tablespaces
Map Tablespaces
Use the Map Tablespaces screen to configure the desired tablespace mapping for the
schemas that you want to create.
This screen only appears if you selected the Create Repository option on the Create
Repository screen.
Click Next when you are finished with your tablespace information. The screen prompting
you to confirm the creation of tablespaces for any new schemas appears.
Note:
• RCU only creates tablespaces for those components associated with RCU.
• The Encrypt Tablespace check box appears on this screen only if Transparent
Data Encryption (TDE) is enabled in the database (Oracle or Oracle EBR) when
RCU is started. For more information about encrypting Tablespaces, see
Encrypting Tablespaces.
• When you create schemas on ATP-D database, you may receive tablespace
creation error on the Map Tablespaces screen. For more information, see
Troubleshooting Tips for Schema Creation on an Autonomous Transaction
Processing Database.
• For an Oracle Autonomous Transaction Processing-Shared (ATP-S) database,
override the default and temporary tablespaces by selecting DATA from the
drop-down list in the Default Tablespace column, and TEMP from the drop-
down list in the Temp Tablespace column. In case of additional tablespaces,
override the tablespace name by selecting DATA from the drop-down list in the
Tablespace Name column.
Click OK to continue. The screen indicating the progress of the tablespace creation appears.
Click Stop to cancel tablespace creation. When the tablespaces are created, click OK to
dismiss this window.
See the following topics for more about the features and options on the Map Tablespaces
screen:
• Default Tablespace Mappings
In the Default Tablespace and Temp Tablespace columns, you can click on the
tablespace cell to select from a list of available additional tablespace names.
• Changing Default and Temporary Tablespaces
You can change the default tablespaces and the temporary tablespaces for the
components.
• Viewing and Changing Additional Tablespaces
To view and change additional tablespaces associated with the selected components,
click the Additional Tablespaces button. Only those components with additional
tablespaces as defined in the configuration files appear on this screen.
• Managing Tablespaces and Datafiles
To manage your tablespaces and datafiles, click the Manage Tablespaces button.
A-15
Appendix A
Map Tablespaces
• Encrypting Tablespaces
Select the Encrypt Tablespace check box on the Map Tablespaces screen to
encrypt all the new tablespaces that are created by RCU.
Note:
For an Oracle Autonomous Transaction Processing-Shared (ATP-S)
database, override the default and temporary tablespaces by selecting DATA
from the drop-down list in the Default Tablespace column, and TEMP from
the drop-down list in the Temp Tablespace column.
A-16
Appendix A
Map Tablespaces
Note:
For an Oracle Autonomous Transaction Processing-Shared (ATP-S) database,
override the tablespace name, and select DATA from the drop-down list in the
Tablespace Name column.
Field Description
Name Edit the tablespace name in this field to change the name of your tablespace.
Type Specify whether you want this tablespace to be a temporary tablespace or permanent
tablespace.
Block Size (KB) Specify the block size (in Kilobytes) to be used for data retrieval.
Storage Type Select Use Bigfile Tablespace if you want to create a bigfile tablespace; this is
typically used if you have single large files instead of multiple small files. Select Use
Automatic Segment Space Management if you want to use bitmaps to manage the
free space within segments.
To add a tablespace, click Add and specify the same details as above (for modifying a
tablespace) for your new tablespace.
To remove a tablespace, select the tablespace name from the navigation tree, then click
Remove. This tablespace is not created.
A-17
Appendix A
Map Tablespaces
Field Description
File Name Specify the name of the datafile.
Note:
Datafile names with a dash or hyphen (-) character are
not permitted.
File Directory Specify the location where this datafile will reside.
Size Specify the initial size of the datafile. Use the drop-down list to specify the size in
kilobytes (KB), megabytes (MB), or gigabytes (GB).
Automatically extend Select Automatically extend datafile when full (AUTOEXTEND) to automatically
datafile when full extend the size of your datafile when it becomes full. In the Increment field, specify
(AUTOEXTEND) the size by which your datafile should be increased each time it becomes full. Use
the drop-down list to specify the size in kilobytes (KB), megabytes (MB), or gigabytes
(GB).
If you want to limit maximum size of the datafile, specify this value in the Maximum
Size field.
Similarly, to modify or edit a datafile, select the icon next to the datafile name that you
want to edit, then click the icon with the pencil:
To delete a datafile, select the icon next to the datafile name that you want to delete,
then click the icon with the "X":
Encrypting Tablespaces
Select the Encrypt Tablespace check box on the Map Tablespaces screen to encrypt
all the new tablespaces that are created by RCU.
When you start RCU, the Encrypt Tablespace check box appears on the Map
Tablespaces screen only if you have TDE (Transparent Data Encryption) enabled in
the database (Oracle or Oracle EBR) when you start RCU. If TDE is not enabled, this
A-18
Appendix A
Summary (for Create Operation)
check box does not appear. If TDE is enabled in the database and you provide the —
encryptTablespace true option, the check box is selected by default.
TDE tablespace encryption allows you to encrypt sensitive data stored in tablespaces. For
more information about Transparent Data Encryption, see Introduction to Transparent Data
Encryption in Oracle Database Advanced Security Guide.
Note:
When you select this option, all new tablespaces created by RCU are encrypted.
You cannot select specific tablespaces on this screen to be encrypted. Also,
tablespaces that were created before RCU was launched cannot be encrypted by
using this option.
Note:
When you create schemas on an Autonomous Transaction Processing database
(both Oracle Autonomous Transaction Processing-Dedicated (ATP-D) and Oracle
Autonomous Transaction Processing-Shared (ATP-S)) database, you may receive
warnings in case of Oracle WebCenter Content, Oracle Internet Directory, and
Oracle Enterprise Scheduler and Oracle Managed File Transfer SOA products. For
more information, see Troubleshooting Tips for Schema Creation on an
Autonomous Transaction Processing Database.
The Summary screen appears when you select Create Repository on the Create Repository
screen.
Click Save Response File to save the RCU session to a text file (called a response file). The
response file collects all the information that you have provided in the RCU screens.
The values in a response file can be used exactly as-is (or modified as needed) to run RCU
at a later time. If you choose to run the graphical interface, the data provided in a response
file can be used to prepopulate the RCU screens. If you choose to run RCU from the
command line, you can use a response file to provide values for all valid command-line
parameters to RCU rather than directly specifying these parameters on the command line.
For more information, see Using Response Files.
When you click Save Response File, you see the Save Response File dialog box.
The following table describes the fields on this dialog box:
A-19
Appendix A
Summary (for Drop Operation)
Element Description
Directory to save Response file Specify the full path of a directory. This directory is
where the response file is saved. By default, RCU saves
the response file in the $HOME/.rcu directory.
Click Browse to search for a specific directory.
Save Passwords in Wallet Select this option to securely store the passwords that
you entered on the RCU screens in an Oracle Wallet file.
For example, the schema passwords entered on the
Schema Passwords screen are saved to this file.
By default, this option is not selected. RCU does not
save your passwords unless you select this option.
You can use the wallet later in silent situations to pass
the necessary passwords to RCU without having to
directly enter your passwords on the command line. If a
wallet is not passed to RCU in silent mode, you are
prompted to enter the required passwords.
Click OK to generate the wallet (if selected) and response file in the given location and
return to the Summary screen.
Review the information on the Summary screen, and click Create to begin schema
creation. When you click Create, the operations summarized on this page are
performed.
While the schemas are being created, you will see the progress screen.
Click Stop to stop creating the schemas.
A-20
Appendix A
Completion Summary (for Create Operation)
Element Description
Directory to save Response file Specify the full path of a directory. This directory is
where the response file is saved. By default, RCU saves
the response file in the $HOME/.rcu directory.
Click Browse to search for a specific directory.
Save Passwords in Wallet Select this option to securely store the passwords that
you entered on the RCU screens in an Oracle Wallet file.
For example, the schema passwords entered on the
Schema Passwords screen are saved to this file.
By default, this option is not selected. RCU does not
save your passwords unless you select this option.
You can use the wallet later in silent situations to pass
the necessary passwords to RCU without having to
directly enter your passwords on the command line. If a
wallet is not passed to RCU in silent mode, you are
prompted to enter the required passwords.
Click OK to generate the wallet (if selected) and response file in the given location and return
to the Summary screen.
Review the information on the Summary screen, and click Drop to begin the operations
summarized on this page.
While the schema(s) are being dropped, you will see the progress screen.
Click Stop if you want to cancel the operation.
A-21
Appendix A
Completion Summary (for Drop Operation)
A-22
B
About Repository Creation Utility Schemas,
IDs, and Tablespaces
Before you run RCU, make sure you understand the available schemas that can be created
by using RCU, and also their component IDs and dependencies.
Following sections explains about the RCU schemas and its dependencies:
• Repository Creation Utility Schemas, IDs, and Tablespaces
Each schema that can be created by using RCU has a schema owner, component ID,
and default tablespace mappings. You should also be aware of schema dependencies
when you create or drop schemas.
Note:
Not all schemas are supported on all database types. For more information about
supported schemas, see Repository Creation Utility Requirements in the Oracle
Fusion Middleware System Requirements and Specifications document.
B-1
Appendix B
Repository Creation Utility Schemas, IDs, and Tablespaces
Table B-1 (Cont.) Schema Component IDs, Tablespace Mappings, and Dependencies
B-2
Appendix B
Repository Creation Utility Schemas, IDs, and Tablespaces
Table B-1 (Cont.) Schema Component IDs, Tablespace Mappings, and Dependencies
B-3
Appendix B
Repository Creation Utility Schemas, IDs, and Tablespaces
Table B-1 (Cont.) Schema Component IDs, Tablespace Mappings, and Dependencies
B-4
Appendix B
Repository Creation Utility Schemas, IDs, and Tablespaces
Table B-1 (Cont.) Schema Component IDs, Tablespace Mappings, and Dependencies
B-5
Appendix B
Repository Creation Utility Schemas, IDs, and Tablespaces
Table B-1 (Cont.) Schema Component IDs, Tablespace Mappings, and Dependencies
B-6
Appendix B
Repository Creation Utility Schemas, IDs, and Tablespaces
Table B-1 (Cont.) Schema Component IDs, Tablespace Mappings, and Dependencies
B-7
Appendix B
Repository Creation Utility Schemas, IDs, and Tablespaces
Table B-1 (Cont.) Schema Component IDs, Tablespace Mappings, and Dependencies
B-8
Appendix B
Repository Creation Utility Schemas, IDs, and Tablespaces
Table B-1 (Cont.) Schema Component IDs, Tablespace Mappings, and Dependencies
1 For more information about the Service Table schema, see About the Service Table Schema.
As an example, Table B-2 provides the schema details for Oracle HTTP Server configuration.
Table B-2 Schemas for Oracle HTTP Server Configured in WebLogic Server Domain
B-9
C
Extending Repository Creation Utility to
Configure Custom Application Repositories
You can use configuration XML files to generate custom schema creation and deletion
scripts.
RCU provides an XML-based framework for component owners to plug in your schema
creation and deletion scripts into RCU. The following topics provide some details of the
configuration XML files and script-writing guidelines that are used to integrate your
components with RCU:
• RCU Integration Options
RCU provides several options for integrating component scripts.
• RCU Configuration Files
RCU provides several configuration file types for component integration.
• RCU Script Writing Guidelines
Use these guidelines when writing RCU scripts.
C-1
Appendix C
RCU Integration Options
<Parameters>
<Parameter TYPE="String">MDS</Parameter>
C-2
Appendix C
RCU Integration Options
</Parameters>
</Action>
SQL*Plus Scripts
This option is mainly for the consumption of legacy components that need to be loaded from
RCU.
Example:
<Action TYPE="SQLPlus" PERCENT_PROGRESS="100">
<Command TYPE="SCRIPT">%SCRIPT_HOME%/oid/scripts/seedldap.sql</Command>
<IgnorableErrors>
<Error Type="ORA-01918">user name does not exist</Error>
</IgnorableErrors>
</Action>
External Processes
This option is provided only for those components that have their own configuration tool for
schema creation, like OPCA (Oracle Portal 10g).
This is not a recommended option for any new component, as this option cannot make use of
the RCU error handling framework.
Example:
<Action TYPE="HostCmd">
<Command TYPE="SCRIPT">%RCU_HOME%/rcu/integration/cdb/config/bin/configure</Command>
<Parameters>
<Parameter TYPE="ProcessInput">%JDBC_CONNECT_STRING%</Parameter>
<Parameter TYPE="ProcessInput">%DBADMIN_USER%</Parameter>
<Parameter TYPE="ProcessInput">%DBADMIN_PASSWORD%</Parameter>
<Parameter TYPE="ProcessInput">%PREFIX_NAME%</Parameter>
<Parameter TYPE="ProcessInput">%SCHEMA_USER%</Parameter>
<Parameter TYPE="ProcessInput">%SCHEMA_PASSWORD%</Parameter>
<Parameter TYPE="ProcessInput">%DEFAULT_TABLESPACE%</Parameter>
<Parameter TYPE="ProcessInput">%TEMPORARY_TABLESPACE%</Parameter>
</Parameters>
</Action>
C-3
Appendix C
RCU Configuration Files
<Parameters>
<Parameter TYPE="Connection"></Parameter>
<Parameter TYPE="String">%SCHEMA_USER%</Parameter>
</Parameters>
</Action>
A second example:
<Action TYPE="Java">
<Command TYPE="METHOD">oracle.webdb.config.PortalConfigAssistant:main</
Command>
<Parameters>
<Parameter TYPE="StringArray">-mode PORTAL -s %SCHEMA_USER% -p
%DBADMIN_PASSWORD% -c %DB_HOSTNAME%:%DB_PORTNUMBER%:%DB_SERVICE% -silent -
verbose -owa -u %DEFAULT_TABLESPACE% -t %TEMPORARY_TABLESPACE% -d
%SCHEMA_USER%_DOC -l %SCHEMA_USER%_LOG -in %SCHEMA_USER%_IDX -demo -report -voh
%RCU_HOME% -log %RCU_LOG_LOCATION% -oh %SQLPLUS_HOME% -mrc %PREFIX_NAME% -rcu </
Parameter>
</Parameters>
</Action>
C-4
Appendix C
RCU Configuration Files
• Soft-Prerequisite Support
If a particular <DBPrerequisiteSet> or <DBPrerequisite> is not mandatory, then you can
use the soft-prerequisite option by setting the SOFT attribute to TRUE in the
ComponentInfo.xml file
• Default Tablespaces Configuration File
The default tablespaces configuration file (Storage.xml) lists the components, for which,
tablespaces are created out-of-the-box. This file is located in the ORACLE_HOME/
oracle_common/rcu/config directory on UNIX operating systems or in the
ORACLE_HOME\oracle_common\rcu\config directory on Windows operating systems.
C-5
Appendix C
RCU Configuration Files
C-6
Appendix C
RCU Configuration Files
ADDITIONAL_TABLESPACE7|ADDITIONAL_TABLESPACE8|ADDITIONAL_TABLESPACE9|
ADDITIONAL_TABLESPACE10|ADDITIONAL_TABLESPACE11|ADDITIONAL_TABLESPACE12|
ADDITIONAL_TABLESPACE13|ADDITIONAL_TABLESPACE14|ADDITIONAL_TABLESPACE15|
ADDITIONAL_TABLESPACE16|ADDITIONAL_TABLESPACE17|ADDITIONAL_TABLESPACE18|
ADDITIONAL_TABLESPACE19|ADDITIONAL_TABLESPACE20|ADDITIONAL_TABLESPACE21|
ADDITIONAL_TABLESPACE22|ADDITIONAL_TABLESPACE23|ADDITIONAL_TABLESPACE24|
ADDITIONAL_TABLESPACE25|ADDITIONAL_TABLESPACE26|ADDITIONAL_TABLESPACE27|
ADDITIONAL_TABLESPACE28|ADDITIONAL_TABLESPACE29|ADDITIONAL_TABLESPACE30|
ADDITIONAL_TABLESPACE31) "DEFAULT_TABLESPACE">
<!ELEMENT Tablespace (Prompt, TablespaceName)>
<!ELEMENT Prompt (#PCDATA)>
<!ATTLIST Prompt NLS_ID CDATA #IMPLIED>
<!ELEMENT TablespaceName (#PCDATA)>
<!ELEMENT CustomVariables (Variable*, ValidationDescriptor*)>
<!ATTLIST Variable
TYPE (STRING|NUMBER|PASSWORD|EXISTING_PASSWORD|FILE|LIST) "STRING"
MAX_LENGTH CDATA "30"
MIN_LENGTH CDATA "0"
MAX_VALUE CDATA #IMPLIED
MIN_VALUE CDATA #IMPLIED
OPERATION (CREATE|DROP|SYSTEM_LOAD|DATA_LOAD|BOTH) "BOTH"
DEFAULT_VALUE CDATA ""
PROMPT_ON_DEFAULT_VALUE (YES|NO) "YES"
VALUES CDATA "">
<!ELEMENT Variable (Name,Display)>
<!ELEMENT ValidationDescriptor (Action*)>
<!ATTLIST ValidationDescriptor
OPERATION (CREATE|DROP|SYSTEM_LOAD|DATA_LOAD|BOTH) "BOTH">
<!ELEMENT Name (#PCDATA)>
C-7
Appendix C
RCU Configuration Files
C-8
Appendix C
RCU Configuration Files
C-9
Appendix C
RCU Configuration Files
C-10
Appendix C
RCU Configuration Files
C-11
Appendix C
RCU Configuration Files
</PrerequisiteDescriptor>
<PrerequisiteDescriptor TYPE="DROP">
<!-- ORACLE Prerequisites -->
C-12
Appendix C
RCU Configuration Files
</PrerequisiteDescriptor>
<!-- Creating the OPSS Schema and Setting it to valid in the Registry -->
<ExecutionDescriptor>
<Action TYPE="Java" PERCENT_PROGRESS="20">
<Command
TYPE="METHOD">oracle.ias.version.SchemaVersionUtil:utilCreateRegistryEntry</Command>
<Parameters>
<Parameter TYPE="Connection"></Parameter>
<Parameter TYPE="String">OPSS</Parameter>
<Parameter TYPE="String">Oracle Platform Security Services</Parameter>
<Parameter TYPE="String">%PREFIX_NAME%</Parameter>
<Parameter TYPE="String">OPSS</Parameter>
<Parameter TYPE="String">OPSS</Parameter>
<Parameter TYPE="String">%SCHEMA_USER%</Parameter>
<Parameter TYPE="String">12.1.2.0.0</Parameter>
<Parameter TYPE="String">LOADING</Parameter>
</Parameters>
</Action>
<Action TYPE="JDBCSqlScript" PERCENT_PROGRESS="40">
<ValidIf DBTYPE="ORACLE" />
<Command TYPE="SCRIPT">%SCRIPT_HOME%/opss/scripts/opss_user.sql</Command>
<Parameters>
<Parameter TYPE="CmdLine">%SCHEMA_USER%</Parameter>
<Parameter TYPE="CmdLine">%SCHEMA_PASSWORD%</Parameter>
<Parameter TYPE="CmdLine">%DEFAULT_TABLESPACE%</Parameter>
<Parameter TYPE="CmdLine">%TEMPORARY_TABLESPACE%</Parameter>
</Parameters>
<IgnorableErrors>
<Error Type="ORA-01918">user name does not exist</Error>
C-13
Appendix C
RCU Configuration Files
</IgnorableErrors>
</Action>
<Action TYPE="JDBCSqlScript" PERCENT_PROGRESS="20">
<ValidIf DBTYPE="EBR" />
<Command TYPE="SCRIPT">%SCRIPT_HOME%/opss/scripts/oracleEbr/
opss_user.sql</Command>
<Parameters>
<Parameter TYPE="CmdLine">%SCHEMA_USER%</Parameter>
<Parameter TYPE="CmdLine">%SCHEMA_PASSWORD%</Parameter>
<Parameter TYPE="CmdLine">%DEFAULT_TABLESPACE%</Parameter>
<Parameter TYPE="CmdLine">%TEMPORARY_TABLESPACE%</Parameter>
<Parameter TYPE="CmdLine">%EDITION_NAME%</Parameter>
</Parameters>
<IgnorableErrors>
<Error Type="ORA-01918">user name does not exist</Error>
</IgnorableErrors>
</Action>
C-14
Appendix C
RCU Configuration Files
</Action>
C-15
Appendix C
RCU Configuration Files
</Parameters>
</Action>
<Action TYPE="Java">
<Command
TYPE="METHOD">oracle.ias.version.SchemaVersionUtil:utilSetComponentValid</
Command>
<Parameters>
<Parameter TYPE="String">OPSS</Parameter>
</Parameters>
</Action>
</ExecutionDescriptor>
<!-- Deleting the OPSS Schema and removing it from the Registry -->
<DeleteDescriptor>
<Action TYPE="JDBC" PERCENT_PROGRESS="50">
<ValidIf DBTYPE="ORACLE" />
<Command TYPE="INLINE">DROP USER %SCHEMA_USER% CASCADE</Command>
</Action>
<Action TYPE="JDBC" PERCENT_PROGRESS="50">
<ValidIf DBTYPE="EBR" />
<Command TYPE="INLINE">DROP USER %SCHEMA_USER% CASCADE</Command>
</Action>
C-16
Appendix C
RCU Configuration Files
opss_drop_table.sql</Command>
<Parameters>
<Parameter TYPE="CmdLine">%DATABASE_NAME%</Parameter>
</Parameters>
</Action>
<Action TYPE="JDBCSqlScript" PERCENT_PROGRESS="50">
<ValidIf DBTYPE="SQLSERVER" />
<Command TYPE="SCRIPT">%SCRIPT_HOME%/opss/scripts/sqlserver/
opss_drop_user.sql</Command>
<Parameters>
<Parameter TYPE="CmdLine">%DATABASE_NAME%</Parameter>
<Parameter TYPE="CmdLine">%SCHEMA_USER%</Parameter>
</Parameters>
</Action>
Note:
RCU uses dynamic discovery to detect the available components. As a result, all of
the components might not be listed in the Component List configuration file.
C-17
Appendix C
RCU Configuration Files
<ComponentConfigFiles>
<ConfigFile ID="MDS">%RCU_HOME%/../oracle_common/common/sql/mds/
mds_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="IAU">%RCU_HOME%/../oracle_common/common/sql/iau/
iau_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="OPSS">%RCU_HOME%/../oracle_common/common/sql/opss/
opss_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="UCSMESSAGING">%RCU_HOME%/../oracle_common/common/sql/
ucs.messaging/ucs.messaging_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="WLS">%RCU_HOME%/../oracle_common/common/sql/wlsservices/
wlsservices_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="ESS">%RCU_HOME%/../oracle_common/common/sql/ess/
ess_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="SOAINFRA">%RCU_HOME%/../soa/common/sql/soainfra/
soainfra_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="ODI">%RCU_HOME%/../odi/common/sql/odi/odi_ComponentInfo.xml</
ConfigFile>
<ConfigFile ID="OER">%RCU_HOME%/../oer/common/sql/oer/oer_ComponentInfo.xml</
ConfigFile>
<ConfigFile ID="OWLCS">%RCU_HOME%/../oracle_common/common/sql/ucs.callcontrol/
ucs.callcontrol_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="SVCTBL">%RCU_HOME%/../oracle_common/common/sql/svctbl/
svctbl_ComponentInfo.xml</ConfigFile>
<ConfigFile ID="MFT">%RCU_HOME%/../mft/common/sql/mft/mft_ComponentInfo.xml</
ConfigFile>
C-18
Appendix C
RCU Configuration Files
</ComponentConfigFiles>
<PrerequisiteDescriptor>
<DBPrerequisiteSet OPERATOR="OR">
<ValidIf DBTYPE="ORACLE" />
<DBPrerequisite PREREQ_TYPE="InitParameter" DATA_TYPE="NUMBER"
COMPARE_OPERATOR="GE">
<PrereqIdentifier>SHARED_POOL_SIZE</PrereqIdentifier>
<PrereqValue UNIT="KB">147456</PrereqValue>
</DBPrerequisite>
<DBPrerequisite PREREQ_TYPE="InitParameter" DATA_TYPE="NUMBER"
COMPARE_OPERATOR="GE">
<PrereqIdentifier>SGA_MAX_SIZE</PrereqIdentifier>
<PrereqValue UNIT="KB">147456</PrereqValue>
</DBPrerequisite>
</DBPrerequisiteSet>
<DBPrerequisiteSet OPERATOR="AND">
<ValidIf DBTYPE="ORACLE" />
<DBPrerequisite PREREQ_TYPE="CustomSQL" DATA_TYPE="NUMBER" COMPARE_OPERATOR="EQ"
SOFT="TRUE">
<ValidIf DBTYPE="ORACLE">
<CustomQueryFilter DATA_TYPE="NUMBER" COMPARE_OPERATOR="EQ" VALUE="1">
select 1 from dual where exists (select column_name from dba_tab_columns where
table_name(+) like 'V_$INSTANCE' and column_name(+) = 'EDITION') union select 0 from
dual where not exists (select column_name from dba_tab_columns where table_name(+)
like 'V_$INSTANCE' and column_name(+) = 'EDITION')
</CustomQueryFilter>
</ValidIf>
<PrereqIdentifier>select count (*) from V_$INSTANCE where EDITION = 'XE'</
PrereqIdentifier>
<PrereqValue>0</PrereqValue>
<PrereqErrorMsg>
The database you are connecting is not a
supported version. Refer to the certification matrix for supported DB versions.
</PrereqErrorMsg>
</DBPrerequisite>
C-19
Appendix C
RCU Configuration Files
</DBPrerequisiteSet>
C-20
Appendix C
RCU Configuration Files
higher than 11.1.0.7.0 in 11g. Refer to the certification matrix for supported DB
versions
</PrereqErrorMsg>
</DBPrerequisite>
C-21
Appendix C
RCU Configuration Files
C-22
Appendix C
RCU Configuration Files
C-23
Appendix C
RCU Configuration Files
C-24
Appendix C
RCU Configuration Files
C-25
Appendix C
RCU Configuration Files
C-26
Appendix C
RCU Configuration Files
</DBPrerequisite>
</PrerequisiteDescriptor>
<ExecutionDescriptor TYPE="PreLoad">
<Action TYPE="Java" PERCENT_PROGRESS="60">
<ValidIf DBTYPE="ORACLE,EBR">
<CustomQueryFilter DATA_TYPE="NUMBER" COMPARE_OPERATOR="EQ" VALUE="0">
select count(*) from dba_views where VIEW_NAME= 'SCHEMA_VERSION_REGISTRY'
</CustomQueryFilter>
</ValidIf>
<Command
TYPE="METHOD">oracle.ias.version.SchemaVersionUtil:utilCreateRegistryTable</Command>
<Parameters>
<Parameter TYPE="Connection"></Parameter>
</Parameters>
</Action>
<Action TYPE="Java" PERCENT_PROGRESS="60">
<ValidIf DBTYPE="SQLSERVER">
<CustomQueryFilter DATA_TYPE="NUMBER" COMPARE_OPERATOR="EQ" VALUE="0">
select count(*) from INFORMATION_SCHEMA.TABLES where
TABLE_NAME='SCHEMA_VERSION_REGISTRY'
</CustomQueryFilter>
</ValidIf>
<Command
TYPE="METHOD">oracle.ias.version.SchemaVersionUtil:utilCreateRegistryTable</Command>
<Parameters>
<Parameter TYPE="Connection"></Parameter>
</Parameters>
</Action>
<Action TYPE="Java" PERCENT_PROGRESS="60">
<ValidIf DBTYPE="IBMDB2">
<CustomQueryFilter DATA_TYPE="NUMBER" COMPARE_OPERATOR="EQ" VALUE="0">
select count(*) from syscat.tables where
TABNAME='SCHEMA_VERSION_REGISTRY'
</CustomQueryFilter>
</ValidIf>
<Command
TYPE="METHOD">oracle.ias.version.SchemaVersionUtil:utilCreateRegistryTable</Command>
<Parameters>
<Parameter TYPE="Connection"></Parameter>
</Parameters>
</Action>
<Action TYPE="Java" PERCENT_PROGRESS="60">
<ValidIf DBTYPE="JAVADB">
<CustomQueryFilter DATA_TYPE="NUMBER" COMPARE_OPERATOR="EQ"
VALUE="0">
SELECT COUNT(*) FROM SYS.SYSTABLES INNER JOIN SYS.SYSSCHEMAS ON
SYS.SYSTABLES.SCHEMAID = SYS.SYSSCHEMAS.SCHEMAID WHERE SCHEMANAME='ORACLEFMW' AND
C-27
Appendix C
RCU Configuration Files
TABLENAME='SCHEMA_VERSION_REGISTRY_T'
</CustomQueryFilter>
</ValidIf>
<Command
TYPE="METHOD">oracle.ias.version.SchemaVersionUtil:utilCreateRegistryTable</
Command>
<Parameters>
<Parameter TYPE="Connection"></Parameter>
</Parameters>
</Action>
</ExecutionDescriptor>
<ExecutionDescriptor TYPE="PostLoad">
<Action TYPE="Java" PERCENT_PROGRESS="60">
<ValidIf DBTYPE="EBR"/>
<Command
TYPE="METHOD">oracle.ias.version.SchemaVersionUtil:utilSetEditionName</Command>
<Parameters>
<Parameter TYPE="String">%EDITION_NAME%</Parameter>
</Parameters>
</Action>
<Action TYPE="Java">
<ValidIf DBTYPE="ORACLE,EBR"/>
<Command
TYPE="METHOD">com.oracle.cie.rcu.ComponentSchemaUtil:loadCompSchemaInfo</Command>
<Parameters>
<Parameter TYPE="Connection"></Parameter>
<Parameter TYPE="String">%SERVICE_TABLE_STRING%</Parameter>
<Parameter TYPE="String">%PREFIX_NAME%</Parameter>
<Parameter TYPE="String">%DB_HOSTNAME%</Parameter>
<Parameter TYPE="String">%DB_SERVICE%</Parameter>
<Parameter TYPE="String">%DB_PORTNUMBER%</Parameter>
</Parameters>
</Action>
<Action TYPE="Java">
<ValidIf DBTYPE="SQLSERVER,IBMDB2,MYSQL,JAVADB"/>
<Command
TYPE="METHOD">com.oracle.cie.rcu.ComponentSchemaUtil:loadNonOracleCompSchemaInfo<
/Command>
<Parameters>
<Parameter TYPE="Connection"></Parameter>
<Parameter TYPE="String">%SERVICE_TABLE_STRING%</Parameter>
<Parameter TYPE="String">%PREFIX_NAME%</Parameter>
C-28
Appendix C
RCU Configuration Files
<Parameter TYPE="String">%DB_HOSTNAME%</Parameter>
<Parameter TYPE="String">%DB_PORTNUMBER%</Parameter>
<Parameter TYPE="String">%DATABASE_NAME%</Parameter>
</Parameters>
</Action>
</ExecutionDescriptor>
<FatalErrors>
<Error Type="ORA-17439">Invalid SQL type</Error>
<Error Type="ORA-01435">user does not exist</Error>
<Error Type="ORA-01435">user does not exist</Error>
<Error Type="ORA-00955">name is already used by an existing object</Error>
<Error Type="ORA-01031">name is already used by an existing object</Error>
</FatalErrors>
<IgnorableErrors>
<Error Type="ORA-02289">sequence does not exist</Error>
<Error Type="ORA-00904">invalid identifier</Error>
<Error Type="ORA-01920">user name conflicts with another user or role name</Error>
<Error Type="ORA-01418">specified index does not exist</Error>
<Error Type="ORA-00942">table or view does not exist</Error>
<Error Type="ORA-06512">Not found</Error>
<Error Type="ORA-01403">no data found</Error>
<Error Type="ORA-04043">does not exist</Error>
<Error Type="ORA-04080">Trigger does not exist</Error>
<Error Type="ORA-00959">Tablespace does not exist</Error>
<Error Type="ORA-24035">AQ agent not subscriber</Error>
<Error Type="ORA-24185">Transformation not found</Error>
<Error Type="ORA-24042">Does not exist</Error>
<Error Type="ORA-24088">Does not exist</Error>
</IgnorableErrors>
</ComponentInfo>
Soft-Prerequisite Support
If a particular <DBPrerequisiteSet> or <DBPrerequisite> is not mandatory, then you can use
the soft-prerequisite option by setting the SOFT attribute to TRUE in the ComponentInfo.xml file
When a soft-prerequisite is not met, a pop-up dialog window with an error or warning
message appears; the user has the option to ignore the message or abort the operation. You
can define a soft-prerequisite at the <DBPrerequisiteSet> level, the <DBPrerequisite> level,
or both; if both are defined, then <DBPrerequisiteSet> takes higher precedence.
C-29
Appendix C
RCU Script Writing Guidelines
...
<DBPrerequisiteSet>
The actual tablespace configuration file for each component is located in the
ORACLE_HOME/oracle_common/rcu/integrationcomponent/component_Storage.xml
directory on UNIX operating systems or in the
ORACLE_HOME\oracle_common\rcu\integrationcomponent\component_Storage.xml
directory on Windows operating systems. Each component has its own tablespaces
configuration file.
Below is a sample opss_Storage.xml file:
<?xml version="1.0" encoding="UTF-8" ?>
For RCU XML Configuration File Details, refer Table C-1 in Storage Attributes
Configuration File
C-30
Appendix C
RCU Script Writing Guidelines
Dynamically calling another SQL Script within a PL/SQL block using the following
technique is not supported:
VARIABLE initfile VARCHAR2(32)
COLUMN :initfile NEW_VALUE init_file NOPRINT;
BEGIN
IF (some condition) THEN
:initfile := 'initcdc.sql';
ELSE
:initfile := 'nothing.sql';
END IF;
END;
/
SELECT :initfile FROM DUAL;
@@&init_file
The work around is to have a separate Action with a ValidIf tag to specify the condition.
C-31
Appendix C
RCU Script Writing Guidelines
C-32
Appendix C
RCU Script Writing Guidelines
• Variables passed to scripts through the XML file are passed as follows:
Script.sql –v v1=value1 v2=value2
This is only for scripts called by using the XML files. If a script calls another script, you
can use any other variable name.
C-33
D
Troubleshooting Repository Creation Utility
Review this information to help you understand and troubleshoot any errors or issues that
you encounter while you run the RCU.
• General Troubleshooting Tips
Use these tips to help troubleshoot any errors that you encounter during installation.
• RCU Log Files
When you run RCU to create or drop your schemas, the main RCU log file is written to
the /tmp/RCUdate_timestamp_random_number/logs directory on UNIX operating systems
or C:\Users\user_name\AppData\Local\Temp\RCUdate_timestamp_random_number\logs
directory on Windows operating systems, by default.
• RCU Fails to Connect with ORA-604 ORA-1882 Error Codes
Error codes ORA-604 and ORA-1882.
• SOAINFRA Schema Creation Fails on a Hardened Database
Use this workaround if the RCU schemas for SOAINFRA does not load successfully on an
Oracle hardened database.
• Troubleshooting Tips for Schema Creation on an Autonomous Transaction Processing
Database
Use these tips to troubleshoot any errors you encounter during schema creation on an
Autonomous Transaction Processing database (both Oracle Autonomous Transaction
Processing-Dedicated (ATP-D) and Oracle Autonomous Transaction Processing-Shared
(ATP-S)).
• Known Limitation for Oracle WebCenter Sites ATP-S Migration
• Troubleshooting Database Configuration Error for Microsoft SQL Server
When running Repository Creation Utility (RCU) for Oracle Business Intelligence or
Oracle Analytics Server on a Microsoft SQL Server database, an SQL SERVER RCU
error can occur due to incorrect database configuration.
• Need More Help?
If this guide does not solve the problem that you encountered, try looking for a solution on
My Oracle Support (formerly Oracle MetaLink).
D-1
Appendix D
RCU Log Files
• Verify that your environment meets the certification requirements for your release
and platform, as specified on the Oracle Fusion Middleware Supported System
Configurations page.
• Make sure that your database is up and running.
• If you entered incorrect information on one of the screens, use the navigation pane
on the left most side of the graphical interface to return to that screen.
• If an error occurred while running RCU:
1. Note the error and review the installation log files (see RCU Log Files).
2. Correct the issue that caused the error. Depending on the type of error, you
may either continue with your RCU operation, or you are forced to restart
RCU.
3. Continue or restart RCU to complete your desired operation.
1. From the Start menu, select Control Panel, then Appearance and
Personalization, and then Folder Options.
The Folder Options window appears.
2. Select the View tab.
3. Under Advanced settings, ensure that Show hidden files, folders, and drives is
selected and click OK.
Table D-1 lists the component log file names in alphabetical order by log file name.
D-2
Appendix D
RCU Fails to Connect with ORA-604 ORA-1882 Error Codes
D-3
Appendix D
SOAINFRA Schema Creation Fails on a Hardened Database
RCU_JAVA_OPTIONS -Doracle.jdbc.timezoneAsRegion=false
Grant the following permission to the user and run the Repository Creation Utility
(RCU) again to create the schemas for SOAINFRA.
GRANT EXECUTE ON DBMS_LOB TO XDB;
D-4
Appendix D
Known Limitation for Oracle WebCenter Sites ATP-S Migration
Note:
If you are creating schemas on an Oracle Autonomous Transaction Processing-
Shared (ATP-S) database, in the Map Tablespaces screen, you must override
the default and temporary tablespaces. See Map Tablespaces.
• During Oracle WebCenter Content schema creation, warnings are displayed in the
Summary screen.
You can click Ignore and continue with the schema creation.
Example warning messages:
ORA-01031: insufficient privileges
File:/home/opc/idm/oracle_common/../wcccontent/common/sql/content/sql/oracle/
contentserverrole.sql
Statement: GRANT SELECT ON CTXSYS.DR$PENDING TO contentserver_role
D-5
Appendix D
Troubleshooting Database Configuration Error for Microsoft SQL Server
Note:
You can also modify an existing repository database.
If you are unable to find a solution for your problem, open a service request.
D-6