Sun Java System Application Server Enterprise Edition 8.2 Release Notes for Microsoft Windows

Using the Bundled Java DB Database

This section provides instructions for using the Java DB database implementation bundled with Application Server 8.2.

Starting and Stopping the Java DB Database

Sun Java System Application Server 8.2 introduces two new asadmin commands for starting and stopping the Java DB Network Server.

Java DB Utility Scripts

The Java DB configuration that ships with Application Server 8.2 also includes several useful scripts that can help you use Java DB. The following scripts are available for use in the appserver_install_dir/derby/frameworks/NetworkServer/bin directory:

ProcedureTo Configure Your Environment to Run the Java DB Utility Scripts

  1. Set the DERBY_INSTALL environment variable to point to the appserver_install_dir/derby directory.

  2. Unset your CLASSPATH environment variable.

  3. (Optional) You can also set the following properties:

    • Set DERBY_SERVER_HOST to the host on which the network server will listen.

      Can also be set to 0.0.0.0 to enable all listeners.

    • Set DERBY_SERVER_PORT to the port number on which the network server will listen.

See Also

For more information about these utilities, see the Derby Tools and Admin guides.