内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (1147 KB)
start-database(1)Name | Synopsis | Description | Options | Examples | Exit Status | See Also Name
Synopsis
start-database [--dbhost host] [--dbport port-no]
[--dbhome db-file-path] [--echo={false|true}]
[ --terse ={false|true}]
Description
The start-database command starts the Java DB server that is available with the Sun Java System Application Server software for use with the Application Server. Use this command only for working with applications deployed to the Application Server. Java DB is based upon Apache Derby. When the Java DB database server is started by using this command, the database server is started in Network Server mode. Clients connecting to it must use the Java DB ClientDriver. For details on connecting to the database, such as the Driver Class Name and Connection URL, see the Apache Derby documentation. When the database server starts, or a client connects to it successfully, the following files are created: These files are created at the location that is specified by the --dbhome option. If the --dbhome option is not specified, the start-database command determines where to create these files as follows: To create the database files at a particular location, you must set the --dbhome option. The start-database command starts the database process, even if it cannot write to the log file. This command is supported in local mode only. Options
ExamplesExample 1 Using the start-database commandThe following command starts Java DB on the host host1 and port 5001:
Exit Status
The exit status applies to errors in executing the asadmin command. For information on database errors, see the derby.log file. See AlsoJava EE 5 Last Revised 14 Apr 2008Name | Synopsis | Description | Options | Examples | Exit Status | See Also |
|