lbehnke / h2database

Automatically exported from code.google.com/p/h2database
0 stars 0 forks source link

Feature Request: System Properties to specify configuration, keystore, datafile locations. #159

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I develop a web application service and wish to use H2 as an embedded 
lightweight DB.  However, 
H2 has an annoying tendency to dump files in the user's home directory, 
specifically 
.h2.server.properties and the keystore file.  The location of these files is 
specified by the user.home 
System property, over which we have no control.  Placing these files outside 
the context of our web 
app make it more difficult to run as a service and more difficult to make the 
web app transportable 
for fail-over or replication.

I would prefer to specify H2-specific System properties that specify the 
locations for the H2 
configuration directory, the keystore directory, and the data store files.   
The default values for 
these properties could still be user.home for compatibility, but it would allow 
us locate these files 
within our web app's WEB-INF directory.

Original issue reported on code.google.com by Brett.Mi...@gmail.com on 20 Jan 2010 at 8:39

GoogleCodeExporter commented 9 years ago
Hi,

There is already a feature request for "Command line option for the H2 Console 
and
TCP configuration (which .h2.server.properties and .h2.keystore to use)" in the
roadmap. I will replace "Command line option" with "System property", and 
increase
the priority.

Original comment by thomas.t...@gmail.com on 23 Jan 2010 at 6:24

GoogleCodeExporter commented 9 years ago
The feature request is now in the roadmap.

Original comment by thomas.t...@gmail.com on 30 Jan 2010 at 3:17