Sun Java System Application Server 8.2 introduces two new asadmin commands for starting and stopping the Java DB Network Server.
The start-database command starts an instance of the Java DB network server:
start-database [--dbhost 0.0.0.0] [--dbport 1527] [--dbhome "path/derby"] |
The default value for the host is 0.0.0.0, which allows for Java DB to listen on localhost as well as the IP and hostname interfaces. The value for the dbhome property is the location of the Java DB databases. The default path is appserver_install_dir/derby.
The asadmin stop-database command is used to shut down an instance of the Java DB network server that is running:
stop-database [--dbhost 0.0.0.0] [--dbport 1527] |