Starting and Stopping the Java DB Server (original) (raw)
The GlassFish Server includes the Java DB database server.
To start the Java DB server from the command line, open a terminal window or command prompt and execute:
asadmin start-database
To stop the Java DB server from the command line, open a terminal window or command prompt and execute:
asadmin stop-database
For information about the Java DB included with the GlassFish Server, seehttp://www.oracle.com/technetwork/java/javadb/overview/index.html.
To Start the Database Server Using NetBeans IDE
When you start the GlassFish Server using NetBeans IDE, the database server starts automatically. If you ever need to start the database server manually, follow these steps.
- Click the Services tab.
- Expand the Databases node.
- 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.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices