|
|
||
Lance Andersen's BlogGetting Started using Derby with Glassfish and SJSAS 8.2Posted by lancea on February 07, 2006 at 11:10 AM | Comments (0)Glassfish and SJSAS 8.2 introduce two new asadmin commands for starting and stopping the Derby Network Server. The start-database command may be used to start an instance of the Derby network server:
start-database [––dbhost 0.0.0.0] [––dbport 1527] [––dbhome install_dir/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 is <glassfish/sjsas_HOME>/derby. You may also use the asadmin command stop-database to shutdown an instance of the Derby network server that is running:
stop-database [––dbhost 0.0.0.0] [––dbport 1527] The derby configuration that ships with glassfish and SJSAS 8.2 also provides several useful scripts which can assist you with utilizing Derby successfully. To run these scripts, you need to do the following:
The following scripts are available for use in the <glassfish/sjsas_HOME>/derby/frameworks/NetworkServer/bin directory:
For more information, see the Derby tools and admin guide for additional details on these utilities Bookmark blog post: CommentsComments are listed in date ascending order (oldest first) | Post Comment | ||
|
|