Creating the Oracle database
To create a WSRR database manually, you must edit and run the scripts that come with WebSphere® Service Registry and Repository, this topic tells you how to edit and run scripts associated with the Oracle database.
About this task
You must create the database using the UTF-8 code set. No other code sets will function correctly.
Before you can run scripts to create an Oracle database manually, you must customize them for WSRR. You can create the following databases:- WSRR
- Activity logging
- Service integration bus. Note: Using WSRR without a service integration bus is not supported.
Use the following values:
Value | Description |
---|---|
$ACTDB_SCHEMA | Activity logging database schema. This must be the same as the value of $ACTDB_USER. |
$DB_NAME | WSRR database name. |
$DB_SCHEMA | WSRR database schema. This must be the same as the value of $DB_USER. |
$DB_USER | User in the Oracle database (default is SYSTEM). |
$DB_PASS | The password for $DB_USER |
$ORACLEPATH | The Oracle installation directory. |
$ORAUSER | The operating system ID owning the oracle installation (usually "oracle"). |
$ORASYSPASS | The password for the oracle SYSTEM user. |
$SIBDB_SCHEMA | Service integration bus database schema. This must be the same as the value of $SIBDB_USER. |
$SQLPATH | Path to the SQL files, for example: install_root/WSRR/dbscripts/oracle or install_media_root/dbscripts/oracle. |
Note: When using or creating databases, you must be aware of the following restrictions.
- You must use the ojdbc6.jar file, which is the Java™ version 1.6 JDBC driver.
- Databases, whether existing or newly created, must use the UTF-8 code set. No other code sets
will function correctly. To create new databases in UTF-8, set the following parameters:
- CHARACTERSET = "AL32UTF8"
- NATIONALCHARACTERSET= "UTF8"
- Oracle truncates database names to eight characters, so you must avoid names longer than eight characters.
- Ensure that a listener is defined to accept TCP connections by using the netca tool. For more information, see the Oracle documentation.