dev@glassfish.java.net

Re: db location with "asadmin start-database"

From: Kim Haase <Camilla.Haase_at_Sun.COM>
Date: Wed, 30 Sep 2009 14:57:58 -0400

Did you try specifying the --dbhome option to asadmin start-database?
Type "asadmin start-database --help" for details. Of course that works
on the command line -- I don't know how to do it in NetBeans.

Kim

On 09/30/09 14:30, Bobby Bissett wrote:
> Hi all,
>
> How I can pass derby.system.home to asadmin to not keep my database
> files under the gf_home/javadb directory? NetBeans always passes this
> in, and I'm used to keeping my databases separate from the server.
>
> I'm asking to help people doing upgrade testing (I'll also suggest just
> copying the database folders over from v2/javadb/databases to
> v3/javadb/databases).
>
> Thanks,
> Bobby
>