Sun Java System Application Server 9.1 Update 1-9.1 Update 2 Release Notes

Using the Bundled Java DB Database

This section provides instructions for using the Java DB database implementation bundled with Application Server 9.1. Java DB is based on the Apache Derby database.

Starting and Stopping the Java DB Database

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

Java DB Utility Scripts

The Java DB configuration that is supplied with Application Server 9.1 includes scripts that can help you use Java DB. The following scripts are available for use in the as-install/javadb/bin directory:

ProcedureTo Configure Your Environment to Run the Java DB Utility Scripts

  1. Ensure that the JAVA_HOME environment variable specifies the directory where the JDK is installed.

  2. Set the DERBY_HOME environment variable to point to the as-install/javadb directory.

See Also

For more information about these utilities, see the following Derby documentation: