WAS v8.5 > Administer applications and their environment > Welcome to administering Scheduler service > Manage schedulers > Create the database for schedulers > Create scheduler databases

Create Apache Derby databases for schedulers

This topic describes how to create Apache Derby databases for schedulers using data definition language (DDL) or structured query language (SQL) files.

To create Apache Derby databases for schedulers, using data definition language (DDL) or structured query language (SQL) files, use these steps.

  1. Open a command-line window.
  2. Verify that we have administrator rights for the database system.
  3. Verify the database supports Unicode (UTF-8). Otherwise, the database does not store all characters that can be handled in Java code, which results in code page conversion problems when a client uses an incompatible code page.

  4. Use the ij utility supplied with the Apache Derby system to create the database. To use ij to create a database called scheddb which is located in /opt, for example, you would do the following:
    ij.sh 
    ij>connect '/opt/scheddb;create=true';
    ij>quit;
    The embedded version of Apache Derby supports only one local connection. If the Application Server product is running and accessing a Apache Derby database, then any attempts to open a second connection to the database from the command line are rejected.

    Add a semi-colon (;) at the end of each command. Otherwise, ij does not execute the command.

  5. Exit the ij utility by issuing the quit command: quit;


Results

The Apache Derby database for the scheduler service exists.


Reference:

Data source minimum required settings, by vendor


+

Search Tips   |   Advanced Search