Blame SOURCES/hsqldb-1.8.0-standard.cfg

100e1c
# $Id: hsqldb-1.73.0-standard.cfg,v 1.1 2004/12/23 22:21:08 fnasser Exp $
100e1c
100e1c
# Sample configuration file for HSQLDB database server.
100e1c
# See the "UNIX Quick Start" chapter of the Hsqldb User Guide.
100e1c
100e1c
# N.b.!!!!  You must place this in the right location for your type of UNIX.
100e1c
# See the init script "hsqldb" to see where this must be placed and
100e1c
# what it should be renamed to.
100e1c
100e1c
# This file is "sourced" by a Bourne shell, so use Bourne shell syntax.
100e1c
100e1c
# This file WILL NOT WORK until you set (at least) the non-commented
100e1c
# variables to the appropriate values for your system.
100e1c
# Life will be easier if you avoid all filepaths with spaces or any other
100e1c
# funny characters.  Don't ask for support if you ignore this advice.
100e1c
100e1c
# Thanks to Meikel Bisping for his contributions.  -- Blaine
100e1c
100e1c
# JPackage hsqldb home is /var/lib/hsqldb
100e1c
100e1c
HSQLDB_HOME=/var/lib/hsqldb
100e1c
100e1c
# JPackage source Java config
100e1c
100e1c
. /etc/java/java.conf
100e1c
100e1c
JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/jre}
100e1c
JAVA_EXECUTABLE=${JAVA_HOME}/bin/java
100e1c
100e1c
# Unless you copied a hsqldb.jar file from another system, this typically
100e1c
# resides at $HSQLDB_HOME/lib/hsqldb.jar, where $HSQLDB_HOME is your HSQLDB
100e1c
# software base directory.
100e1c
HSQLDB_JAR_PATH=${HSQLDB_HOME}/lib/hsqldb.jar
100e1c
100e1c
# Where the file "server.properties" (or "webserver.properties") resides.
100e1c
SERVER_HOME=${HSQLDB_HOME}
100e1c
100e1c
# What UNIX user the Server/WebServer process will run as.
100e1c
# (The shutdown client is always run as root or the invoker of the init script).
100e1c
# Runs as root by default, but you should take the time to set database file
100e1c
# ownerships to another user and set that user name here.
100e1c
# You do need to run as root if your Server/WebServer will run on a privileged
100e1c
# (< 1024) port.
100e1c
# If you really do want to run as root, comment out the HSQLDB_OWNER setting
100e1c
# completely.  I.e., do not set it to root.  This will run Server/Webserver
100e1c
# without any "su" at all.
100e1c
HSQLDB_OWNER=hsqldb
100e1c
100e1c
# We require all Server/WebServer instances to be accessible within 
100e1c
# $MAX_START_SECS from when the Server/WebServer is started.
100e1c
# Defaults to 60.
100e1c
# Raise this is you are running lots of DB instances or have a slow server.
100e1c
#MAX_START_SECS=200
100e1c
# Ditto for this one
100e1c
#SU_ECHO_SECS=1
100e1c
100e1c
# Time to allow for JVM to die after all HSQLDB instances stopped.
100e1c
# Defaults to 1.
100e1c
#MAX_TERMINATE_SECS=0
100e1c
100e1c
# These are "urlid" values from a SqlTool authentication file
100e1c
# ** IN ADDITION TO THOSE IN YOUR server.properties OR webserver.properties **
100e1c
# file.  All server.urlid.X values from your properties file will automatically
100e1c
# be started/stopped/tested.  $SHUTDOWN_URLIDS is for additional urlids which
100e1c
# will stopped.  (Therefore, most users will not set this at all).
100e1c
# Separate multiple values with white space.  NO OTHER SPECIAL CHARACTERS!
100e1c
# Make sure to quote the entire value if it contains white space separator(s).
100e1c
# Defaults to none (i.e., only urlids set in properties file will be stopped).
100e1c
#SHUTDOWN_URLIDS='sa mygms'
100e1c
100e1c
# SqlTool authentication file used only for shutdown.
100e1c
# The default value will be sqltool.rc in root's home directory, since it is 
100e1c
# root who runs the init script.
100e1c
# (See the SqlTool chapter of the HSQLDB User Guide if you don't understand 
100e1c
# this).
100e1c
AUTH_FILE=${HSQLDB_HOME}/sqltool.rc
100e1c
100e1c
# Set to 'WebServer' to start a HSQLDB WebServer instead of a Server.
100e1c
# Defaults to 'Server'.
100e1c
#TARGET_CLASS=WebServer
100e1c
100e1c
# Server-side classpath IN ADDITION TO the HSQLDB_JAR_PATH set above.
100e1c
# The classpath here is *earlier* than HSQLDB_JAR_PATH, to allow you 
100e1c
# override classes in the HSQLDB_JAR_PATH jar file.
100e1c
# In particular, you will want to add classpath elements to give access of
100e1c
# all of your store procedures (store procedures are documented in the 
100e1c
# HSQLDB User Guide in the SQL Syntax chapter.
100e1c
#
100e1c
# N.B.!
100e1c
# If you're adding files to the classpath in order to be able to call them
100e1c
# from SQL queries, you will be unable to access them unless you adjust the
100e1c
# value of the system property hsqldb.method_class_names. Please see the
100e1c
# comments on SERVER_JVMARGS, at the end of this file.
100e1c
# SERVER_ADDL_CLASSPATH=/home/blaine/storedprocs.jar:/usr/dev/dbutil/classes
100e1c
100e1c
# For TLS encryption for your Server, set these two variables.
100e1c
# N.b.:  If you set these, then make this file unreadable to non-root users!!!!
100e1c
# See the TLS chapter of the HSQLDB User Guide, paying attention to the 
100e1c
# security warning(s).
100e1c
# If you are running with a private server cert, then you will also need to 
100e1c
# set "truststore" in the your SqlTool config file (location is set by the
100e1c
# AUTH_FILE variable in this file, or it must be at the default location for 
100e1c
# HSQLDB_OWNER).
100e1c
#TLS_KEYSTORE=/path/to/jks/server.store
100e1c
#TLS_PASSWORD=password
100e1c
100e1c
# Any JVM args for the invocation of the JDBC client used to verify DB
100e1c
# instances and to shut them down (SqlToolSprayer).
100e1c
# For multiple args, put quotes around entire value.
100e1c
#CLIENT_JVMARGS=-Djavax.net.debug=ssl
100e1c
100e1c
# Any JVM args for the server.
100e1c
# For multiple args, put quotes around entire value.
100e1c
#
100e1c
# N.B.!
100e1c
# The default value of SERVER_JVMARGS sets the system property 
100e1c
# hsqldb.method_class_names to be empty. This is in order to lessen the
100e1c
# security risk posed by HSQLDB allowing Java method calls in SQL statements.
100e1c
# The implications of changing this value (as explained by the authors of
100e1c
# HSQLDB) are as follows:
100e1c
#     If [it] is not set, then static methods of all available Java classes
100e1c
#     can be accessed as functions in HSQLDB. If the property is set, then
100e1c
#     only the list of semicolon seperated method names becomes accessible.
100e1c
#     An empty property value means no class is accessible.
100e1c
# Regardless of the value of hsqldb.method_class_names, methods in
100e1c
# org.hsqldb.Library will be accessible.
100e1c
# Before making changes to the value below, please be advised of the possible
100e1c
# dangers involved in allowing SQL queries to contain Java method calls.
100e1c
SERVER_JVMARGS=-Dhsqldb.method_class_names=\"\"