You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "John H. Embretsen (JIRA)" <de...@db.apache.org> on 2006/03/08 11:33:41 UTC

[jira] Commented: (DERBY-1086) Location of derby.properties file

    [ http://issues.apache.org/jira/browse/DERBY-1086?page=comments#action_12369428 ] 

John H. Embretsen commented on DERBY-1086:
------------------------------------------

Please read the following thread from the derby-user mailing list and see if that solves your problem:

http://www.nabble.com/Specifying-the-Derby-Database-Location-t1038003.html

In short, databases do not currently have to be stored in the same directory as the derby.properties file, since you can specify database URLs relative to derby.system.home.

> Location of derby.properties file
> ---------------------------------
>
>          Key: DERBY-1086
>          URL: http://issues.apache.org/jira/browse/DERBY-1086
>      Project: Derby
>         Type: Improvement
>   Components: Unknown
>  Environment: all
>     Reporter: Thorsten Möller
>     Priority: Minor

>
> As with (at least) version 10.1.2.1 the configuration file "derby.properties" must be located in the directory where all databases will be stored. It should be possible to have this file anywhere in the filesystem for flexibility. Most projects which use Derby as one component use a central directory where all configuration files reside. 
> Then, for startup of Derby there has to be a property which tells Derby where to find the properties file, for example "derby.properties.file.path". If that property is not set on startup the system might fall back to the current behaviour, i.e. try to find the properties file in its database directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira