db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David W. Van Couvering" <David.Vancouver...@Sun.COM>
Subject Re: Running 2 Derby instances on 1 JVM, do system properties cut it??
Date Wed, 22 Mar 2006 18:52:20 GMT
Hi, Hiram.  You have hit on an issue that prevents multiple databases 
from being run within the same VM.  This is something we want to fix in 
Derby, but it's a fairly big effort.

As it stands the only way to configure the Derby database home is with 
system properties.  So all uses of Derby within a given VM must access 
the same database home and use the same system-wide configuration.


Hiram Chirino wrote:
> Hi Everybody,
> ActiveMQ makes extensive use of Derby for storage of it's persistent
> messages.  You have have done a great job with Derby!  Thanks for the
> hard work!
> One of the things that ActiveMQ supports is running multiple brokers
> on 1 JVM.  In that case we would actually like to run 2 derby
> instances with different data directories.  It seems that currently we
> have to set the "derby.system.home" to configure where the data files
> should go.  This does not seem to lend itself to supporting multiple
> derby instances with each with it's own data directory.  Is it
> possible to fully configure derby without using System properties??
> --
> Regards,
> Hiram

View raw message