Creating Apache Derby databases for schedulers

Create Apache Derby databases for schedulers using data definition language (DDL) or structured query language (SQL) files.

About this task

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

Procedure

  1. Open a command-line window.
  2. Verify that you have administrator rights for the database system.
  3. Verify that 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.
    Note: 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.

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:21
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tsch_codbcl
檔名:tsch_codbcl.html