Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer Scheduler service > Manage schedulers > Create the database for schedulers > Create scheduler tables using DDL files


Create Apache Derby tables for schedulers

This topic describes how to create tables for schedulers on Apache Derby databases, using data definition language (DDL) or structured query language (SQL) files. This task requires you to configure a database and make it available. Refer to the Creating Cloudscape databases for schedulers topic, for more information. To create tables for schedulers on Apache Derby databases, using data definition language (DDL) or structured query language (SQL) files, use these steps.


Procedure

  1. Open a command-line window.

  2. Create the schema.

    1. Use a text editor, edit the script, %WAS_HOME%\Scheduler\createSchemaMod1Derby.ddl, according to the instructions at the top of the file.

      Attention: When setting the table prefix, capitalize all characters.

    2. Enter one of the following commands.

      Attention: Apache Derby provides both an embedded and network server version. This example is for the embedded version of Apache Derby. See the Apache Derby product documentation for more details on running DDL scripts. On Windows systems (using the example name, scheddb):

      %WAS_HOME%\derby\bin\embedded\ij.bat %WAS_HOME%\Scheduler\createSchemaMod1Derby.ddl
      
      On UNIX systems (using the example name, scheddb):
      %WAS_HOME%/derby/bin/embedded/ij.sh %WAS_HOME%/Scheduler/createSchemaMod1Derby.ddl
      


Results

The Apache Derby tables and schema for the scheduler exist.
Create Apache Derby databases for schedulers


Related


Data source minimum required settings, by vendor

+

Search Tips   |   Advanced Search