[ 
https://issues.apache.org/jira/browse/DERBY-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550249
 ] 

Dag H. Wanvik commented on DERBY-2182:
--------------------------------------

Did some more research..

I find that if derby.system.home is explicitly set, autoboot will happen for 
databases located in the directory
pointed to by that property (not if in subdirs tho).  Additionally, any 
databases pointed to with one or more settings of 
derby.service.<dbdir>=serviceDirectory
are also booted at engine boot time.  In my first experiment I did not have 
derby.system.home explicitly
set, hence my observation. I also checked the code to verify this.

derby.database.noAutoBoot  is a static database property. So it can be can be 
set with a call to 

  syscs_util.syscs_set_database_property('derby.database.noAutoBoot', 'true');

If it set to true, that database will not boot, even if that database is 
otherwise determined to be a candidate for autoboot according to the above 
rules.
So, it can be used to exclude some database(s) from the otherwise general rule 
of auto-booting all databases found in derby.system.home and via the 
serviceDirectory method.



> Documentation for derby.system.bootAll is missing
> -------------------------------------------------
>
>                 Key: DERBY-2182
>                 URL: https://issues.apache.org/jira/browse/DERBY-2182
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-2182.diff, DERBY-2182.stat, DERBY-2182.zip
>
>
> This property is not documented in the Tuning Derby guide, but it is referred 
> to 
> in the developer's guide in a couple of places with dangling pointers to the 
> Tuning Guide:
> http://db.apache.org/derby/docs/dev/devguide/cdevdvlp27715.html
> http://db.apache.org/derby/docs/dev/devguide/cdevcsecure60146.html
> http://db.apache.org/derby/docs/dev/devguide/cdevadvjdbc41138.html
> Googling, I find it documented in older Cloudscape docs e.g. in
> http://www.novell.com/documentation/extendas37/docs/help/java/jdkee/cloudscape/doc/html/coredocs/proper42.htm#1014327,
> but not in Cloudscape 10 docs, e.g. 
> http://publib.boulder.ibm.com/infocenter/cldscp10/topic/com.ibm.cloudscape.doc/perf63.htm
> which could indicate it was removed for some reason. So, either we
> should document it anew or remove the references to it. If we decide to keep 
> it, we should also consider
> derby.database.noAutoBoot (not currently documented).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to