Sun Java System Application Server 8.2 introduces two new asadmin commands for starting and stopping the Derby Network Server.
The start-database command can be used to start an instance of the Derby 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 Derby to listen on localhost as well as the IP/hostname interfaces. The value for the dbhome property represents the location of where the Derby databases reside. The default path is <appserver_install_dir>/derby.
The asadmin stop-database command is used to shut down an instance of the Derby network server that is running:
stop-database [--dbhost 0.0.0.0] [--dbport 1527] |