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.
-
Use the asadmin start-database command
to start an instance of the Java DB network server:
asadmin start-database [--dbhost 0.0.0.0] [--dbport 1527] [--dbhome path]
|
The default value for the host is 0.0.0.0, which
enables Java DB to listen on localhost as well as the IP/hostname
interfaces. The value for the dbhome property is the location
of where the Java DB databases reside. The default path is as-install/javadb.
-
Use the asadmin stop-database command to
shut down a running instance of the Java DB network server:
asadmin stop-database [--dbhost 0.0.0.0] [--dbport 1527]
|