db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren" <m.v.lunte...@gmail.com>
Subject Re: [jira] Commented: (DERBY-2182) Documentation for derby.system.bootAll is missing
Date Tue, 11 Dec 2007 19:11:37 GMT
On 12/11/07, Kim Haase (JIRA) <jira@apache.org> wrote:
>    [ https://issues.apache.org/jira/browse/DERBY-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550674
> Kim Haase commented on DERBY-2182:
> ----------------------------------
> Oops, I just read the Tuning Guide topic that says "Any property except derby.system.home
can be set by including it in the derby.properties file." (http://db.apache.org/derby/docs/dev/tuning/ctunproper51399.html)
> Hm, so do I set it on the java command line? or where?
Yes, on the java command line.
> The documentation on the property itself (http://db.apache.org/derby/docs/dev/tuning/rtunproper32066.html)
does say that the default value is the current directory. So I shouldn't have to set it explicitly
-- but the documentation says I ought to (without saying why -- or how):

You may always set derby.system.home explicitly - but it will be
pointless in a derby.properties file, that's like putting the horse
behind the cart.
First comes the location of derby.system.home - this is "current" dir
(where "current" means, dir indicated by java system property
user.dir)   unless you're passing in -Dderby.system.home=<whatever> to
change it from the default. Whatever is derby.system.home, derby will
look for a derby.properties file in that directory (although derby
will start with default settings if no derby.properties file is
present in the current - or other directory if derby.system.home was

> Default
> Current directory (the value of the JVM system property user.dir).
> If you do not explicitly set the derby.system.home property when starting Derby, the
default is the directory in which Derby was started.
> Note: You should always explicitly set the value of derby.system.home.

View raw message