Starting and Stopping Apache Derby (original) (raw)

GlassFish Server includes Apache Derby.

To start Derby from the command line, open a terminal window or command prompt, change to the _as-install_/bin directory, and execute:

To stop Derby from the command line, open a terminal window or command prompt, change to the _as-install_/bin directory, and execute:

For information about Apache Derby included with GlassFish Server, see the Release Notes that are located in the _as-install_/javadb/ directory.

To Start Derby Using NetBeans IDE

When you start GlassFish Server using NetBeans IDE, the database server starts automatically. If you ever need to start the server manually, however, follow these steps.

  1. Click the Services tab.
  2. Expand Databases.
  3. Right-click Java DB and select Start Server.

Next Steps

To stop the database using NetBeans IDE, right-click Java DB and select Stop Server.